mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-08 08:16:20 +00:00
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:
parent
656994bbfa
commit
3cf586a20a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user