summaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2013-04-30 01:18:11 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-30 03:28:19 +0200
commit2e0fb404c86d6c86dc33e284310eb5d28d192dcf (patch)
treec75a1dd1cab54473d3174aa00fc49d18deabfa5e /lib/dynamic_debug.c
parentargv_split(): teach it to handle mutable strings (diff)
downloadlinux-2e0fb404c86d6c86dc33e284310eb5d28d192dcf.tar.xz
linux-2e0fb404c86d6c86dc33e284310eb5d28d192dcf.zip
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>
Diffstat (limited to 'lib/dynamic_debug.c')
-rw-r--r--lib/dynamic_debug.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c
index 5276b99ca650..46032453abd5 100644
--- a/lib/dynamic_debug.c
+++ b/lib/dynamic_debug.c
@@ -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;