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);
305
305
int strcmp (const char * str1 , const char * str2 );
306
306
int strncmp (const char * cs , const char * ct , size_t count );
307
307
size_t strnlen (const char * s , size_t maxlen );
308
- unsigned int atou (const char * s );
309
308
unsigned long long simple_strtoull (const char * cp , char * * endp , unsigned int base );
310
309
size_t strlen (const char * s );
311
310
char * 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)
88
88
return (es - s );
89
89
}
90
90
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
-
99
91
/* Works only for digits and letters, but small and fast */
100
92
#define TOLOWER (x ) ((x) | 0x20)
101
93
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ extern size_t strlen(const char *s);
24
24
extern char * strstr (const char * s1 , const char * s2 );
25
25
extern char * strchr (const char * s , int c );
26
26
extern size_t strnlen (const char * s , size_t maxlen );
27
- extern unsigned int atou (const char * s );
28
27
extern unsigned long long simple_strtoull (const char * cp , char * * endp ,
29
28
unsigned int base );
30
29
long simple_strtol (const char * cp , char * * endp , unsigned int base );
You can’t perform that action at this time.
0 commit comments