diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-15 13:34:07 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-15 13:34:07 -0400 |
| commit | 8662fdc44ca56b18bfd7266d27156d858b435973 (patch) | |
| tree | f434af3d07c65cd548224fade0d8ff1fd6531469 /src/wordexp | |
| parent | 73b86f3cf5c14031ad8e786f75025b4f5a790993 (diff) | |
silence warnings
Diffstat (limited to 'src/wordexp')
| -rw-r--r-- | src/wordexp/wordexp.c | 3 | ||||
| -rw-r--r-- | src/wordexp/wordfree.c | 2 |
2 files changed, 5 insertions, 0 deletions
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 <wordexp.h> +#include "stdlib.h" void wordfree(wordexp_t *pwordexp) { + free(pwordexp); } /* |
