engine: remove mistakingly placed NORETURN attributes

This commit is contained in:
Alibek Omarov
2022-08-05 18:05:15 +03:00
parent a5ba43ea39
commit 3d5aa7c20c
5 changed files with 5 additions and 10 deletions

View File

@@ -54,11 +54,6 @@ typedef struct ui_globalvars_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
{
// image handlers
@@ -122,7 +117,7 @@ typedef struct ui_enginefuncs_s
int (*CL_CreateVisibleEntity)( int type, struct cl_entity_s *ent );
// misc handlers
void (*pfnHostError)( const char *szFmt, ... ) _format( 1 ) NORETURN;
void (*pfnHostError)( const char *szFmt, ... ) _format( 1 );
int (*pfnFileExists)( const char *filename, int gamedironly );
void (*pfnGetGameDir)( char *szGetGameDir );