-extern int ffs(int);
-extern u_int32_t random(void);
-extern int scanc(u_int, u_char *, const u_char *, int);
-extern int skpc(int, int, char *);
-extern long strtol(const char*, char **, int);
-extern u_long strtoul(const char *, char **, int);
-extern quad_t strtoq(const char *, char **, int);
+extern int ffs(unsigned int);
+extern int ffsll(unsigned long long);
+extern int fls(unsigned int);
+extern int flsll(unsigned long long);
+extern u_int32_t random(void);
+extern int scanc(u_int, u_char *, const u_char *, int);
+extern int skpc(int, int, char *);
+extern long strtol(const char*, char **, int);
+extern u_long strtoul(const char *, char **, int);
+extern quad_t strtoq(const char *, char **, int);