mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Add some pragmas so that Mac compilers know that fatalbox() and
modalfatalbox() don't return. [originally from svn r2374]
This commit is contained in:
parent
f883570ed8
commit
d7f5c50562
4
putty.h
4
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);
|
||||
|
Loading…
Reference in New Issue
Block a user