]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.h
DP code cleanup, stage one - all headers that can be protected by ifdef
[xonotic/darkplaces.git] / keys.h
diff --git a/keys.h b/keys.h
index b8749341cee363f71f7ebed42354010fb248b0da..7e9b9dd5327c9d849e667c7644b680d719014e46 100644 (file)
--- a/keys.h
+++ b/keys.h
@@ -18,6 +18,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 */
 
+#ifndef KEYS_H
+#define KEYS_H
+
 // these are the key numbers that should be passed to Key_Event
 
 typedef enum {
@@ -154,7 +157,9 @@ extern      int             key_lastpress;
 
 void Key_Event (int key, qboolean down);
 void Key_Init (void);
-void Key_WriteBindings (FILE *f);
+void Key_WriteBindings (QFile *f);
 void Key_SetBinding (int keynum, char *binding);
 void Key_ClearStates (void);
 
+#endif
+