]> granicus.if.org Git - graphviz/commitdiff
remove isxdigit shim
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 12 Aug 2021 01:23:56 +0000 (18:23 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 14 Aug 2021 00:27:59 +0000 (17:27 -0700)
This function is defined everywhere as far back as ISO C89.

lib/ast/strmatch.c

index 882c0b5c12f0dd68f8dd1ad3c77a635cd06011e5..b99918c9e615b19595b35fdbb611b8fa5e497bc0 100644 (file)
@@ -138,10 +138,6 @@ typedef struct {
 #define mbgetchar(p)   (*p++)
 #endif
 
-#ifndef isxdigit
-#define isxdigit(c)    (((c)>='0'&&(c)<='9')||((c)>='a'&&(c)<='f')||((c)>='A'&&(c)<='F'))
-#endif
-
 #define getsource(s,e) (((s)>=(e))?0:mbgetchar(s))
 
 /*