summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-03-31 07:37:33 +0200
committerPatrick McHardy <kaber@trash.net>2010-03-31 07:37:33 +0200
commit13031f2a810bdb6a7eec28fe4c0697b0c797a2a9 (patch)
tree15c9438600d4935448b2b62009b76ab2ad205512
parent3f19c0cef128d3ed4b62baa9ae5cc00478f610f2 (diff)
include: use consistent prefix for header sandwich defines
Signed-off-by: Patrick McHardy <kaber@trash.net>
-rw-r--r--include/b_fmt.h6
-rw-r--r--include/cc.h6
-rw-r--r--include/identities.h6
-rw-r--r--include/lce.h6
-rw-r--r--include/netlink.h6
-rw-r--r--include/s_fmt.h6
-rw-r--r--include/ss.h6
-rw-r--r--include/timer.h6
-rw-r--r--include/utils.h6
9 files changed, 27 insertions, 27 deletions
diff --git a/include/b_fmt.h b/include/b_fmt.h
index e7acd6d..6bb156d 100644
--- a/include/b_fmt.h
+++ b/include/b_fmt.h
@@ -1,5 +1,5 @@
-#ifndef _DECT_B_FMT_H
-#define _DECT_B_FMT_H
+#ifndef _LIBDECT_B_FMT_H
+#define _LIBDECT_B_FMT_H
struct dect_short_page_msg {
uint8_t hdr;
@@ -45,4 +45,4 @@ enum lce_request_page_hdr_codes {
#define DECT_LCE_SHORT_PAGE_TPUI_MASK 0xffff
-#endif /* _DECT_B_FMT_H */
+#endif /* _LIBDECT_B_FMT_H */
diff --git a/include/cc.h b/include/cc.h
index 252b0a9..1070369 100644
--- a/include/cc.h
+++ b/include/cc.h
@@ -4,8 +4,8 @@
* Copyright (c) 2009 Patrick McHardy <kaber@trash.net>
*/
-#ifndef _DECT_CC_H
-#define _DECT_CC_H
+#ifndef _LIBDECT_CC_H
+#define _LIBDECT_CC_H
/**
* Call Control message types
@@ -330,4 +330,4 @@ struct dect_call {
#define DECT_CC_SETUP_TIMEOUT 20 /* seconds */
-#endif /* _DECT_CC_H */
+#endif /* _LIBDECT_CC_H */
diff --git a/include/identities.h b/include/identities.h
index 6432f14..cb76db1 100644
--- a/include/identities.h
+++ b/include/identities.h
@@ -1,5 +1,5 @@
-#ifndef _DECT_IDENTITIES_H
-#define _DECT_IDENTITIES_H
+#ifndef _LIBDECT_IDENTITIES_H
+#define _LIBDECT_IDENTITIES_H
/*
* Acess Rights Identity (ARI)
@@ -126,4 +126,4 @@ extern void dect_parse_pmid(struct dect_pmid *pmid, uint32_t p);
extern void dect_tpui_to_pmid(struct dect_pmid *pmid, const struct dect_tpui *tpui);
extern uint32_t dect_build_pmid(const struct dect_pmid *pmid);
-#endif /* _DECT_IDENTITIES_H */
+#endif /* _LIBDECT_IDENTITIES_H */
diff --git a/include/lce.h b/include/lce.h
index 8f892fd..8720342 100644
--- a/include/lce.h
+++ b/include/lce.h
@@ -4,8 +4,8 @@
* Copyright (c) 2009 Patrick McHardy <kaber@trash.net>
*/
-#ifndef _DECT_LCE_H
-#define _DECT_LCE_H
+#ifndef _LIBDECT_LCE_H
+#define _LIBDECT_LCE_H
#include <assert.h>
#include <linux/dect.h>
@@ -224,4 +224,4 @@ struct dect_lce_page_reject {
extern int dect_lce_init(struct dect_handle *dh);
extern void dect_lce_exit(struct dect_handle *dh);
-#endif /* _DECT_LCE_H */
+#endif /* _LIBDECT_LCE_H */
diff --git a/include/netlink.h b/include/netlink.h
index 4898bb5..41b0135 100644
--- a/include/netlink.h
+++ b/include/netlink.h
@@ -1,7 +1,7 @@
-#ifndef _DECT_NETLINK_H
-#define _DECT_NETLINK_H
+#ifndef _LIBDECT_NETLINK_H
+#define _LIBDECT_NETLINK_H
extern int dect_netlink_init(struct dect_handle *dh);
extern void dect_netlink_exit(struct dect_handle *dh);
-#endif /* _DECT_NETLINK_H */
+#endif /* _LIBDECT_NETLINK_H */
diff --git a/include/s_fmt.h b/include/s_fmt.h
index 7a413b6..582e8a2 100644
--- a/include/s_fmt.h
+++ b/include/s_fmt.h
@@ -1,5 +1,5 @@
-#ifndef _DECT_S_FMT_H
-#define _DECT_S_FMT_H
+#ifndef _LIBDECT_S_FMT_H
+#define _LIBDECT_S_FMT_H
#include <assert.h>
#include <identities.h>
@@ -416,4 +416,4 @@ extern void dect_msg_free(const struct dect_handle *dh,
const struct dect_sfmt_msg_desc *desc,
struct dect_msg_common *msg);
-#endif /* _DECT_S_FMT_H */
+#endif /* _LIBDECT_S_FMT_H */
diff --git a/include/ss.h b/include/ss.h
index 2ff864f..f2d7671 100644
--- a/include/ss.h
+++ b/include/ss.h
@@ -4,8 +4,8 @@
* Copyright (c) 2009 Patrick McHardy <kaber@trash.net>
*/
-#ifndef _DECT_SS_H
-#define _DECT_SS_H
+#ifndef _LIBDECT_SS_H
+#define _LIBDECT_SS_H
/**
* Call Independant Supplementary Services messages types
@@ -78,4 +78,4 @@ enum dect_crss_msg_types {
CRSS_FACILITY = 0x62,
};
-#endif
+#endif /* _LIBDECT_SS_H */
diff --git a/include/timer.h b/include/timer.h
index 60fa971..2dc7aa8 100644
--- a/include/timer.h
+++ b/include/timer.h
@@ -1,5 +1,5 @@
-#ifndef _DECT_TIMER_H
-#define _DECT_TIMER_H
+#ifndef _LIBDECT_TIMER_H
+#define _LIBDECT_TIMER_H
struct dect_handle;
@@ -33,4 +33,4 @@ extern void dect_start_timer(const struct dect_handle *dh,
extern void dect_stop_timer(const struct dect_handle *dh, struct dect_timer *timer);
extern bool dect_timer_running(const struct dect_timer *timer);
-#endif /* _DECT_TIMER_H */
+#endif /* _LIBDECT_TIMER_H */
diff --git a/include/utils.h b/include/utils.h
index 5d186b5..999e00f 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -1,5 +1,5 @@
-#ifndef _UTILS_H
-#define _UTILS_H
+#ifndef _LIBDECT_UTILS_H
+#define _LIBDECT_UTILS_H
#include <assert.h>
#include <stdint.h>
@@ -115,4 +115,4 @@ static inline unsigned int fls(uint64_t v)
return len;
}
-#endif /* _UTILS_H */
+#endif /* _LIBDECT_UTILS_H */