From a74c5d915c3095059356f83d1b845192e5c472c2 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 25 Sep 2011 10:57:00 -0700 Subject: Add _X_UNUSED attributes to silence unused parameter warnings Not all the transport variants use all the arguments to every function, but as long as one transport type needs it, they all get the args passed. Signed-off-by: Alan Coopersmith Reviewed-by: Jeremy Huddleston --- Xtransint.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Xtransint.h') diff --git a/Xtransint.h b/Xtransint.h index bfd79d6..1052777 100644 --- a/Xtransint.h +++ b/Xtransint.h @@ -78,6 +78,10 @@ from The Open Group. #include "Xtrans.h" +#ifndef _X_UNUSED /* Defined in Xfuncproto.h in xproto >= 7.0.22 */ +# define _X_UNUSED /* */ +#endif + #ifdef XTRANSDEBUG # include #endif /* XTRANSDEBUG */ -- cgit v1.2.3