liblxc: Fix compiler warning

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>
This commit is contained in:
Matt Helsley 2009-03-08 17:09:27 +01:00 committed by Daniel Lezcano
parent 656994bbfa
commit 3cf586a20a

View 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