Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107384441
D47340.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D47340.diff
View Options
diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h
--- a/include/rpc/xdr.h
+++ b/include/rpc/xdr.h
@@ -278,7 +278,7 @@
* These are the "generic" xdr routines.
*/
__BEGIN_DECLS
-extern bool_t xdr_void(void);
+extern bool_t xdr_void(XDR *, void *);
extern bool_t xdr_int(XDR *, int *);
extern bool_t xdr_u_int(XDR *, u_int *);
extern bool_t xdr_long(XDR *, long *);
diff --git a/lib/libc/xdr/xdr.c b/lib/libc/xdr/xdr.c
--- a/lib/libc/xdr/xdr.c
+++ b/lib/libc/xdr/xdr.c
@@ -84,13 +84,11 @@
* XDR nothing
*/
bool_t
-xdr_void(void)
+xdr_void(XDR *xdrs __unused, void *ptr __unused)
{
-
return (TRUE);
}
-
/*
* XDR integers
*/
diff --git a/sys/rpc/xdr.h b/sys/rpc/xdr.h
--- a/sys/rpc/xdr.h
+++ b/sys/rpc/xdr.h
@@ -285,7 +285,7 @@
* These are the "generic" xdr routines.
*/
__BEGIN_DECLS
-extern bool_t xdr_void(void);
+extern bool_t xdr_void(XDR *, void *);
extern bool_t xdr_int(XDR *, int *);
extern bool_t xdr_u_int(XDR *, u_int *);
extern bool_t xdr_long(XDR *, long *);
diff --git a/sys/xdr/xdr.c b/sys/xdr/xdr.c
--- a/sys/xdr/xdr.c
+++ b/sys/xdr/xdr.c
@@ -84,9 +84,8 @@
* XDR nothing
*/
bool_t
-xdr_void(void)
+xdr_void(XDR *xrds __unused, void *ptr __unused)
{
-
return (TRUE);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 14, 9:28 AM (16 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15792982
Default Alt Text
D47340.diff (1 KB)
Attached To
Mode
D47340: rpc: Fix the definition of xdr_void()
Attached
Detach File
Event Timeline
Log In to Comment