summaryrefslogtreecommitdiff
path: root/include/rpc/xdr.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-15 13:16:59 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-15 13:16:59 +0000
commit67fb342b086501f95fdadb3cf69ff9abb7a714e7 (patch)
treeaccf534064acd6e76fa8e45a6252fbeb52f5593c /include/rpc/xdr.h
parent6c7a9c98a3331b4dc2044ca1ba232e05926b1aae (diff)
Makeheader files be more like GNU
Diffstat (limited to 'include/rpc/xdr.h')
-rw-r--r--include/rpc/xdr.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h
index c2505ca95..91dbcc3da 100644
--- a/include/rpc/xdr.h
+++ b/include/rpc/xdr.h
@@ -114,27 +114,27 @@ struct XDR
enum xdr_op x_op; /* operation; fast additional param */
struct xdr_ops
{
- bool_t (*x_getlong) __P ((XDR *__xdrs, long *__lp));
+ bool_t (*x_getlong) __PMT ((XDR *__xdrs, long *__lp));
/* get a long from underlying stream */
- bool_t (*x_putlong) __P ((XDR *__xdrs, __const long *__lp));
+ bool_t (*x_putlong) __PMT ((XDR *__xdrs, __const long *__lp));
/* put a long to " */
- bool_t (*x_getbytes) __P ((XDR *__xdrs, caddr_t __addr,
+ bool_t (*x_getbytes) __PMT ((XDR *__xdrs, caddr_t __addr,
u_int __len));
/* get some bytes from " */
- bool_t (*x_putbytes) __P ((XDR *__xdrs, __const char *__addr,
+ bool_t (*x_putbytes) __PMT ((XDR *__xdrs, __const char *__addr,
u_int __len));
/* put some bytes to " */
- u_int (*x_getpostn) __P ((__const XDR *__xdrs));
+ u_int (*x_getpostn) __PMT ((__const XDR *__xdrs));
/* returns bytes off from beginning */
- bool_t (*x_setpostn) __P ((XDR *__xdrs, u_int pos));
+ bool_t (*x_setpostn) __PMT ((XDR *__xdrs, u_int pos));
/* lets you reposition the stream */
- int32_t *(*x_inline) __P ((XDR *__xdrs, int len));
+ int32_t *(*x_inline) __PMT ((XDR *__xdrs, int len));
/* buf quick ptr to buffered data */
- void (*x_destroy) __P ((XDR *__xdrs));
+ void (*x_destroy) __PMT ((XDR *__xdrs));
/* free privates of this xdr_stream */
- bool_t (*x_getint32) __P ((XDR *__xdrs, int32_t *__ip));
+ bool_t (*x_getint32) __PMT ((XDR *__xdrs, int32_t *__ip));
/* get a int from underlying stream */
- bool_t (*x_putint32) __P ((XDR *__xdrs, __const int32_t *__ip));
+ bool_t (*x_putint32) __PMT ((XDR *__xdrs, __const int32_t *__ip));
/* put a int to " */
}
*x_ops;
@@ -153,7 +153,7 @@ struct XDR
* allocate dynamic storage of the appropriate size and return it.
* bool_t (*xdrproc_t)(XDR *, caddr_t *);
*/
-typedef bool_t (*xdrproc_t) __P ((XDR *, void *,...));
+typedef bool_t (*xdrproc_t) __PMT ((XDR *, void *,...));
/*