mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-11-27 05:20:50 +00:00
libsemanage: mark local functions static
utilities.c:295:18: warning: no previous prototype for ‘list_addafter_controlmem’ [-Wmissing-prototypes] 295 | semanage_list_t *list_addafter_controlmem(semanage_list_t * item, char *data) | ^~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
This commit is contained in:
parent
0fd5d05f4c
commit
1927c1dfcc
@ -292,7 +292,7 @@ char *semanage_str_replace(const char *search, const char *replace,
|
||||
*
|
||||
* returns the newly created node or NULL on error
|
||||
*/
|
||||
semanage_list_t *list_addafter_controlmem(semanage_list_t * item, char *data)
|
||||
static semanage_list_t *list_addafter_controlmem(semanage_list_t * item, char *data)
|
||||
{
|
||||
semanage_list_t *temp = malloc(sizeof(semanage_list_t));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user