cmdutils: Mark exit_program as av_noreturn
authorLuca Barbato <lu_zero@gentoo.org>
Thu, 27 Mar 2014 23:40:43 +0000 (00:40 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Thu, 27 Mar 2014 23:40:43 +0000 (00:40 +0100)
cmdutils.h

index f1b69f9..d90ad45 100644 (file)
@@ -52,7 +52,7 @@ void register_exit(void (*cb)(int ret));
 /**
  * Wraps exit with a program-specific cleanup routine.
  */
-void exit_program(int ret);
+void exit_program(int ret) av_noreturn;
 
 /**
  * Initialize the cmdutils option system, in particular