summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wordexp/wordexp.c3
-rw-r--r--src/wordexp/wordfree.c2
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);
}
/*