diff options
author | robert <robert@FreeBSD.org> | 2002-08-30 19:08:53 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2002-08-30 19:08:53 +0000 |
commit | 6700ee6cc9a1c5872f179da0e7d16a1b0c35b4ea (patch) | |
tree | 60d3aa23dc3bac361b836666813fc869948bf35e /lib/libc/string/ffs.c | |
parent | d034a1281c6375b80d2e8cfbfbcba4564d125f2b (diff) | |
download | FreeBSD-src-6700ee6cc9a1c5872f179da0e7d16a1b0c35b4ea.zip FreeBSD-src-6700ee6cc9a1c5872f179da0e7d16a1b0c35b4ea.tar.gz |
- Update the manual page to show that the associated header file
is <strings.h> and not <string.h> anymore.
- Tell the reader about this change in the HISTORY section.
- Switch to use an ANSI-C function definition.
- Include <strings.h> instead of <string.h> in the source file.
Diffstat (limited to 'lib/libc/string/ffs.c')
-rw-r--r-- | lib/libc/string/ffs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/string/ffs.c b/lib/libc/string/ffs.c index 14985a4..f08e0d1 100644 --- a/lib/libc/string/ffs.c +++ b/lib/libc/string/ffs.c @@ -37,14 +37,13 @@ static char sccsid[] = "@(#)ffs.c 8.1 (Berkeley) 6/4/93"; #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#include <string.h> +#include <strings.h> /* * ffs -- vax ffs instruction */ int -ffs(mask) - int mask; +ffs(int mask) { int bit; |