]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
liblxc: Fix compiler warning
authorMatt Helsley <matthltc@us.ibm.com>
Sun, 8 Mar 2009 16:09:27 +0000 (17:09 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Sun, 8 Mar 2009 16:09:27 +0000 (17:09 +0100)
The second const qualifier causes gcc to emit a warning. const char *
should be sufficient.

Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc.h

index 1dd74bb507366c6f08072dcbfe57baaa482dfccd..f4cec049a345664de04160810f56b476b29fbe9a 100644 (file)
@@ -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