X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0a032eea07f6d77ac6ea4d5a39c9491c34358058..06efa573c7894caa4e5aa1ac7c64bd10ea25928b:/sbr/r1bindex.c diff --git a/sbr/r1bindex.c b/sbr/r1bindex.c index 56f8c6a1..0fd8d51d 100644 --- a/sbr/r1bindex.c +++ b/sbr/r1bindex.c @@ -1,5 +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. @@ -11,6 +10,7 @@ #include +/* Does not return NULL. */ char * r1bindex(char *str, int chr) {