diff options
Diffstat (limited to 'crawl-ref/source/libutil.h')
-rw-r--r-- | crawl-ref/source/libutil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h index 4eed5ab7a7..b359bfb304 100644 --- a/crawl-ref/source/libutil.h +++ b/crawl-ref/source/libutil.h @@ -26,6 +26,8 @@ bool ends_with(const std::string &s, const std::string &suffix); std::string pluralise(const std::string &name, const char *no_of[] = NULL); +bool shell_safe(const char *file); + /** * Returns 1 + the index of the first suffix that matches the given string, * 0 if no suffixes match. |