about summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/Makefile1
-rw-r--r--sunrpc/rpc_cout.c10
2 files changed, 6 insertions, 5 deletions
diff --git a/sunrpc/Makefile b/sunrpc/Makefile
index baee72e85b..bde8cdc717 100644
--- a/sunrpc/Makefile
+++ b/sunrpc/Makefile
@@ -107,6 +107,7 @@ CFLAGS-xrusers.c = -Wno-unused
 CFLAGS-xspray.c = -Wno-unused
 CFLAGS-xnfs_prot.c = -Wno-unused
 CFLAGS-xrquota.c = -Wno-unused
+CFLAGS-xkey_prot.c = -Wno-unused
 
 include ../Rules
 
diff --git a/sunrpc/rpc_cout.c b/sunrpc/rpc_cout.c
index ab3b24da74..3b1102d2bb 100644
--- a/sunrpc/rpc_cout.c
+++ b/sunrpc/rpc_cout.c
@@ -175,7 +175,7 @@ print_prog_header(const proc_list *plist)
 static void
 print_trailer(void)
 {
-	f_print(fout, "\treturn (TRUE);\n");
+	f_print(fout, "\treturn TRUE;\n");
 	f_print(fout, "}\n");
 }
 
@@ -213,7 +213,7 @@ print_ifclose(int indent)
 {
 	f_print(fout, ")) {\n");
 	tabify(fout, indent);
-	f_print(fout, "\t return (FALSE);\n");
+	f_print(fout, "\t return FALSE;\n");
 	tabify(fout, indent);
 	f_print(fout, " }\n");
 }
@@ -377,7 +377,7 @@ emit_union(const definition *def)
 #endif
   } else {
     f_print(fout, "\tdefault:\n");
-    f_print(fout, "\t\treturn (FALSE);\n");
+    f_print(fout, "\t\treturn FALSE;\n");
   }
 
   f_print(fout, "\t}\n");
@@ -444,7 +444,7 @@ emit_struct(definition *def)
 			if(flag == PUT)
 				f_print(fout,"\n\t if (xdrs->x_op == XDR_ENCODE) {\n");
 			else
-				f_print(fout,"\n \t return (TRUE);\n\t} else if (xdrs->x_op == XDR_DECODE) {\n");
+				f_print(fout,"\n \t return TRUE;\n\t} else if (xdrs->x_op == XDR_DECODE) {\n");
 
 
 			i=0;
@@ -583,7 +583,7 @@ emit_struct(definition *def)
 				}
 			flag=GET;
 		}
-		f_print(fout,"\t return(TRUE);\n\t}\n\n");
+		f_print(fout,"\t return TRUE;\n\t}\n\n");
 
 		/* now take care of XDR_FREE case */