Fix up prototype of strtoul() to match POSIX.

This commit is contained in:
Michael Brown
2006-04-30 11:45:38 +00:00
parent 01bd78d62a
commit 8df7e74990
2 changed files with 2 additions and 2 deletions

View File

@@ -166,7 +166,7 @@ int inet_aton ( const char *cp, struct in_addr *inp ) {
return 0;
}
unsigned long strtoul(const char *p, const char **endp, int base)
unsigned long strtoul(const char *p, char **endp, int base)
{
unsigned long ret = 0;
if (base != 10) return 0;