2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 15:09:28 +00:00

Drop leftover references to lxc_strerror().

lxc_strerror() was dropped long time ago, in 2009 to be exact.

Related commit:
7cee878951

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
This commit is contained in:
Jafar Al-Gharaibeh
2016-10-13 18:35:29 -05:00
parent 414de7212d
commit 4c6f1e88e3
2 changed files with 0 additions and 10 deletions

View 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)

View 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.
*/