From 2b6af2000b421057a3194a962a9ab6be39d0a838 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 1 Jan 2008 21:35:58 +0000 Subject: 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 --- input/input.h | 4 ++++ input/joystick.h | 3 +++ input/lirc.h | 5 ++++- input/mouse.h | 5 ++++- 4 files changed, 15 insertions(+), 2 deletions(-) (limited to 'input') 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 */ -- cgit v1.2.3