]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Drop leftover references to lxc_strerror(). 1230/head
authorJafar Al-Gharaibeh <to.jafar@gmail.com>
Thu, 13 Oct 2016 23:35:29 +0000 (18:35 -0500)
committerJafar Al-Gharaibeh <to.jafar@gmail.com>
Thu, 13 Oct 2016 23:35:29 +0000 (18:35 -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 39bedf566dbe8e4361364f65c98cfaff73a93e8d..78337485d3dd1857dc20f75e46c1fa02d4e9e081 100644 (file)
@@ -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)
 
index a9fa80e6abd89f493e2695f00dc681259d3b1a5e..c6182d4e6cd12e2d7551fc3711164e32d0f256c5 100644 (file)
@@ -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.
  */