]> granicus.if.org Git - check/commitdiff
* use #ifndef LIBCOMPAT_H ... #endif idiom
authorcpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Tue, 30 Dec 2008 02:25:44 +0000 (02:25 +0000)
committercpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Tue, 30 Dec 2008 02:25:44 +0000 (02:25 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@484 64e312b2-a51f-0410-8e61-82d0ca0eb02a

lib/libcompat.h

index 280e38964b2e67aba395ae9dd693ecb9301a2bf7..6065a7de088fcb5e546590d024c29fd185229585 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef LIBCOMPAT_H
+#define LIBCOMPAT_H
+
 #if HAVE_CONFIG_H
 #include <config.h>
 #endif
@@ -50,3 +53,5 @@ void unsetenv(const char *name);
 
 /* silence warnings about an empty library */
 void ck_do_nothing (void);
+
+#endif /* !LIBCOMPAT_H */