summaryrefslogtreecommitdiff
path: root/src/ui/ui_atoms.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-12-08 21:45:34 +0000
committerTim Angus <tim@ngus.net>2005-12-08 21:45:34 +0000
commitdedac77b31fc2ddf806e9a70a4a6b536c9a79d35 (patch)
tree90637a7d1f1d43e1784f9c4fec2a26672f3ec904 /src/ui/ui_atoms.c
parent10107e224bbaa2a39cd1296905d27e4d927cf207 (diff)
* Merged in a bunch of game side fixed from ioq3
Diffstat (limited to 'src/ui/ui_atoms.c')
-rw-r--r--src/ui/ui_atoms.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/ui/ui_atoms.c b/src/ui/ui_atoms.c
index 8139be91..dc6496b7 100644
--- a/src/ui/ui_atoms.c
+++ b/src/ui/ui_atoms.c
@@ -23,9 +23,6 @@
qboolean m_entersound; // after a frame, so caching won't disrupt the sound
-// these are here so the functions in q_shared.c can link
-#ifndef UI_HARD_LINKED
-
void QDECL Com_Error( int level, const char *error, ... ) {
va_list argptr;
char text[1024];
@@ -48,8 +45,6 @@ void QDECL Com_Printf( const char *msg, ... ) {
trap_Print( va("%s", text) );
}
-#endif
-
qboolean newUI = qfalse;
@@ -157,7 +152,7 @@ void UI_LoadBestScores(const char *map, int game) {
UI_ClearScores
===============
*/
-void UI_ClearScores() {
+void UI_ClearScores( void ) {
char gameList[4096];
char *gameFile;
int i, len, count, size;
@@ -188,7 +183,7 @@ void UI_ClearScores() {
-static void UI_Cache_f() {
+static void UI_Cache_f( void ) {
Display_CacheAll();
}
@@ -197,7 +192,7 @@ static void UI_Cache_f() {
UI_CalcPostGameStats
=======================
*/
-static void UI_CalcPostGameStats() {
+static void UI_CalcPostGameStats( void ) {
char map[MAX_QPATH];
char fileName[MAX_QPATH];
char info[MAX_INFO_STRING];