File tree Expand file tree Collapse file tree 3 files changed +0
-10
lines changed
Expand file tree Collapse file tree 3 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,6 @@ void initregs(struct biosregs *regs);
305305int strcmp (const char * str1 , const char * str2 );
306306int strncmp (const char * cs , const char * ct , size_t count );
307307size_t strnlen (const char * s , size_t maxlen );
308- unsigned int atou (const char * s );
309308unsigned long long simple_strtoull (const char * cp , char * * endp , unsigned int base );
310309size_t strlen (const char * s );
311310char * strchr (const char * s , int c );
Original file line number Diff line number Diff line change @@ -88,14 +88,6 @@ size_t strnlen(const char *s, size_t maxlen)
8888 return (es - s );
8989}
9090
91- unsigned int atou (const char * s )
92- {
93- unsigned int i = 0 ;
94- while (isdigit (* s ))
95- i = i * 10 + (* s ++ - '0' );
96- return i ;
97- }
98-
9991/* Works only for digits and letters, but small and fast */
10092#define TOLOWER (x ) ((x) | 0x20)
10193
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ extern size_t strlen(const char *s);
2424extern char * strstr (const char * s1 , const char * s2 );
2525extern char * strchr (const char * s , int c );
2626extern size_t strnlen (const char * s , size_t maxlen );
27- extern unsigned int atou (const char * s );
2827extern unsigned long long simple_strtoull (const char * cp , char * * endp ,
2928 unsigned int base );
3029long simple_strtol (const char * cp , char * * endp , unsigned int base );
You can’t perform that action at this time.
0 commit comments