]> git.lizzy.rs Git - nothing.git/blobdiff - src/str.h
(#108) remove dead code
[nothing.git] / src / str.h
index 21cc8b1ad3c2bee3b65c5bc5fad5692aecb82aa9..b780bc220c12dc503de718f4234a10a53e2decf9 100644 (file)
--- a/src/str.h
+++ b/src/str.h
@@ -1,7 +1,13 @@
 #ifndef STR_H_
 #define STR_H_
 
+#define STRINGIFY(x) STRINGIFY2(x)
+#define STRINGIFY2(x) #x
+
 char *string_duplicate(const char *str,
                        const char *str_end);
+char *string_append(char *prefix,
+                    const char *suffix);
+char *trim_endline(char *s);
 
 #endif  // STR_H_