]> git.notmuchmail.org Git - notmuch/blobdiff - util/string-util.h
database: move striping of trailing '/' into helper function
[notmuch] / util / string-util.h
index 87917b8fd279de6e07f2fb919429fb50512a85b4..97770614adf1ab6930e529cd148dea47c71547f6 100644 (file)
@@ -75,6 +75,8 @@ int strcase_equal (const void *a, const void *b);
 /* GLib GHashFunc compatible case insensitive hash function */
 unsigned int strcase_hash (const void *ptr);
 
+void strip_trailing (char *str, char ch);
+
 #ifdef __cplusplus
 }
 #endif