Commit 1ca09fb3 by Stéphane Graber Committed by GitHub

Merge pull request #1230 from Jafaral/master

Drop leftover references to lxc_strerror().
parents 414de721 4c6f1e88
...@@ -164,8 +164,6 @@ extern int lxc_arguments_parse(struct lxc_arguments *args, ...@@ -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 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) \ #define lxc_error(arg, fmt, args...) if (!(arg)->quiet) \
fprintf(stderr, "%s: " fmt "\n", (arg)->progname, ## args) fprintf(stderr, "%s: " fmt "\n", (arg)->progname, ## args)
......
...@@ -119,14 +119,6 @@ extern int lxc_cgroup_set(const char *filename, const char *value, const char *n ...@@ -119,14 +119,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); 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. * Create and return a new lxccontainer struct.
*/ */
extern struct lxc_container *lxc_container_new(const char *name, const char *configpath); extern struct lxc_container *lxc_container_new(const char *name, const char *configpath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment