From 6700ee6cc9a1c5872f179da0e7d16a1b0c35b4ea Mon Sep 17 00:00:00 2001 From: robert Date: Fri, 30 Aug 2002 19:08:53 +0000 Subject: - Update the manual page to show that the associated header file is and not anymore. - Tell the reader about this change in the HISTORY section. - Switch to use an ANSI-C function definition. - Include instead of in the source file. --- lib/libc/string/ffs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/libc/string/ffs.c') 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 __FBSDID("$FreeBSD$"); -#include +#include /* * ffs -- vax ffs instruction */ int -ffs(mask) - int mask; +ffs(int mask) { int bit; -- cgit v1.1