The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/1230

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
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.ja...@gmail.com>
From 4c6f1e88e322a92acd7f74a58354eefbe7ea4985 Mon Sep 17 00:00:00 2001
From: Jafar Al-Gharaibeh <to.ja...@gmail.com>
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 <to.ja...@gmail.com>
---
 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 39bedf5..7833748 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 a9fa80e..c6182d4 100644
--- a/src/lxc/lxc.h
+++ b/src/lxc/lxc.h
@@ -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);
 
 /*
- * 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.
  */
 extern struct lxc_container *lxc_container_new(const char *name, const char 
*configpath);
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to