mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-21 20:01:39 +00:00
Merge pull request #99 from devnexen/va_fmt_chg
va little signature change
This commit is contained in:
commit
9922dd88bb
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