X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fstrindex.c;h=92245b2faf648420dfabbc8827bdee5b018a87b2;hp=51cbe7c61cbe731fbec63fec45fa0a591b108359;hb=a485ed478abbd599d8c9aab48934e7a26733ecb1;hpb=6c42153ad9362cc676ea66563bf400d7511b3b68 diff --git a/sbr/strindex.c b/sbr/strindex.c index 51cbe7c..92245b2 100644 --- a/sbr/strindex.c +++ b/sbr/strindex.c @@ -1,9 +1,6 @@ - /* * strindex.c -- "unsigned" lexical index * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -14,14 +11,14 @@ int stringdex (char *p1, char *p2) { - char *p; + char *p; - if (p1 == NULL || p2 == NULL) - return -1; + if (p1 == NULL || p2 == NULL) + return -1; - for (p = p2; *p; p++) - if (uprf (p, p1)) - return (p - p2); + for (p = p2; *p; p++) + if (uprf (p, p1)) + return (p - p2); - return -1; + return -1; }