Message ID | 20211112154201.78217-10-cgzones@googlemail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [01/12] checkpolicy: use correct unsigned format specifiers | expand |
diff --git a/libsemanage/src/utilities.c b/libsemanage/src/utilities.c index fc5a6a51..fdbb8ad6 100644 --- a/libsemanage/src/utilities.c +++ b/libsemanage/src/utilities.c @@ -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));
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> --- libsemanage/src/utilities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)