summaryrefslogtreecommitdiffstats
path: root/osdep
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 /osdep
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 'osdep')
-rw-r--r--osdep/getch2.h5
-rw-r--r--osdep/glob.h5
-rw-r--r--osdep/keycodes.h5
-rw-r--r--osdep/shmem.h3
4 files changed, 18 insertions, 0 deletions
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 */