Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf color: Add missing stdarg.g to color.h

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>

+1
+1
tools/perf/util/color.h
··· 3 3 #define __PERF_COLOR_H 4 4 5 5 #include <stdio.h> 6 + #include <stdarg.h> 6 7 7 8 /* "\033[1;38;5;2xx;48;5;2xxm\0" is 23 bytes */ 8 9 #define COLOR_MAXLEN 24