engine: fix -Werror=strict-prototypes

This commit is contained in:
Alibek Omarov
2019-10-05 02:07:49 +03:00
parent 5a8de90918
commit dc207a449c
17 changed files with 37 additions and 38 deletions

View File

@@ -533,19 +533,19 @@ void VGui_MouseMove( int x, int y )
vgui.MouseMove( x / xscale, y / yscale );
}
void VGui_Paint()
void VGui_Paint( void )
{
if(vgui.initialized)
vgui.Paint();
}
void VGui_RunFrame()
void VGui_RunFrame( void )
{
//stub
}
void *GAME_EXPORT VGui_GetPanel()
void *GAME_EXPORT VGui_GetPanel( void )
{
if( vgui.initialized )
return vgui.GetPanel();

View File

@@ -27,12 +27,12 @@ extern "C" {
//
void VGui_Startup( const char *clientlib, int width, int height );
void VGui_Shutdown( void );
void VGui_Paint();
void VGui_RunFrame();
void VGui_Paint( void );
void VGui_RunFrame( void );
void VGui_KeyEvent( int key, int down );
void VGui_MouseMove( int x, int y );
qboolean VGui_IsActive( void );
void *VGui_GetPanel();
void *VGui_GetPanel( void );
#ifdef __cplusplus
}
#endif