]> diplodocus.org Git - nmh/blobdiff - h/utils.h
Hoist test of search string for NULL out of loop.
[nmh] / h / utils.h
index edb2ab03d31ca0be32436e8cbdc3fa1cf62a7e2b..db563cb4568f21b13a4b7b72d3b2a75b583c97db 100644 (file)
--- a/h/utils.h
+++ b/h/utils.h
@@ -63,6 +63,7 @@ char *find_str (const char [], size_t, const char *);
 char *rfind_str (const char [], size_t, const char *);
 char *nmh_strcasestr (const char *, const char *);
 
+bool EndsWithC(char *s, int c);
 void TrimSuffixC(char *s, int c);
 
 /*