6464
6565#include " src/network/networktransport-impl.h"
6666
67- void STMClient::resume ( void )
67+ void STMClient::resume ()
6868{
6969 /* Restore termios state */
7070 if ( tcsetattr ( STDIN_FILENO, TCSANOW, &raw_termios ) < 0 ) {
@@ -79,7 +79,7 @@ void STMClient::resume( void )
7979 repaint_requested = true ;
8080}
8181
82- void STMClient::init ( void )
82+ void STMClient::init ()
8383{
8484 if ( !is_utf8_locale () ) {
8585 LocaleVar native_ctype = get_ctype ();
@@ -201,7 +201,7 @@ void STMClient::init( void )
201201 connecting_notification = std::wstring ( tmp );
202202}
203203
204- void STMClient::shutdown ( void )
204+ void STMClient::shutdown ()
205205{
206206 /* Restore screen state */
207207 overlays.get_notification_engine ().set_notification_string ( std::wstring ( L" " ) );
@@ -233,7 +233,7 @@ void STMClient::shutdown( void )
233233 }
234234}
235235
236- void STMClient::main_init ( void )
236+ void STMClient::main_init ()
237237{
238238 Select& sel = Select::get_instance ();
239239 sel.add_signal ( SIGWINCH );
@@ -272,7 +272,7 @@ void STMClient::main_init( void )
272272 Select::set_verbose ( verbose );
273273}
274274
275- void STMClient::output_new_frame ( void )
275+ void STMClient::output_new_frame ()
276276{
277277 if ( !network ) { /* clean shutdown even when not initialized */
278278 return ;
@@ -293,7 +293,7 @@ void STMClient::output_new_frame( void )
293293 local_framebuffer = new_state;
294294}
295295
296- void STMClient::process_network_input ( void )
296+ void STMClient::process_network_input ()
297297{
298298 network->recv ();
299299
@@ -407,7 +407,7 @@ bool STMClient::process_user_input( int fd )
407407 return true ;
408408}
409409
410- bool STMClient::process_resize ( void )
410+ bool STMClient::process_resize ()
411411{
412412 /* get new size */
413413 if ( ioctl ( STDIN_FILENO, TIOCGWINSZ, &window_size ) < 0 ) {
@@ -430,7 +430,7 @@ bool STMClient::process_resize( void )
430430 return true ;
431431}
432432
433- bool STMClient::main ( void )
433+ bool STMClient::main ()
434434{
435435 /* initialize signal handling and structures */
436436 main_init ();
0 commit comments