mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
lib, net: make isodigit() public and use it
There are at least two users of isodigit(). Let's make it a public function of ctype.h. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
095d141b2e
commit
2e0fb404c8
@@ -281,7 +281,6 @@ static inline int parse_lineno(const char *str, unsigned int *val)
|
||||
* allow the user to express a query which matches a format
|
||||
* containing embedded spaces.
|
||||
*/
|
||||
#define isodigit(c) ((c) >= '0' && (c) <= '7')
|
||||
static char *unescape(char *str)
|
||||
{
|
||||
char *in = str;
|
||||
|
Reference in New Issue
Block a user