Commit 3cf586a2 by Matt Helsley Committed by Daniel Lezcano

liblxc: Fix compiler warning

The second const qualifier causes gcc to emit a warning. const char * should be sufficient. Signed-off-by: 's avatarMatt Helsley <matthltc@us.ibm.com> Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 656994bb
...@@ -172,7 +172,7 @@ extern int lxc_cgroup_get(const char *name, const char *subsystem, ...@@ -172,7 +172,7 @@ extern int lxc_cgroup_get(const char *name, const char *subsystem,
* @error : the value of the error * @error : the value of the error
* Returns a string on success or NULL otherwise. * 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 * Checkpoint a container previously frozen
......
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