From 60ca2be037f739e30daba1dc5b66a166fcdc0bf2 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 15 Jun 2024 10:55:15 -0400 Subject: [PATCH] all: quiet macOS build again --- bin/9c | 5 +++++ src/cmd/postscript/common/request.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/9c b/bin/9c index 299d70b2..0ebdfa01 100755 --- a/bin/9c +++ b/bin/9c @@ -18,6 +18,9 @@ usegcc() -Wno-stringop-truncation \ -Wno-stringop-overflow \ -Wno-format-truncation \ + -Wno-deprecated-pragma \ + -Wno-unused-but-set-variable \ + -Wno-deprecated-declarations \ -fno-omit-frame-pointer \ -fsigned-char \ -fcommon \ @@ -77,6 +80,8 @@ useclang() -Wno-gnu-designator \ -Wno-array-bounds \ -Wno-unneeded-internal-declaration \ + -Wno-deprecated-pragma \ + -Wno-unused-but-set-variable \ -fsigned-char \ -fno-caret-diagnostics \ -fcommon \ diff --git a/src/cmd/postscript/common/request.c b/src/cmd/postscript/common/request.c index 2e96093b..0dc00653 100644 --- a/src/cmd/postscript/common/request.c +++ b/src/cmd/postscript/common/request.c @@ -63,7 +63,6 @@ saverequest(want) } /* End of saverequest */ /*****************************************************************************/ -extern void dumprequest(); void writerequest(page, fp_out)