[PATCH 3/4] rt-tests: Clean-up - protect rt-utils.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Clean-up: Protect rt-utils.h with #ifndef RT_UTILS_H

Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>
---
 src/lib/rt-utils.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/lib/rt-utils.h b/src/lib/rt-utils.h
index e9c8cdd..fbdcf2b 100644
--- a/src/lib/rt-utils.h
+++ b/src/lib/rt-utils.h
@@ -1,6 +1,11 @@
+#ifndef RT_UTILS.H
+#define RT_UTILS.H
+
 #define _STR(x) #x
 #define STR(x) _STR(x)
 #define MAX_PATH 256
 
 int check_privs(void);
 char *get_debugfileprefix(void);
+
+#endif	/* RT_UTILS.H */
-- 
1.6.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux