aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/color.h
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2009-09-24 18:02:18 +0200
committerIngo Molnar <mingo@elte.hu>2009-09-24 21:27:51 +0200
commit8b40f521cf1c9750eab0c04da9075e7484675e9c (patch)
treeccf78010cc05ca0e38ebf6f443fd507c287c2fdf /tools/perf/util/color.h
parentperf annotate: Add the cmp_null function and make use of it (diff)
downloadlinux-dev-8b40f521cf1c9750eab0c04da9075e7484675e9c.tar.xz
linux-dev-8b40f521cf1c9750eab0c04da9075e7484675e9c.zip
perf tools: Protect header files with a consistent style
There was a colorful mix of header guards - standardize them. Signed-off-by: John Kacur <jkacur@redhat.com> LKML-Reference: <alpine.LFD.2.00.0909241756530.11383@localhost.localdomain> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/color.h')
-rw-r--r--tools/perf/util/color.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/util/color.h b/tools/perf/util/color.h
index 58d597564b99..24e8809210bb 100644
--- a/tools/perf/util/color.h
+++ b/tools/perf/util/color.h
@@ -1,5 +1,5 @@
-#ifndef COLOR_H
-#define COLOR_H
+#ifndef __PERF_COLOR_H
+#define __PERF_COLOR_H
/* "\033[1;38;5;2xx;48;5;2xxm\0" is 23 bytes */
#define COLOR_MAXLEN 24
@@ -39,4 +39,4 @@ int color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *bu
int percent_color_fprintf(FILE *fp, const char *fmt, double percent);
const char *get_percent_color(double percent);
-#endif /* COLOR_H */
+#endif /* __PERF_COLOR_H */