summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-07-08 18:13:10 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-10-02 22:14:45 -0700
commit5425131a498cdab54fbcfbae4991b22ebfa793ee (patch)
treee0cecd3c49a047d7fe027656fcea633e09317944 /scope.c
parentf0df23d778ae5b85745de0e48729b039b5b3f69a (diff)
downloadxscope-5425131a498cdab54fbcfbae4991b22ebfa793ee.tar.gz
Add _X_NORETURN to additional functions suggested by gcc warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c4
1 files changed, 2 insertions, 2 deletions
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,