0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/motif/clients-mwm-WmError.h.patch
Tee KOBAYASHI 28a5a46243 motif: Fix build for Clang 16
%ci:no-build
2023-04-13 04:18:27 +09:00

12 lines
484 B
Diff

--- a/clients/mwm/WmError.h
+++ b/clients/mwm/WmError.h
@@ -32,7 +32,7 @@
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