summaryrefslogtreecommitdiff
path: root/src/shared/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/path.c')
-rw-r--r--src/shared/path.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/shared/path.c b/src/shared/path.c
index 9d2eda3..175796f 100644
--- a/src/shared/path.c
+++ b/src/shared/path.c
@@ -1,10 +1,8 @@
+#include <assert.h>
#include <camellia/path.h>
#include <shared/mem.h>
#include <stdbool.h>
-// TODO shared assert
-#define assert(...)
-
int path_simplify(const char *in, char *out, size_t len) {
if (len == 0) return -1; // empty paths are invalid
if (in[0] != '/') return -1; // so are relative paths