mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-25 13:41:41 +00:00
va little signature change
This commit is contained in:
parent
5ed36196b7
commit
a4747d3d8d
3 changed files with 3 additions and 3 deletions
|
@ -204,7 +204,7 @@ float BigFloat(float l);
|
|||
float LittleFloat(float l);
|
||||
|
||||
void Swap_Init(void);
|
||||
char *va(char *format, ...);
|
||||
char *va(const char *format, ...);
|
||||
|
||||
/* ============================================= */
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ extern int Q_strncasecmp ( char * s1 , char * s2 , int n ) ;
|
|||
extern int Q_stricmp ( const char * s1 , const char * s2 ) ;
|
||||
extern void Com_PageInMemory ( byte * buffer , int size ) ;
|
||||
extern char * COM_Parse ( char * * data_p ) ;
|
||||
extern char * va ( char * format , ... ) ;
|
||||
extern char * va ( const char * format , ... ) ;
|
||||
extern void Swap_Init ( void ) ;
|
||||
extern float FloatNoSwap ( float f ) ;
|
||||
extern float FloatSwap ( float f ) ;
|
||||
|
|
|
@ -884,7 +884,7 @@ Swap_Init(void)
|
|||
* need to have varargs versions of all text functions.
|
||||
*/
|
||||
char *
|
||||
va(char *format, ...)
|
||||
va(const char *format, ...)
|
||||
{
|
||||
va_list argptr;
|
||||
static char string[1024];
|
||||
|
|
Loading…
Reference in a new issue