Skip to content

Commit

Permalink
Drop leftover references to lxc_strerror().
Browse files Browse the repository at this point in the history
lxc_strerror() was dropped long time ago, in 2009 to be exact.

Related commit:
7cee878

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
  • Loading branch information
Jafaral committed Oct 13, 2016
1 parent 414de72 commit 4c6f1e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/lxc/arguments.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ extern int lxc_arguments_parse(struct lxc_arguments *args,

extern int lxc_arguments_str_to_int(struct lxc_arguments *args, const char *str);

extern const char *lxc_strerror(int errnum);

#define lxc_error(arg, fmt, args...) if (!(arg)->quiet) \
fprintf(stderr, "%s: " fmt "\n", (arg)->progname, ## args)

Expand Down
8 changes: 0 additions & 8 deletions src/lxc/lxc.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,6 @@ extern int lxc_cgroup_set(const char *filename, const char *value, const char *n
*/
extern int lxc_cgroup_get(const char *filename, char *value, size_t len, const char *name, const char *lxcpath);

/*
* Retrieve the error string associated with the error returned by
* the function.
* @error : the value of the error
* Returns a string on success or NULL otherwise.
*/
extern const char *lxc_strerror(int error);

/*
* Create and return a new lxccontainer struct.
*/
Expand Down

0 comments on commit 4c6f1e8

Please sign in to comment.