summaryrefslogtreecommitdiff
path: root/app/xedit/lisp/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/xedit/lisp/core.c')
-rw-r--r--app/xedit/lisp/core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/xedit/lisp/core.c b/app/xedit/lisp/core.c
index 89f5d5c3c..a9792e94b 100644
--- a/app/xedit/lisp/core.c
+++ b/app/xedit/lisp/core.c
@@ -4308,6 +4308,11 @@ Lisp_Pushnew(LispBuiltin *builtin)
return (result);
}
+#ifdef __SUNPRO_C
+/* prevent "Function has no return statement" error for Lisp_Quit */
+#pragma does_not_return(exit)
+#endif
+
LispObj *
Lisp_Quit(LispBuiltin *builtin)
/*