summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scope.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/scope.c b/scope.c
index 2fec497..9b0ddf9 100644
--- a/scope.c
+++ b/scope.c
@@ -633,6 +633,11 @@ CMDStep (
return CMDProceed;
}
+#ifdef __SUNPRO_C
+/* prevent "Function has no return statement" error for CMDQuit */
+#pragma does_not_return(exit)
+#endif
+
static CMDResult
CMDQuit (
int argc,