use const qualifiers where possible
[paraslash.git] / string.h
index 9fb42b263363b6f2584a7807ad4e7bf1b0f0fc64..bd82fd58b3bda14d73dadb68fd079dbb9f57b1ba 100644 (file)
--- a/string.h
+++ b/string.h
@@ -24,9 +24,9 @@
  */
 struct para_macro {
        /** the name of the macro */
-       char *name;
+       const char *name;
        /** the replacement text */
-       char *replacement;
+       const char *replacement;
 };
 __must_check __malloc void *para_realloc(void *p, size_t size);
 __must_check __malloc void *para_malloc(size_t size);