X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/106540f53db1a9b8d72f5392c343b9582a445044..06efa573c7894caa4e5aa1ac7c64bd10ea25928b:/sbr/r1bindex.c diff --git a/sbr/r1bindex.c b/sbr/r1bindex.c index b4ad0e8f..0fd8d51d 100644 --- a/sbr/r1bindex.c +++ b/sbr/r1bindex.c @@ -1,6 +1,4 @@ - -/* - * r1bindex.c -- Given a string and a character, return a pointer +/* r1bindex.c -- Given a string and a character, return a pointer * -- to the right of the rightmost occurrence of the * -- character. If the character doesn't occur, the * -- pointer will be at the beginning of the string. @@ -12,6 +10,7 @@ #include +/* Does not return NULL. */ char * r1bindex(char *str, int chr) {