X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6c42153ad9362cc676ea66563bf400d7511b3b68..4d0110006d4e72f82fb597f170c7d9991f2ca0bf:/sbr/strindex.c?ds=sidebyside diff --git a/sbr/strindex.c b/sbr/strindex.c index 51cbe7c6..b2bc9ff9 100644 --- a/sbr/strindex.c +++ b/sbr/strindex.c @@ -1,8 +1,4 @@ - -/* - * strindex.c -- "unsigned" lexical index - * - * $Id$ +/* strindex.c -- "unsigned" lexical index * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -21,7 +17,7 @@ stringdex (char *p1, char *p2) for (p = p2; *p; p++) if (uprf (p, p1)) - return (p - p2); + return p - p2; return -1; }