This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Patches from fixincludes
- To: libc-alpha Mailinglist <libc-alpha at sourceware dot cygnus dot com>
- Subject: Patches from fixincludes
- From: Andreas Jaeger <aj at suse dot de>
- Date: 22 Jan 2000 11:47:47 +0100
- Cc: Zack Weinberg <zack at wolery dot cumb dot org>
Zack forwarded me the following patches which have come AFAIK from
complaints by gcc's fixincludes.
Btw. are those _IOWR macros in rpc_des.h correct?
Uli, please add them to glibc 2.2.
Andreas
2000-01-22 Andreas Jaeger <aj@suse.de>
* sunrpc/rpc/svc.h: Fix description for svc_register.
* sunrpc/rpc/rpc_des.h (DESIOCBLOCK, DESIOCQUICK): Add quotes for
first parameter.
Patches by Zack Weinberg <zack@wolery.cumb.org>.
============================================================
Index: sunrpc/rpc/svc.h
--- sunrpc/rpc/svc.h 1999/10/09 21:25:53 1.13
+++ sunrpc/rpc/svc.h 2000/01/22 10:30:58
@@ -166,7 +166,7 @@
* SVCXPRT *xprt;
* rpcprog_t prog;
* rpcvers_t vers;
- * void (*dispatch)();
+ * void (*dispatch)(struct svc_req*, SVCXPRT*);
* rpcprot_t protocol; like TCP or UDP, zero means do not register
*/
extern bool_t svc_register (SVCXPRT *__xprt, rpcprog_t __prog,
============================================================
Index: sunrpc/rpc/rpc_des.h
--- sunrpc/rpc/rpc_des.h 1998/03/24 10:37:33 1.1
+++ sunrpc/rpc/rpc_des.h 2000/01/22 10:30:59
@@ -73,11 +73,11 @@
/*
* Encrypt an arbitrary sized buffer
*/
-#define DESIOCBLOCK _IOWR(d, 6, struct desparams)
+#define DESIOCBLOCK _IOWR('d', 6, struct desparams)
/*
* Encrypt of small amount of data, quickly
*/
-#define DESIOCQUICK _IOWR(d, 7, struct desparams)
+#define DESIOCQUICK _IOWR('d', 7, struct desparams)
#endif
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de