diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-01 11:25:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-01 11:25:26 +0000 |
commit | ee586e0ec492d818be9aa0c77dd44095d42f486f (patch) | |
tree | 21172ee5bbec6a0a0be049d633b6b9e7d9034c90 /sunrpc/rpc_hout.c | |
parent | 28ab8526f2cf0dfbe0da8b4a6ef46e5efb8c3e4b (diff) | |
download | glibc-ee586e0ec492d818be9aa0c77dd44095d42f486f.tar.gz |
Update.
1998-12-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* sunrpc/auth_des.c: Use new XDR int32 functions for integers.
* sunrpc/rpc/xdr.h: Add IXDR INT32 functions.
* sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid
conflicts with new solaris version.
* sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc
doesn't zero allocated memory).
* sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid
conflicts with xdr functions. Solves PR libc/877.
* nis/rpcsvc/nis.x: Use always uint32_t.
* nis/rpcsvc/nis.h: Likewise.
* nis/rpcsvc/nis_object.x: Likewise.
1998-12-01 Ulrich Drepper <drepper@cygnus.com>
* math/libm-test.c: Various cleanups. Patch by Zack Weinberg.
* sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for
parameter. Patch by Christian Gafton.
* string/envz.h: Add prototype for envz_remove.
Reported by Andreas Jaeger.
Diffstat (limited to 'sunrpc/rpc_hout.c')
-rw-r--r-- | sunrpc/rpc_hout.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/sunrpc/rpc_hout.c b/sunrpc/rpc_hout.c index 4c49d10bbe..a41a7e7c91 100644 --- a/sunrpc/rpc_hout.c +++ b/sunrpc/rpc_hout.c @@ -48,7 +48,6 @@ static void pargdef (definition * def); static void pstructdef (definition * def); static void puniondef (definition * def); static void pdefine (const char *name, const char *num); -static void puldefine (const char *name, const char *num); static int define_printed (proc_list * stop, version_list * start); static void pprogramdef (definition * def); static void parglist (proc_list * proc, const char *addargtype); @@ -251,12 +250,6 @@ pdefine (const char *name, const char *num) f_print (fout, "#define %s %s\n", name, num); } -static void -puldefine (const char *name, const char *num) -{ - f_print (fout, "#define %s ((u_long)%s)\n", name, num); -} - static int define_printed (proc_list *stop, version_list *start) { @@ -302,7 +295,7 @@ pprogramdef (definition *def) pargdef (def); - puldefine (def->def_name, def->def.pr.prog_num); + pdefine (def->def_name, def->def.pr.prog_num); for (vers = def->def.pr.versions; vers != NULL; vers = vers->next) { if (tblflag) @@ -312,7 +305,7 @@ pprogramdef (definition *def) f_print (fout, "extern %s_%s_nproc;\n", locase (def->def_name), vers->vers_num); } - puldefine (vers->vers_name, vers->vers_num); + pdefine (vers->vers_name, vers->vers_num); /* * Print out 2 definitions, one for ANSI-C, another for @@ -327,7 +320,7 @@ pprogramdef (definition *def) { if (!define_printed(proc, def->def.pr.versions)) { - puldefine (proc->proc_name, proc->proc_num); + pdefine (proc->proc_name, proc->proc_num); } f_print (fout, "%s", ext); pprocdef (proc, vers, NULL, 0, 2); @@ -359,7 +352,7 @@ pprogramdef (definition *def) { if (!define_printed(proc, def->def.pr.versions)) { - puldefine(proc->proc_name, proc->proc_num); + pdefine(proc->proc_name, proc->proc_num); } f_print (fout, "%s", ext); pprocdef (proc, vers, "CLIENT *", 0, i); |