]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Avoid name clash with builtin isdigit().
authorNicholas Nethercote <njn@valgrind.org>
Sun, 13 Mar 2005 18:49:00 +0000 (18:49 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sun, 13 Mar 2005 18:49:00 +0000 (18:49 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3344

coregrind/vg_stabs.c

index fdc00c68be31d18fe465ddf8e27dbc43cd762de3..7c10861155335393bcb352d87835d2b35dcf6978 100644 (file)
@@ -311,7 +311,7 @@ static StabType *getStabType(StabTypeTab *tab, Int file, Int sym)
    return &sf->types[sym];
 }
 
-static Bool isdigit(Char c, Int base, Int *vp)
+static Bool isdigit_base(Char c, Int base, Int *vp)
 {
    Bool ret = False;
    Int v = 0;
@@ -382,7 +382,7 @@ static Int atoi(Char **pp, Int base)
    if (base == 0)
       base = getbase(&p);
 
-   while(isdigit(*p, base, &v)) {
+   while(isdigit_base(*p, base, &v)) {
       ret *= base;
       ret += v;
       p++;
@@ -403,7 +403,7 @@ static UInt atou(Char **pp, Int base)
    if (base == 0)
       base = getbase(&p);
 
-   while(isdigit(*p, base, &v)) {
+   while(isdigit_base(*p, base, &v)) {
       ret *= base;
       ret += v;
       p++;