summaryrefslogtreecommitdiff
path: root/src/wordexp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wordexp')
-rw-r--r--src/wordexp/wordexp.c2
-rw-r--r--src/wordexp/wordfree.c4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/wordexp/wordexp.c b/src/wordexp/wordexp.c
index b981275a..428d0783 100644
--- a/src/wordexp/wordexp.c
+++ b/src/wordexp/wordexp.c
@@ -1,4 +1,3 @@
-#include "sys/types.h"
#include <wordexp.h>
int wordexp(const char *restrict words, wordexp_t *restrict pwordexp, int flags)
@@ -12,4 +11,3 @@ int wordexp(const char *restrict words, wordexp_t *restrict pwordexp, int flags)
/*
POSIX(2)
*/
-
diff --git a/src/wordexp/wordfree.c b/src/wordexp/wordfree.c
index 4bf8ea16..0568f261 100644
--- a/src/wordexp/wordfree.c
+++ b/src/wordexp/wordfree.c
@@ -1,6 +1,5 @@
-#include "sys/types.h"
#include <wordexp.h>
-#include "stdlib.h"
+#include <stdlib.h>
void wordfree(wordexp_t *pwordexp)
{
@@ -10,4 +9,3 @@ void wordfree(wordexp_t *pwordexp)
/*
POSIX(2)
*/
-