summaryrefslogtreecommitdiffstats
path: root/newlib/libc/misc/ffs.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/misc/ffs.c')
-rw-r--r--newlib/libc/misc/ffs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/newlib/libc/misc/ffs.c b/newlib/libc/misc/ffs.c
index e4afe7a41..292ffabee 100644
--- a/newlib/libc/misc/ffs.c
+++ b/newlib/libc/misc/ffs.c
@@ -24,9 +24,11 @@ PORTABILITY
No supporting OS subroutines are required. */
+#include <_ansi.h>
+
int
-ffs (word)
- int word;
+_DEFUN(ffs, (word),
+ int word)
{
int i;