summaryrefslogtreecommitdiff
path: root/source/q_shared.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-08-15 15:25:21 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-08-15 15:25:21 +0000
commitd876b69b388528fd3236f2f05caac22345a798f4 (patch)
tree114f57a7ffc7a3e3a0a75fd93f4bb33680ed33d4 /source/q_shared.h
parentf294db4ccf45f6274e65260dd6f9a2c5faa94313 (diff)
Fixed UI_ModeChanged not being called for hard linked UI.
Added QDECL specifier for some interface functions. Changed default values for com_date_format and com_time_format. On Windows, set up empty CRT invalid parameter handler so e.g. invalid modificators passed to strftime do not raise an exception.
Diffstat (limited to 'source/q_shared.h')
-rw-r--r--source/q_shared.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/q_shared.h b/source/q_shared.h
index c4357c9..5e022db 100644
--- a/source/q_shared.h
+++ b/source/q_shared.h
@@ -437,7 +437,7 @@ int Q_strncasecmp( const char *s1, const char *s2, int n );
#define Q_stricmp Q_strcasecmp
#define Q_stricmpn Q_strncasecmp
-int SortStrcmp( const void *p1, const void *p2 );
+int QDECL SortStrcmp( const void *p1, const void *p2 );
char *COM_SkipPath( const char *pathname );
void COM_StripExtension( const char *in, char *out, int outSize );
@@ -454,7 +454,7 @@ char *COM_Parse( const char **data_p );
int COM_Compress( char *data );
int Com_WildCmp( const char *filter, const char *string, qboolean ignoreCase );
-int SortStrcmp( const void *p1, const void *p2 );
+int QDECL SortStrcmp( const void *p1, const void *p2 );
uint32 Com_HashString( const char *string, int hashSize );
uint32 Com_HashPath( const char *string, int hashSize );