summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2011-06-03 13:49:11 -0400
committerEamon Walsh <ewalsh@tycho.nsa.gov>2011-06-03 13:49:11 -0400
commit6547f966a768ce88808bc3931c414cf92fde656c (patch)
treee3243cd24211d3cafa0a986688ce592dd0d8cfd4 /src
parent16f3b2430a4477e478d733042831eedbfa504381 (diff)
Standardize include file exclusion defines.
Diffstat (limited to 'src')
-rw-r--r--src/comm.h6
-rw-r--r--src/comm_structs.h6
-rw-r--r--src/common.h4
-rw-r--r--src/local.h6
-rw-r--r--src/xen_linpicker.h6
5 files changed, 14 insertions, 14 deletions
diff --git a/src/comm.h b/src/comm.h
index 986e5d2..a2c2207 100644
--- a/src/comm.h
+++ b/src/comm.h
@@ -8,8 +8,8 @@
*/
-#ifndef _COMM_H_
-#define _COMM_H_
+#ifndef _LINPICKER_COMM_H_
+#define _LINPICKER_COMM_H_
#include "comm_structs.h"
#include "client.h"
@@ -18,4 +18,4 @@
void
comm_process(struct client *c, struct buffer *b, struct lin_message *m);
-#endif /* _COMM_H_ */
+#endif /* _LINPICKER_COMM_H_ */
diff --git a/src/comm_structs.h b/src/comm_structs.h
index 40081e3..7234e31 100644
--- a/src/comm_structs.h
+++ b/src/comm_structs.h
@@ -8,8 +8,8 @@
*/
-#ifndef _COMM_STRUCTS_H_
-#define _COMM_STRUCTS_H_
+#ifndef _LINPICKER_COMM_STRUCTS_H_
+#define _LINPICKER_COMM_STRUCTS_H_
#include <stdint.h>
@@ -40,4 +40,4 @@ struct lin_message {
uint32_t h;
};
-#endif /* _COMM_STRUCTS_H_ */
+#endif /* _LINPICKER_COMM_STRUCTS_H_ */
diff --git a/src/common.h b/src/common.h
index 1677148..3d30fe7 100644
--- a/src/common.h
+++ b/src/common.h
@@ -1,5 +1,5 @@
-#ifndef _TYPEDEFS_H_
-#define _TYPEDEFS_H_
+#ifndef _LINPICKER_COMMON_H_
+#define _LINPICKER_COMMON_H_
/* Vchan/Xenstore parameters */
#define LINPICKER_TOKEN "@i"
diff --git a/src/local.h b/src/local.h
index c2e6dab..9fcfc01 100644
--- a/src/local.h
+++ b/src/local.h
@@ -1,5 +1,5 @@
-#ifndef _LOCAL_H_
-#define _LOCAL_H_
+#ifndef _LINPICKER_LOCAL_H_
+#define _LINPICKER_LOCAL_H_
/* The local socket address */
#define LINPICKER_SOCKNAME "\0linpicker_server"
@@ -10,4 +10,4 @@
int
local_init(int argc, char **argv);
-#endif /* _LOCAL_H_ */
+#endif /* _LINPICKER_LOCAL_H_ */
diff --git a/src/xen_linpicker.h b/src/xen_linpicker.h
index ce56883..22dd539 100644
--- a/src/xen_linpicker.h
+++ b/src/xen_linpicker.h
@@ -1,5 +1,5 @@
-#ifndef XEN_LINPICKER_H
-#define XEN_LINPICKER_H 1
+#ifndef _LINPICKER_XEN_H_
+#define _LINPICKER_XEN_H_ 1
#include <xenctrl.h>
#include <xs.h>
@@ -80,4 +80,4 @@ int xenfb_send_key(struct XenInput *xenfb, bool down, int keycode);
int xenfb_send_motion(struct XenInput *xenfb, int rel_x, int rel_y, int rel_z);
int xenfb_send_position(struct XenInput *xenfb, int abs_x, int abs_y, int z);
-#endif /* XEN_LINPICKER_H */
+#endif /* _LINPICKER_XEN_H_ */