]> diplodocus.org Git - nmh/blobdiff - sbr/r1bindex.c
uip: Replace some ints that are only ever 0 or 1 with bool.
[nmh] / sbr / r1bindex.c
index b4ad0e8f9e0049693967b4623dd9fc2f5ae0b583..0fd8d51d0e96f21f7f2b32af15d6e4ba54f9dc20 100644 (file)
@@ -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 <h/mh.h>
 
+/* Does not return NULL. */
 char *
 r1bindex(char *str, int chr)
 {