comparison cli-main.c @ 614:00eca37e47e8

Add noreturn and format attribute hints for some functions.
author Matt Johnston <matt@ucc.asn.au>
date Thu, 07 Apr 2011 12:59:18 +0000
parents a98a2138364a
children 70811267715c 7f604f9b3756
comparison
equal deleted inserted replaced
613:8cd04e707171 614:00eca37e47e8
27 #include "includes.h" 27 #include "includes.h"
28 #include "dbutil.h" 28 #include "dbutil.h"
29 #include "runopts.h" 29 #include "runopts.h"
30 #include "session.h" 30 #include "session.h"
31 31
32 static void cli_dropbear_exit(int exitcode, const char* format, va_list param); 32 static void cli_dropbear_exit(int exitcode, const char* format, va_list param) ATTRIB_NORETURN;
33 static void cli_dropbear_log(int priority, const char* format, va_list param); 33 static void cli_dropbear_log(int priority, const char* format, va_list param);
34 34
35 #ifdef ENABLE_CLI_PROXYCMD 35 #ifdef ENABLE_CLI_PROXYCMD
36 static void cli_proxy_cmd(int *sock_in, int *sock_out); 36 static void cli_proxy_cmd(int *sock_in, int *sock_out);
37 #endif 37 #endif