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 --- osdep/getch2.h | 5 +++++ osdep/glob.h | 5 +++++ osdep/keycodes.h | 5 +++++ osdep/shmem.h | 3 +++ 4 files changed, 18 insertions(+) (limited to 'osdep') diff --git a/osdep/getch2.h b/osdep/getch2.h index eb1ae49fa3..bc3402a498 100644 --- a/osdep/getch2.h +++ b/osdep/getch2.h @@ -1,6 +1,9 @@ /* GyS-TermIO v2.0 (for GySmail v3) (C) 1999 A'rpi/ESP-team */ /* a very small replacement of ncurses library */ +#ifndef GETCH2_H +#define GETCH2_H + /* Screen size. Initialized by load_termcap() and get_screen_size() */ extern int screen_width; extern int screen_height; @@ -24,3 +27,5 @@ extern void getch2(void); #ifdef __MINGW32__ extern int mp_input_win32_slave_cmd_func(int fd,char* dest,int size); #endif + +#endif /* GETCH2_H */ diff --git a/osdep/glob.h b/osdep/glob.h index d65dca4142..57a2d1f949 100644 --- a/osdep/glob.h +++ b/osdep/glob.h @@ -1,3 +1,6 @@ +#ifndef GLOB_H +#define GLOB_H + #include "config.h" typedef struct { @@ -9,3 +12,5 @@ typedef struct { void globfree(glob_t *pglob); int glob(const char *pattern, int flags, int (*errfunc)(const char *epath, int eerrno), glob_t *pglob); + +#endif /* GLOB_H */ diff --git a/osdep/keycodes.h b/osdep/keycodes.h index 306227743d..fdd6343f78 100644 --- a/osdep/keycodes.h +++ b/osdep/keycodes.h @@ -1,5 +1,8 @@ /* KEY code definitions for GyS-TermIO v2.0 (C) 1999 A'rpi/ESP-team */ +#ifndef KEYCODES_H +#define KEYCODES_H + #define KEY_ENTER 13 #define KEY_TAB 9 @@ -70,3 +73,5 @@ /* Special keys */ #define KEY_INTERN (0x1000) #define KEY_CLOSE_WIN (KEY_INTERN+0) + +#endif /* KEYCODES_H */ diff --git a/osdep/shmem.h b/osdep/shmem.h index f3ed9b26bb..8d71288b97 100644 --- a/osdep/shmem.h +++ b/osdep/shmem.h @@ -1,4 +1,7 @@ +#ifndef SHMEM_H +#define SHMEM_H void* shmem_alloc(int size); void shmem_free(void* p,int size); +#endif /* SHMEM_H */ -- cgit v1.2.3