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>
This commit is contained in:
@@ -315,6 +315,7 @@ static inline int has_extension(const char *filename, const char *ext)
|
||||
#undef isascii
|
||||
#undef isspace
|
||||
#undef isdigit
|
||||
#undef isxdigit
|
||||
#undef isalpha
|
||||
#undef isprint
|
||||
#undef isalnum
|
||||
@@ -332,6 +333,8 @@ extern unsigned char sane_ctype[256];
|
||||
#define isascii(x) (((x) & ~0x7f) == 0)
|
||||
#define isspace(x) sane_istest(x,GIT_SPACE)
|
||||
#define isdigit(x) sane_istest(x,GIT_DIGIT)
|
||||
#define isxdigit(x) \
|
||||
(sane_istest(toupper(x), GIT_ALPHA | GIT_DIGIT) && toupper(x) < 'G')
|
||||
#define isalpha(x) sane_istest(x,GIT_ALPHA)
|
||||
#define isalnum(x) sane_istest(x,GIT_ALPHA | GIT_DIGIT)
|
||||
#define isprint(x) sane_istest(x,GIT_PRINT)
|
||||
|
Reference in New Issue
Block a user