OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f575494
)
perf color: Add missing stdarg.g to color.h
author
Arnaldo Carvalho de Melo
<acme@redhat.com>
Fri, 25 Jan 2019 14:11:08 +0000
(15:11 +0100)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Fri, 25 Jan 2019 14:12:08 +0000
(15:12 +0100)
It was getting the va_list definition by luck.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link:
https://lkml.kernel.org/n/tip-4mavb7pgt2nw9lsew1xuez09@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/color.h
patch
|
blob
|
history
diff --git
a/tools/perf/util/color.h
b/tools/perf/util/color.h
index
22777b1
..
01f7bed
100644
(file)
--- a/
tools/perf/util/color.h
+++ b/
tools/perf/util/color.h
@@
-3,6
+3,7
@@
#define __PERF_COLOR_H
#include <stdio.h>
+#include <stdarg.h>
/* "\033[1;38;5;2xx;48;5;2xxm\0" is 23 bytes */
#define COLOR_MAXLEN 24