From: Matt Helsley Date: Sun, 8 Mar 2009 16:09:27 +0000 (+0100) Subject: liblxc: Fix compiler warning X-Git-Tag: lxc_0_6_1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cf586a20a40c9c282ea036dfccafd1a9539f1ee;p=thirdparty%2Flxc.git 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 --- 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