mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: remove mistakingly placed NORETURN attributes
This commit is contained in:
parent
a5ba43ea39
commit
3d5aa7c20c
@ -702,7 +702,7 @@ dlight_t *CL_GetEntityLight( int number );
|
|||||||
//
|
//
|
||||||
// cl_cmds.c
|
// cl_cmds.c
|
||||||
//
|
//
|
||||||
void CL_Quit_f( void ) NORETURN;
|
void CL_Quit_f( void );
|
||||||
void CL_ScreenShot_f( void );
|
void CL_ScreenShot_f( void );
|
||||||
void CL_SnapShot_f( void );
|
void CL_SnapShot_f( void );
|
||||||
void CL_PlayCDTrack_f( void );
|
void CL_PlayCDTrack_f( void );
|
||||||
|
@ -569,7 +569,7 @@ void Host_WriteConfig( void );
|
|||||||
qboolean Host_IsLocalGame( void );
|
qboolean Host_IsLocalGame( void );
|
||||||
qboolean Host_IsLocalClient( void );
|
qboolean Host_IsLocalClient( void );
|
||||||
void Host_ShutdownServer( void );
|
void Host_ShutdownServer( void );
|
||||||
void Host_Error( const char *error, ... ) _format( 1 ) NORETURN;
|
void Host_Error( const char *error, ... ) _format( 1 );
|
||||||
void Host_PrintEngineFeatures( void );
|
void Host_PrintEngineFeatures( void );
|
||||||
void Host_Frame( float time );
|
void Host_Frame( float time );
|
||||||
void Host_InitDecals( void );
|
void Host_InitDecals( void );
|
||||||
|
@ -51,7 +51,7 @@ char *Sys_GetClipboardData( void );
|
|||||||
const char *Sys_GetCurrentUser( void );
|
const char *Sys_GetCurrentUser( void );
|
||||||
int Sys_CheckParm( const char *parm );
|
int Sys_CheckParm( const char *parm );
|
||||||
void Sys_Warn( const char *format, ... ) _format( 1 );
|
void Sys_Warn( const char *format, ... ) _format( 1 );
|
||||||
void Sys_Error( const char *error, ... ) _format( 1 ) NORETURN;
|
void Sys_Error( const char *error, ... ) _format( 1 );
|
||||||
qboolean Sys_LoadLibrary( dll_info_t *dll );
|
qboolean Sys_LoadLibrary( dll_info_t *dll );
|
||||||
void* Sys_GetProcAddress( dll_info_t *dll, const char* name );
|
void* Sys_GetProcAddress( dll_info_t *dll, const char* name );
|
||||||
qboolean Sys_FreeLibrary( dll_info_t *dll );
|
qboolean Sys_FreeLibrary( dll_info_t *dll );
|
||||||
|
@ -54,11 +54,6 @@ typedef struct ui_globalvars_s
|
|||||||
|
|
||||||
struct ref_viewpass_s;
|
struct ref_viewpass_s;
|
||||||
|
|
||||||
#if __GNUC__ == 3
|
|
||||||
#undef NORETURN
|
|
||||||
#define NORETURN
|
|
||||||
#endif // GCC 3.x have problems with noreturn attribute on function pointer
|
|
||||||
|
|
||||||
typedef struct ui_enginefuncs_s
|
typedef struct ui_enginefuncs_s
|
||||||
{
|
{
|
||||||
// image handlers
|
// image handlers
|
||||||
@ -122,7 +117,7 @@ typedef struct ui_enginefuncs_s
|
|||||||
int (*CL_CreateVisibleEntity)( int type, struct cl_entity_s *ent );
|
int (*CL_CreateVisibleEntity)( int type, struct cl_entity_s *ent );
|
||||||
|
|
||||||
// misc handlers
|
// misc handlers
|
||||||
void (*pfnHostError)( const char *szFmt, ... ) _format( 1 ) NORETURN;
|
void (*pfnHostError)( const char *szFmt, ... ) _format( 1 );
|
||||||
int (*pfnFileExists)( const char *filename, int gamedironly );
|
int (*pfnFileExists)( const char *filename, int gamedironly );
|
||||||
void (*pfnGetGameDir)( char *szGetGameDir );
|
void (*pfnGetGameDir)( char *szGetGameDir );
|
||||||
|
|
||||||
|
@ -339,7 +339,7 @@ typedef struct ref_api_s
|
|||||||
|
|
||||||
// utils
|
// utils
|
||||||
void (*CL_ExtraUpdate)( void );
|
void (*CL_ExtraUpdate)( void );
|
||||||
void (*Host_Error)( const char *fmt, ... ) _format( 1 ) NORETURN;
|
void (*Host_Error)( const char *fmt, ... ) _format( 1 );
|
||||||
void (*COM_SetRandomSeed)( int lSeed );
|
void (*COM_SetRandomSeed)( int lSeed );
|
||||||
float (*COM_RandomFloat)( float rmin, float rmax );
|
float (*COM_RandomFloat)( float rmin, float rmax );
|
||||||
int (*COM_RandomLong)( int rmin, int rmax );
|
int (*COM_RandomLong)( int rmin, int rmax );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user