From: Jafar Al-Gharaibeh Date: Thu, 13 Oct 2016 23:35:29 +0000 (-0500) Subject: Drop leftover references to lxc_strerror(). X-Git-Tag: lxc-1.0.9~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af28b82badc101f72e2abffaaf98edb2ddf4ddf3;p=thirdparty%2Flxc.git 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/7cee8789514fb42d6a48d50b904e24284f5526e3 Signed-off-by: Jafar Al-Gharaibeh --- diff --git a/src/lxc/arguments.h b/src/lxc/arguments.h index 609e814c2..c93016943 100644 --- a/src/lxc/arguments.h +++ b/src/lxc/arguments.h @@ -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 const char *lxc_strerror(int errnum); - #define lxc_error(arg, fmt, args...) if (!(arg)->quiet) \ fprintf(stderr, "%s: " fmt "\n", (arg)->progname, ## args) diff --git a/src/lxc/lxc.h b/src/lxc/lxc.h index 3da4ff614..8d572c8af 100644 --- a/src/lxc/lxc.h +++ b/src/lxc/lxc.h @@ -114,14 +114,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. */