]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - tools/rpcgen/rpc_cout.c
Oops, I missed another unused var.
[nfs-utils.git] / tools / rpcgen / rpc_cout.c
index 9bc20bbd49dfd2a36a2347c249db08e3dc4bc61c..af9288dcbc4ada484da27f04f3d463c9a0b4fdee 100644 (file)
@@ -155,11 +155,6 @@ print_generic_header(char *procname, int pointerp)
 static void
 print_header(definition *def)
 {
 static void
 print_header(definition *def)
 {
-       decl_list      *dl;
-       bas_type       *ptr;
-       int             i;
-
-
        print_generic_header(def->def_name,
                def->def_kind != DEF_TYPEDEF ||
                !isvectordef(def->def.ty.old_type, def->def.ty.rel));
        print_generic_header(def->def_name,
                def->def_kind != DEF_TYPEDEF ||
                !isvectordef(def->def.ty.old_type, def->def.ty.rel));
@@ -170,7 +165,7 @@ print_header(definition *def)
        if (Inline == 0)
                return;
        /* May cause lint to complain. but  ... */
        if (Inline == 0)
                return;
        /* May cause lint to complain. but  ... */
-       f_print(fout, "\t register long *buf;\n\n");
+       f_print(fout, "\t register int32_t *buf;\n\n");
 }
 
 static void
 }
 
 static void
@@ -668,14 +663,14 @@ emit_single_in_line(declaration *decl, int flag, relation rel)
        {
                free(upp_case);
                freed=1;
        {
                free(upp_case);
                freed=1;
-               upp_case="LONG";
+               upp_case="INT32";
        }
 
        if(strcmp(upp_case,"U_INT") == 0)
        {
                free(upp_case);
                freed=1;
        }
 
        if(strcmp(upp_case,"U_INT") == 0)
        {
                free(upp_case);
                freed=1;
-               upp_case="U_LONG";
+               upp_case="U_INT32";
        }
 
 
        }