mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 23:32:39 +00:00
Supporting infrastructure for brltty
This commit is contained in:
1 parent
16fba4d65d
commit
e79b5f2678
63 files changed
+2196
-256
No files matched your search
@@ -0,0 +1,10 @@
|
||||
|
||||
static inline int
|
||||
ffs (int i)
|
||||
{
|
||||
unsigned j;
|
||||
for (j = 0; j < sizeof (i) * 8; j++)
|
||||
if (i & (1 << j))
|
||||
return j + 1;
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user