Commit af28b82b by Jafar Al-Gharaibeh Committed by Stéphane Graber

Drop leftover references to lxc_strerror().

lxc_strerror() was dropped long time ago, in 2009 to be exact. Related commit: https://github.com/lxc/lxc/commit/7cee8789514fb42d6a48d50b904e24284f5526e3Signed-off-by: 's avatarJafar Al-Gharaibeh <to.jafar@gmail.com>
parent 5d4c9e5f
...@@ -121,8 +121,6 @@ extern int lxc_arguments_parse(struct lxc_arguments *args, ...@@ -121,8 +121,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 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) \ #define lxc_error(arg, fmt, args...) if (!(arg)->quiet) \
fprintf(stderr, "%s: " fmt "\n", (arg)->progname, ## args) fprintf(stderr, "%s: " fmt "\n", (arg)->progname, ## args)
......
...@@ -115,14 +115,6 @@ extern int lxc_cgroup_set(const char *filename, const char *value, const char *n ...@@ -115,14 +115,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); 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. * Create and return a new lxccontainer struct.
*/ */
extern struct lxc_container *lxc_container_new(const char *name, const char *configpath); extern struct lxc_container *lxc_container_new(const char *name, const char *configpath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment