Merge pull request #99 from devnexen/va_fmt_chg

va little signature change
This commit is contained in:
Yamagi 2022-11-06 17:21:11 +01:00 committed by GitHub
commit 9922dd88bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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];