summaryrefslogtreecommitdiff
path: root/src/fnmatch
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-13 13:48:50 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-13 13:48:50 -0400
commit489bef2ace3c3c617f5bf78ded45a5b81fe2fd46 (patch)
treef7df0cd2678ebe868356e9a00952555a28a75214 /src/fnmatch
parent3e282018ffb5806cafafeb5d0d6f8d67c9bb86e8 (diff)
add src/ to -I and exorcise ../ from #include
Diffstat (limited to 'src/fnmatch')
-rw-r--r--src/fnmatch/fnmatch.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fnmatch/fnmatch.c b/src/fnmatch/fnmatch.c
index 97c17071..09559c96 100644
--- a/src/fnmatch/fnmatch.c
+++ b/src/fnmatch/fnmatch.c
@@ -1,8 +1,11 @@
#include <fnmatch.h>
-#include "../_assert.h"
+#include "_assert.h"
int fnmatch(const char * pattern, const char * string, int flags)
{
+ (void)pattern;
+ (void)string;
+ (void)flags;
ASSERT_NONNULL(pattern);
ASSERT_NONNULL(string);
/* __ASSERT_FLAGS(flags, FNM_PATHNAME | FNM_NOESCAPE | FNM_PERIOD); */