]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cmd.h
DP code cleanup, stage one - all headers that can be protected by ifdef
[xonotic/darkplaces.git] / cmd.h
diff --git a/cmd.h b/cmd.h
index ba2796e1a011ab4f8105374d0e4c1f28ce15bba5..f496518774f7496ed291ba14db11d32839b25ab3 100644 (file)
--- a/cmd.h
+++ b/cmd.h
@@ -34,6 +34,8 @@ The game starts with a Cbuf_AddText ("exec quake.rc\n"); Cbuf_Execute ();
 
 */
 
+#ifndef CMD_H
+#define CMD_H
 
 void Cbuf_Init (void);
 // allocates an initial text buffer that will grow as needed
@@ -116,7 +118,7 @@ int Cmd_CheckParm (char *parm);
 // Returns the position (1 to argc-1) in the command's argument list
 // where the given parameter apears, or 0 if not present
 
-void Cmd_TokenizeString (char *text);
+//void Cmd_TokenizeString (char *text);
 // Takes a null terminated string.  Does not need to be /n terminated.
 // breaks the string up into arg tokens.
 
@@ -133,3 +135,5 @@ void Cmd_Print (char *text);
 // used by command functions to send output to either the graphics console or
 // passed as a print message to the client
 
+#endif
+