]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.c
slight optimization to CL_RelinkNetworkEntities to scan entities faster
[xonotic/darkplaces.git] / keys.c
diff --git a/keys.c b/keys.c
index 52363ee0c62f8013889bbd999fd062461f49ae7f..20211e7d1df49729f6169f0539a8ea96b1371eae 100644 (file)
--- a/keys.c
+++ b/keys.c
@@ -1,6 +1,4 @@
 /*
-       $RCSfile$
-
        Copyright (C) 1996-1997  Id Software, Inc.
 
        This program is free software; you can redistribute it and/or
                Free Software Foundation, Inc.
                59 Temple Place - Suite 330
                Boston, MA  02111-1307, USA
-
 */
-static const char rcsid[] =
-    "$Id$";
 
 #include "quakedef.h"
-#include <ctype.h>
 
 
 /*
@@ -549,7 +543,7 @@ the given string.  Single ascii characters return themselves, while
 the K_* names are matched up.
 ===================
 */
-static int
+int
 Key_StringToKeynum (const char *str)
 {
        const keyname_t  *kn;
@@ -1002,7 +996,6 @@ Key_Event (int key, char ascii, qboolean down)
                        case key_menu:
                                MR_Keydown (key, ascii);
                                break;
-
                        case key_game:
                                Key_Console (key, ascii);
                                break;