]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Drop leftover references to lxc_strerror().
authorJafar Al-Gharaibeh <to.jafar@gmail.com>
Thu, 13 Oct 2016 23:35:29 +0000 (18:35 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 18 Nov 2016 01:32:10 +0000 (20:32 -0500)
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 <to.jafar@gmail.com>
src/lxc/arguments.h
src/lxc/lxc.h

index 609e814c2c0c905c4fee59da6cae109ef3655012..c93016943f5ab98b0cfb580d537e2d4d004bf35e 100644 (file)
@@ -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)
 
index 3da4ff614f681b941d2edf6cfee82ab1cbf6ca57..8d572c8af0de6e24d8b949269b08d5b97f3866a6 100644 (file)
@@ -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.
  */