This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patches from fixincludes



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]