From 8662fdc44ca56b18bfd7266d27156d858b435973 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 15 Aug 2020 13:34:07 -0400 Subject: silence warnings --- src/wordexp/wordexp.c | 3 +++ src/wordexp/wordfree.c | 2 ++ 2 files changed, 5 insertions(+) (limited to 'src') diff --git a/src/wordexp/wordexp.c b/src/wordexp/wordexp.c index 4a81db03..b981275a 100644 --- a/src/wordexp/wordexp.c +++ b/src/wordexp/wordexp.c @@ -3,6 +3,9 @@ int wordexp(const char *restrict words, wordexp_t *restrict pwordexp, int flags) { + (void)words; + (void)pwordexp; + (void)flags; return 0; } diff --git a/src/wordexp/wordfree.c b/src/wordexp/wordfree.c index 096de4be..4bf8ea16 100644 --- a/src/wordexp/wordfree.c +++ b/src/wordexp/wordfree.c @@ -1,8 +1,10 @@ #include "sys/types.h" #include +#include "stdlib.h" void wordfree(wordexp_t *pwordexp) { + free(pwordexp); } /* -- cgit v1.2.1