2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-26 03:09:12 +00:00

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;

View File

@ -1,6 +1,6 @@
#ifndef STDLIB_H
#define STDLIB_H
extern unsigned long strtoul ( const char *p, const char **endp, int base );
extern unsigned long strtoul ( const char *p, char **endp, int base );
#endif /* STDLIB_H */