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:
Christian Göttsche 2021-11-12 16:41:59 +01:00 committed by James Carter
parent 0fd5d05f4c
commit 1927c1dfcc

View File

@ -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));