From faf7c925fe6603c37d7a3b1dba77c1f70ebb8491 Mon Sep 17 00:00:00 2001 From: leitner Date: Mon, 5 Feb 2001 21:20:59 +0000 Subject: [PATCH] comments and prototypes disagree on parameter naming --- str.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/str.h b/str.h index 0b757ee..749def1 100644 --- a/str.h +++ b/str.h @@ -31,10 +31,10 @@ extern int str_diffn(const char *a,const char *b,unsigned int limit) __THROW __p /* str_len returns the index of \0 in s */ extern unsigned int str_len(const char *s) __THROW __pure__; -/* str_chr returns the index of the first occurance of needle or \0 in s */ +/* str_chr returns the index of the first occurance of needle or \0 in haystack */ extern unsigned int str_chr(const char *haystack,char needle) __THROW __pure__; -/* str_rchr returns the index of the last occurance of needle or \0 in s */ +/* str_rchr returns the index of the last occurance of needle or \0 in haystack */ extern unsigned int str_rchr(const char *haystack,char needle) __THROW __pure__; /* str_start returns 1 if the b is a prefix of a, 0 otherwise */