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:
parent
01bd78d62a
commit
8df7e74990
@ -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;
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user