summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-01 21:35:58 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-01 21:35:58 +0000
commit2b6af2000b421057a3194a962a9ab6be39d0a838 (patch)
treece97430e57ac21374317f279f22f1b85e4f49689 /input
parent4a78a92dd6f8532451fb1797bb48e915ca638d99 (diff)
downloadmpv-2b6af2000b421057a3194a962a9ab6be39d0a838.tar.bz2
mpv-2b6af2000b421057a3194a962a9ab6be39d0a838.tar.xz
Add multiple inclusion guards to all header files that lack them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r--input/input.h4
-rw-r--r--input/joystick.h3
-rw-r--r--input/lirc.h5
-rw-r--r--input/mouse.h5
4 files changed, 15 insertions, 2 deletions
diff --git a/input/input.h b/input/input.h
index f07d9142ea..86266ac590 100644
--- a/input/input.h
+++ b/input/input.h
@@ -1,3 +1,6 @@
+#ifndef INPUT_H
+#define INPUT_H
+
// All command IDs
#define MP_CMD_SEEK 0
#define MP_CMD_AUDIO_DELAY 1
@@ -294,3 +297,4 @@ mp_input_uninit(void);
int
mp_input_check_interrupt(int time);
+#endif /* INPUT_H */
diff --git a/input/joystick.h b/input/joystick.h
index 9e017b321d..f7b8cb323d 100644
--- a/input/joystick.h
+++ b/input/joystick.h
@@ -1,3 +1,5 @@
+#ifndef JOYSTICK_H
+#define JOYSTICK_H
#define JOY_BASE (0x100+128)
#define JOY_AXIS0_PLUS (JOY_BASE+0)
@@ -37,3 +39,4 @@ int mp_input_joystick_init(char* dev);
int mp_input_joystick_read(int fd);
+#endif /* JOYSTICK_H */
diff --git a/input/lirc.h b/input/lirc.h
index 6271aaaeb2..08cb6e741a 100644
--- a/input/lirc.h
+++ b/input/lirc.h
@@ -1,4 +1,5 @@
-
+#ifndef LIRC_H
+#define LIRC_H
int
mp_input_lirc_init(void);
@@ -8,3 +9,5 @@ mp_input_lirc_read(int fd,char* dest, int s);
void
mp_input_lirc_close(int fd);
+
+#define /* LIRC_H */
diff --git a/input/mouse.h b/input/mouse.h
index 18b2dfa5d3..0b61efeaa2 100644
--- a/input/mouse.h
+++ b/input/mouse.h
@@ -1,4 +1,5 @@
-
+#ifndef MOUSE_H
+#define MOUSE_H
#define MOUSE_BASE ((0x100+256)|MP_NO_REPEAT_KEY)
#define MOUSE_BTN0 (MOUSE_BASE+0)
@@ -23,3 +24,5 @@
#define MOUSE_BTN7_DBL (MOUSE_BASE_DBL+7)
#define MOUSE_BTN8_DBL (MOUSE_BASE_DBL+8)
#define MOUSE_BTN9_DBL (MOUSE_BASE_DBL+9)
+
+#endif /* MOUSE_H */