ANSIfy, de-register, replace VAX reference with actual description.
This commit is contained in:
parent
2d6853a650
commit
53546cd058
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124479
@ -37,17 +37,16 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/libkern.h>
|
||||
|
||||
/*
|
||||
* ffs -- vax ffs instruction
|
||||
* Find First Set bit
|
||||
*/
|
||||
int
|
||||
ffs(mask)
|
||||
register int mask;
|
||||
ffs(int mask)
|
||||
{
|
||||
register int bit;
|
||||
int bit;
|
||||
|
||||
if (mask == 0)
|
||||
return(0);
|
||||
return (0);
|
||||
for (bit = 1; !(mask & 1); bit++)
|
||||
mask >>= 1;
|
||||
return(bit);
|
||||
return (bit);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user