]> diplodocus.org Git - nmh/blobdiff - sbr/smatch.c
Replace `if (p) free(p)' with `mh_xfree(p)'.
[nmh] / sbr / smatch.c
index 4d1d3d6..8ec6e3f 100644 (file)
 
 
 int
-smatch(char *string, struct swit *swp)
+smatch(const char *string, const struct swit *swp)
 {
-    char *sp, *tcp;
+    const char *sp, *tcp;
     int firstone, len;
-    struct swit *tp;
+    const struct swit *tp;
 
     firstone = UNKWNSW;