]> diplodocus.org Git - nmh/blobdiff - sbr/ssequal.c
Fix invalid pointer arithmetic.
[nmh] / sbr / ssequal.c
index 32edca9c7d244799a83b0dfbc28898bf4866d6aa..7bd30031e38047fb0de75575ea6a707d792ec38e 100644 (file)
@@ -1,8 +1,4 @@
-
-/*
- * ssequal.c -- check if a string is a substring of another
- *
- * $Id$
+/* ssequal.c -- check if a string is a substring of another
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -25,7 +21,7 @@
  */
 
 int
-ssequal (char *s1, char *s2)
+ssequal (const char *s1, const char *s2)
 {
     if (!s1)
        s1 = "";