X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0a032eea07f6d77ac6ea4d5a39c9491c34358058..86d4dcea853d7e37ff2615b793e3cb5dce7e3af0:/sbr/r1bindex.c diff --git a/sbr/r1bindex.c b/sbr/r1bindex.c index 56f8c6a1..fb4595c0 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. @@ -9,8 +8,10 @@ * complete copyright information. */ -#include +#include "h/mh.h" +#include "r1bindex.h" +/* Does not return NULL. */ char * r1bindex(char *str, int chr) {