summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClark Williams <williams@redhat.com>2009-12-21 16:02:21 -0600
committerClark Williams <williams@redhat.com>2009-12-21 16:02:21 -0600
commit1c6c5896060d79b4617469f61d696f66e1f76667 (patch)
tree4a8243c6adc83088943d9abca56b8074e1b4599d
parentd6e8606c2464206d90f6f43fdb7b5cf03d57747f (diff)
downloadrt-tests-1c6c5896060d79b4617469f61d696f66e1f76667.tar.gz
move guard macros into implementor namespace
renamed the guard macros in rt-get_cpu.h and rt-utils.h to have leading double underscores which takes them out of the application namespace. Also changed a '.' in the rt-get_cpu.h guard macro to an underscore. Signed-off-by: Clark Williams <williams@redhat.com>
-rw-r--r--src/lib/rt-get_cpu.h4
-rw-r--r--src/lib/rt-utils.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/rt-get_cpu.h b/src/lib/rt-get_cpu.h
index 68ac17a..2338a56 100644
--- a/src/lib/rt-get_cpu.h
+++ b/src/lib/rt-get_cpu.h
@@ -1,5 +1,5 @@
-#ifndef RT_GET_CPU_H
-#define RT_GET_CPU_H
+#ifndef __RT_GET_CPU_H
+#define __RT_GET_CPU_H
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
diff --git a/src/lib/rt-utils.h b/src/lib/rt-utils.h
index fbdcf2b..61cd800 100644
--- a/src/lib/rt-utils.h
+++ b/src/lib/rt-utils.h
@@ -1,5 +1,5 @@
-#ifndef RT_UTILS.H
-#define RT_UTILS.H
+#ifndef __RT_UTILS_H
+#define __RT_UTILS_H
#define _STR(x) #x
#define STR(x) _STR(x)