Emery Hemingway
bf8b52ec3a
This release candidate suppresses the remaining build warnings. Ref #2335
16 lines
242 B
C
16 lines
242 B
C
#ifndef _LWIP__INCLUDE__STDLIB_H_
|
|
#define _LWIP__INCLUDE__STDLIB_H_
|
|
|
|
/**
|
|
* Simple atoi for LwIP purposes
|
|
*/
|
|
static inline int atoi(char const *s)
|
|
{
|
|
int n = 0;
|
|
while ('0' <= *s && *s <= '9')
|
|
n = 10*n - (*s++ - '0');
|
|
return n;
|
|
}
|
|
|
|
#endif
|