diff 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
line wrap: on
line diff
--- a/cli-main.c	Thu Apr 07 12:34:44 2011 +0000
+++ b/cli-main.c	Thu Apr 07 12:59:18 2011 +0000
@@ -29,7 +29,7 @@
 #include "runopts.h"
 #include "session.h"
 
-static void cli_dropbear_exit(int exitcode, const char* format, va_list param);
+static void cli_dropbear_exit(int exitcode, const char* format, va_list param) ATTRIB_NORETURN;
 static void cli_dropbear_log(int priority, const char* format, va_list param);
 
 #ifdef ENABLE_CLI_PROXYCMD