Add some pragmas so that Mac compilers know that fatalbox() and
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 29 Dec 2002 13:21:12 +0000 (13:21 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 29 Dec 2002 13:21:12 +0000 (13:21 +0000)
modalfatalbox() don't return.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2374 cda61777-01e9-0310-a592-d414129be87e

putty.h

diff --git a/putty.h b/putty.h
index 8953125..4b85aa9 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -426,6 +426,10 @@ Mouse_Button translate_button(void *frontend, Mouse_Button b);
 void connection_fatal(void *frontend, char *, ...);
 void fatalbox(char *, ...);
 void modalfatalbox(char *, ...);
+#ifdef macintosh
+#pragma noreturn(fatalbox)
+#pragma noreturn(modalfatalbox)
+#endif
 void beep(void *frontend, int);
 void begin_session(void *frontend);
 void sys_cursor(void *frontend, int x, int y);