aboutsummaryrefslogtreecommitdiff
path: root/X11/xtrans/transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'X11/xtrans/transport.c')
-rw-r--r--X11/xtrans/transport.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/X11/xtrans/transport.c b/X11/xtrans/transport.c
index 84a2915a1..0013b01d8 100644
--- a/X11/xtrans/transport.c
+++ b/X11/xtrans/transport.c
@@ -55,6 +55,12 @@ from The Open Group.
#include "Xtransint.h"
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wformat-nonliteral"
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+#endif
+
#ifdef LOCALCONN
#include "Xtranslcl.c"
#endif
@@ -66,3 +72,7 @@ from The Open Group.
#endif
#include "Xtrans.c"
#include "Xtransutil.c"
+
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif