summaryrefslogtreecommitdiffstats
path: root/rpc/rpcl/block.x
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/rpcl/block.x')
-rw-r--r--rpc/rpcl/block.x5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpc/rpcl/block.x b/rpc/rpcl/block.x
index e876ba4..4d840ff 100644
--- a/rpc/rpcl/block.x
+++ b/rpc/rpcl/block.x
@@ -1,3 +1,8 @@
+/* rpcgen generates code that results in unused-variable warnings */
+#ifdef RPC_XDR
+%#include "rpc-pragmas.h"
+#endif
+
struct blockCreate {
char ipaddr[255];
char volume[255];