X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/177f020f122827214159c46dcfe7ded1e3c8d1c3..b3d4a4452c332fc3550db3fbdf9e02027b41e985:/sbr/strindex.c?ds=inline diff --git a/sbr/strindex.c b/sbr/strindex.c index ad1d18fe..c92da6ee 100644 --- a/sbr/strindex.c +++ b/sbr/strindex.c @@ -5,7 +5,7 @@ * complete copyright information. */ -#include +#include "h/mh.h" int stringdex (char *p1, char *p2) @@ -17,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; }