aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/util.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-11-17 04:16:43 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-17 04:17:47 -0500
commita7b63425a41cd6a8d50f76fef0660c5110f97e91 (patch)
treebe17ee121f1c8814d8d39c9f3e0205d9397fab54 /tools/perf/util/util.h
parent35039eb6b199749943547c8572be6604edf00229 (diff)
parent3726cc75e581c157202da93bb2333cce25c15c98 (diff)
Merge branch 'perf/core' into perf/probes
Resolved merge conflict in tools/perf/Makefile Merge reason: we want to queue up a dependent patch. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/util.h')
-rw-r--r--tools/perf/util/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h
index 0daa341734f9..f2203a0946bc 100644
--- a/tools/perf/util/util.h
+++ b/tools/perf/util/util.h
@@ -315,6 +315,7 @@ static inline int has_extension(const char *filename, const char *ext)
315#undef isascii 315#undef isascii
316#undef isspace 316#undef isspace
317#undef isdigit 317#undef isdigit
318#undef isxdigit
318#undef isalpha 319#undef isalpha
319#undef isprint 320#undef isprint
320#undef isalnum 321#undef isalnum
@@ -332,6 +333,8 @@ extern unsigned char sane_ctype[256];
332#define isascii(x) (((x) & ~0x7f) == 0) 333#define isascii(x) (((x) & ~0x7f) == 0)
333#define isspace(x) sane_istest(x,GIT_SPACE) 334#define isspace(x) sane_istest(x,GIT_SPACE)
334#define isdigit(x) sane_istest(x,GIT_DIGIT) 335#define isdigit(x) sane_istest(x,GIT_DIGIT)
336#define isxdigit(x) \
337 (sane_istest(toupper(x), GIT_ALPHA | GIT_DIGIT) && toupper(x) < 'G')
335#define isalpha(x) sane_istest(x,GIT_ALPHA) 338#define isalpha(x) sane_istest(x,GIT_ALPHA)
336#define isalnum(x) sane_istest(x,GIT_ALPHA | GIT_DIGIT) 339#define isalnum(x) sane_istest(x,GIT_ALPHA | GIT_DIGIT)
337#define isprint(x) sane_istest(x,GIT_PRINT) 340#define isprint(x) sane_istest(x,GIT_PRINT)