summaryrefslogtreecommitdiffstats
path: root/apps/gui/viewport.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-08-12 15:34:41 +0000
committerThomas Martitz <kugel@rockbox.org>2009-08-12 15:34:41 +0000
commit7b6e166c7737c70bfa0eb72cf4650de4887b2f13 (patch)
tree6e94bdb656d86215d09c7160953be7818d12f0ff /apps/gui/viewport.h
parent98f1aa6025c0d57daf7f89f74bb3bff8b95238ca (diff)
downloadrockbox-7b6e166c7737c70bfa0eb72cf4650de4887b2f13.tar.gz
rockbox-7b6e166c7737c70bfa0eb72cf4650de4887b2f13.tar.bz2
rockbox-7b6e166c7737c70bfa0eb72cf4650de4887b2f13.zip
Protect viewport.h against multiple inclusion.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22274 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/viewport.h')
-rw-r--r--apps/gui/viewport.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/gui/viewport.h b/apps/gui/viewport.h
index 16f52eb292..6c3fb92998 100644
--- a/apps/gui/viewport.h
+++ b/apps/gui/viewport.h
@@ -20,6 +20,10 @@
*
****************************************************************************/
+#ifndef __VIEWPORT_H__
+#define __VIEWPORT_H__
+
+
#include "config.h"
#include "lcd.h"
#include "system.h"
@@ -79,3 +83,5 @@ int viewportmanager_set_statusbar(int enabled);
/* callbacks for GUI_EVENT_* events */
void viewportmanager_draw_statusbars(void*data);
void viewportmanager_statusbar_changed(void* data);
+
+#endif /* __VIEWPORT_H__ */