summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index 5cc8452407..1ce09c7e00 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -354,6 +354,7 @@ _alloc_(2, 3) static inline void *realloc_multiply(void *p, size_t a, size_t b)
return realloc(p, a * b);
}
+bool filename_is_valid(const char *p) _pure_;
/**
* Check if a string contains any glob patterns.
*/