summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-12-20 10:00:36 -0500
committerAnthony G. Basile <blueness@gentoo.org>2014-12-20 10:00:36 -0500
commitc74cee5a9bf6cbf033d230a448cf606e910a3a9b (patch)
treebbc268958b6b6e686323ffab48233d28452e4416 /src/shared/util.h
parent4ccd9baa59b24ae700ccf39e01dbf36214e48a5f (diff)
src/shared/util.c: fix tempfn_xxxxxx()
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
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.
*/