Loading...
--- xnu/xnu-201/iokit/Kernel/IOStringFuncs.c
+++ xnu/xnu-792.25.20/iokit/Kernel/IOStringFuncs.c
@@ -71,7 +71,6 @@
#include <limits.h>
*/
#include <sys/types.h>
-#include <stddef.h>
#include <machine/limits.h>
typedef int BOOL;
@@ -358,11 +357,10 @@
* Ignores `locale' stuff. Assumes that the upper and lower case
* alphabets and digits are each contiguous.
*/
-u_quad_t
-strtouq(nptr, endptr, base)
- const char *nptr;
- char **endptr;
- register int base;
+uint64_t
+strtouq(const char *nptr,
+ char **endptr,
+ register int base)
{
register const char *s = nptr;
register u_quad_t acc;