va little signature change

This commit is contained in:
David CARLIER 2022-10-23 22:27:00 +01:00 committed by David Carlier
parent 5ed36196b7
commit a4747d3d8d
3 changed files with 3 additions and 3 deletions

View file

@ -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, ...);
/* ============================================= */

View file

@ -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 ) ;

View file

@ -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];