[libav-devel] [PATCH] cmdutils: Mark exit_program as av_noreturn

Luca Barbato lu_zero at gentoo.org
Fri Mar 28 17:17:54 CET 2014


---
 cmdutils.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmdutils.h b/cmdutils.h
index f1b69f9..d90ad45 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -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
-- 
1.8.5.2 (Apple Git-48)



More information about the libav-devel mailing list