[PATCH:xscope 3/6] ifdef out unused static functions

Thomas Klausner tk at giga.or.at
Tue Dec 7 07:59:15 UTC 2021


---
 printnas.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/printnas.c b/printnas.c
index d2c5d17..a60cb46 100644
--- a/printnas.c
+++ b/printnas.c
@@ -138,6 +138,7 @@ PrintSuccessfulAudioSetUpReply(const unsigned char *buf)
 
 /* Error Printing procedures */
 
+#ifdef UNUSED
 static void
 AudioRequestError(const unsigned char *buf)
 {
@@ -227,6 +228,7 @@ AudioImplementationError(const unsigned char *buf)
     PrintField(buf, 8, 2, CARD16, "minor opcode");
     PrintField(buf, 10, 1, CARD8, "major opcode");
 }
+#endif
 
 /* ************************************************************ */
 /*								*/
-- 
2.34.1



More information about the xorg-devel mailing list