Mark error handlers as "noreturn"
Match X headers to satisfy newer compilers.
This commit is contained in:
@@ -36,7 +36,7 @@ extern void PrintFormatted(char *f, char *s0, char *s1, char *s2, char *s3, char
|
||||
extern void WmInitErrorHandler (Display *display);
|
||||
extern int WmXErrorHandler (Display *display, XErrorEvent *errorEvent);
|
||||
extern int WmXIOErrorHandler (Display *display);
|
||||
extern void WmXtErrorHandler (char *message);
|
||||
extern void WmXtErrorHandler (char *message) __attribute__((noreturn));
|
||||
extern void WmXtWarningHandler (char *message);
|
||||
extern void Warning (char *message);
|
||||
#ifndef NO_MESSAGE_CATALOG
|
||||
|
||||
Reference in New Issue
Block a user