From 4c6f1e88e322a92acd7f74a58354eefbe7ea4985 Mon Sep 17 00:00:00 2001 From: Jafar Al-Gharaibeh Date: Thu, 13 Oct 2016 18:35:29 -0500 Subject: [PATCH] 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 --- src/lxc/arguments.h | 2 -- src/lxc/lxc.h | 8 -------- 2 files changed, 10 deletions(-) diff --git a/src/lxc/arguments.h b/src/lxc/arguments.h index 39bedf566..78337485d 100644 --- a/src/lxc/arguments.h +++ b/src/lxc/arguments.h @@ -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) diff --git a/src/lxc/lxc.h b/src/lxc/lxc.h index a9fa80e6a..c6182d4e6 100644 --- a/src/lxc/lxc.h +++ b/src/lxc/lxc.h @@ -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. */ -- 2.47.2