summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2010-06-14 21:05:52 +0000
committerArthur de Jong <arthur@arthurdejong.org>2010-06-14 21:05:52 +0000
commit2c40043c434b883a0bfce7d777a028ae0da6d25f (patch)
tree143984773c7b27a733de37a86ca4b5e4c7579ccb /common
parenta24c04ae85579ffa8d7837b46ce2bb22e779a098 (diff)
make include guard names consistent throughout the source and avoid conflicts with system headers
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1140 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'common')
-rw-r--r--common/dict.h6
-rw-r--r--common/expr.h6
-rw-r--r--common/nslcd-prot.h6
-rw-r--r--common/set.h6
-rw-r--r--common/tio.h6
5 files changed, 15 insertions, 15 deletions
diff --git a/common/dict.h b/common/dict.h
index 52d4c2e..ee231e1 100644
--- a/common/dict.h
+++ b/common/dict.h
@@ -20,8 +20,8 @@
02110-1301 USA
*/
-#ifndef _DICT_H
-#define _DICT_H
+#ifndef COMMON__DICT_H
+#define COMMON__DICT_H
#include "compat/attrs.h"
@@ -64,4 +64,4 @@ void dict_free(DICT *dict);
const char **dict_keys(DICT *dict)
MUST_USE;
-#endif /* _DICT_H */
+#endif /* COMMON__DICT_H */
diff --git a/common/expr.h b/common/expr.h
index 9861a49..81b0e27 100644
--- a/common/expr.h
+++ b/common/expr.h
@@ -20,8 +20,8 @@
02110-1301 USA
*/
-#ifndef _EXPR_H
-#define _EXPR_H 1
+#ifndef COMMON__EXPR_H
+#define COMMON__EXPR_H 1
#include "compat/attrs.h"
#include "common/set.h"
@@ -38,4 +38,4 @@ MUST_USE const char *expr_parse(const char *expr,char *buffer,size_t buflen,
is allocated, otherwise the passed set is added to. */
SET *expr_vars(const char *expr,SET *set);
-#endif /* not _EXPR_H */
+#endif /* not _COMMON__ */
diff --git a/common/nslcd-prot.h b/common/nslcd-prot.h
index ade9c7d..1252158 100644
--- a/common/nslcd-prot.h
+++ b/common/nslcd-prot.h
@@ -20,8 +20,8 @@
02110-1301 USA
*/
-#ifndef _NSLCD_PROT_H
-#define _NSLCD_PROT_H 1
+#ifndef COMMON__NSLCD_PROT_H
+#define COMMON__NSLCD_PROT_H 1
#include "tio.h"
@@ -355,4 +355,4 @@ TFILE *nslcd_client_open(void)
if (tmpint32!=(int32_t)NSLCD_RESULT_BEGIN) \
{ ERROR_OUT_NOSUCCESS(fp) }
-#endif /* not _NSLCD_PROT_H */
+#endif /* not COMMON__NSLCD_PROT_H */
diff --git a/common/set.h b/common/set.h
index 111a2cc..5824bfc 100644
--- a/common/set.h
+++ b/common/set.h
@@ -20,8 +20,8 @@
02110-1301 USA
*/
-#ifndef _SET_H
-#define _SET_H
+#ifndef COMMON__SET_H
+#define COMMON__SET_H
#include "compat/attrs.h"
@@ -56,4 +56,4 @@ void set_free(SET *set);
const char **set_tolist(SET *set)
MUST_USE;
-#endif /* _SET_H */
+#endif /* COMMON__SET_H */
diff --git a/common/tio.h b/common/tio.h
index 25dbce9..22c099c 100644
--- a/common/tio.h
+++ b/common/tio.h
@@ -33,8 +33,8 @@
*/
-#ifndef _TIO_H
-#define _TIO_H
+#ifndef COMMON__TIO_H
+#define COMMON__TIO_H
#include <sys/time.h>
#include <sys/types.h>
@@ -78,4 +78,4 @@ void tio_mark(TFILE *fp);
were full). */
int tio_reset(TFILE *fp);
-#endif /* _TIO_H */
+#endif /* COMMON__TIO_H */