comparison cli-session.c @ 1043:38d2f6b2d1b8

Add more ATTRIB_NORETURN annotations, from Thorsten Horstmann
author Matt Johnston <matt@ucc.asn.au>
date Tue, 24 Feb 2015 22:36:20 +0800
parents 0bb16232e7c4
children 01eea88963f3
comparison
equal deleted inserted replaced
1042:9699b9438ad9 1043:38d2f6b2d1b8
36 #include "runopts.h" 36 #include "runopts.h"
37 #include "chansession.h" 37 #include "chansession.h"
38 #include "agentfwd.h" 38 #include "agentfwd.h"
39 #include "crypto_desc.h" 39 #include "crypto_desc.h"
40 40
41 static void cli_remoteclosed(); 41 static void cli_remoteclosed() ATTRIB_NORETURN;
42 static void cli_sessionloop(); 42 static void cli_sessionloop();
43 static void cli_session_init(); 43 static void cli_session_init();
44 static void cli_finished(); 44 static void cli_finished() ATTRIB_NORETURN;
45 static void recv_msg_service_accept(void); 45 static void recv_msg_service_accept(void);
46 static void cli_session_cleanup(void); 46 static void cli_session_cleanup(void);
47 static void recv_msg_global_request_cli(void); 47 static void recv_msg_global_request_cli(void);
48 48
49 struct clientsession cli_ses; /* GLOBAL */ 49 struct clientsession cli_ses; /* GLOBAL */