From 3cf586a20a40c9c282ea036dfccafd1a9539f1ee Mon Sep 17 00:00:00 2001 From: Matt Helsley Date: Sun, 8 Mar 2009 17:09:27 +0100 Subject: [PATCH] liblxc: Fix compiler warning The second const qualifier causes gcc to emit a warning. const char * should be sufficient. Signed-off-by: Matt Helsley Signed-off-by: Daniel Lezcano --- src/lxc/lxc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/lxc.h b/src/lxc/lxc.h index 1dd74bb50..f4cec049a 100644 --- a/src/lxc/lxc.h +++ b/src/lxc/lxc.h @@ -172,7 +172,7 @@ extern int lxc_cgroup_get(const char *name, const char *subsystem, * @error : the value of the error * Returns a string on success or NULL otherwise. */ -extern const char *const lxc_strerror(int error); +extern const char *lxc_strerror(int error); /* * Checkpoint a container previously frozen