diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-07-08 18:13:10 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-10-02 22:14:45 -0700 |
commit | 5425131a498cdab54fbcfbae4991b22ebfa793ee (patch) | |
tree | e0cecd3c49a047d7fe027656fcea633e09317944 | |
parent | f0df23d778ae5b85745de0e48729b039b5b3f69a (diff) |
Add _X_NORETURN to additional functions suggested by gcc warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | common.c | 4 | ||||
-rw-r--r-- | scope.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -107,14 +107,14 @@ SignalINT(int sig) Interrupt = 1; } -static void +static void _X_NORETURN SignalQUIT(int sig) { debug(1, (stderr, "==> SIGQUIT received\n")); exit(1); } -static void +static void _X_NORETURN SignalTERM(int sig) { debug(1, (stderr, "==> SIGTERM received\n")); @@ -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, |