From 5425131a498cdab54fbcfbae4991b22ebfa793ee Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 8 Jul 2012 18:13:10 -0700 Subject: Add _X_NORETURN to additional functions suggested by gcc warnings Signed-off-by: Alan Coopersmith --- scope.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scope.c') diff --git a/scope.c b/scope.c index fc512f4..c20deba 100644 --- a/scope.c +++ b/scope.c @@ -128,7 +128,7 @@ static CMDResult CMDDisable(int argc, char **argv); static CMDResult CMDEnable(int argc, char **argv); static CMDResult CMDLevel(int argc, char **argv); static CMDResult CMDAudio(int argc, char **argv); -static CMDResult CMDQuit(int argc, char **argv); +static CMDResult CMDQuit(int argc, char **argv) _X_NORETURN; static CMDResult CMDHelp(int argc, char **argv); typedef struct _CMDFunc { @@ -646,7 +646,7 @@ GetScopePort(void) /* */ /* ********************************************** */ -static void +static void _X_NORETURN Usage(void) { fprintf(stderr, -- cgit v1.2.1