aboutsummaryrefslogtreecommitdiff
path: root/nis/rpcsvc/ypupd.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-31 16:56:02 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-31 16:56:02 +0000
commit4e6bc1f61caff64d2f667dbb5c2d031f75d340be (patch)
tree1d12ae6d1c1a301ee64fbf9f45cdc99160013d40 /nis/rpcsvc/ypupd.h
parentfa39f7f7bedcbb61c3f6b9f1bbe3d1623ca6a8e9 (diff)
downloadglibc-4e6bc1f61caff64d2f667dbb5c2d031f75d340be.zip
glibc-4e6bc1f61caff64d2f667dbb5c2d031f75d340be.tar.gz
glibc-4e6bc1f61caff64d2f667dbb5c2d031f75d340be.tar.bz2
(main): Use return instead of exit to avoid warning.
2000-12-31 Andreas Jaeger <aj@suse.de> * tst-fmon.c (main): Use return instead of exit to avoid warning.
Diffstat (limited to 'nis/rpcsvc/ypupd.h')
-rw-r--r--nis/rpcsvc/ypupd.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/nis/rpcsvc/ypupd.h b/nis/rpcsvc/ypupd.h
index 5b17b62..40e8b75 100644
--- a/nis/rpcsvc/ypupd.h
+++ b/nis/rpcsvc/ypupd.h
@@ -50,7 +50,7 @@ typedef struct {
char *yp_buf_val;
} yp_buf;
-extern bool_t xdr_yp_buf __P ((XDR *, yp_buf*));
+extern bool_t xdr_yp_buf (XDR *, yp_buf*);
struct ypupdate_args {
char *mapname;
@@ -59,7 +59,7 @@ struct ypupdate_args {
};
typedef struct ypupdate_args ypupdate_args;
-extern bool_t xdr_ypupdate_args __P ((XDR *, ypupdate_args*));
+extern bool_t xdr_ypupdate_args (XDR *, ypupdate_args*);
struct ypdelete_args {
char *mapname;
@@ -67,23 +67,23 @@ struct ypdelete_args {
};
typedef struct ypdelete_args ypdelete_args;
-extern bool_t xdr_ypdelete_args __P ((XDR *, ypdelete_args*));
+extern bool_t xdr_ypdelete_args (XDR *, ypdelete_args*);
#define YPU_PROG 100028
#define YPU_VERS 1
#define YPU_CHANGE 1
-extern u_int * ypu_change_1 __P ((ypupdate_args *, CLIENT *));
+extern u_int * ypu_change_1 (ypupdate_args *, CLIENT *);
extern u_int * ypu_change_1_svc __P((ypupdate_args *, struct svc_req *));
#define YPU_INSERT 2
-extern u_int * ypu_insert_1 __P ((ypupdate_args *, CLIENT *));
-extern u_int * ypu_insert_1_svc __P ((ypupdate_args *, struct svc_req *));
+extern u_int * ypu_insert_1 (ypupdate_args *, CLIENT *);
+extern u_int * ypu_insert_1_svc (ypupdate_args *, struct svc_req *);
#define YPU_DELETE 3
-extern u_int * ypu_delete_1 __P ((ypdelete_args *, CLIENT *));
-extern u_int * ypu_delete_1_svc __P ((ypdelete_args *, struct svc_req *));
+extern u_int * ypu_delete_1 (ypdelete_args *, CLIENT *);
+extern u_int * ypu_delete_1_svc (ypdelete_args *, struct svc_req *);
#define YPU_STORE 4
-extern u_int * ypu_store_1 __P ((ypupdate_args *, CLIENT *));
-extern u_int * ypu_store_1_svc __P ((ypupdate_args *, struct svc_req *));
+extern u_int * ypu_store_1 (ypupdate_args *, CLIENT *);
+extern u_int * ypu_store_1_svc (ypupdate_args *, struct svc_req *);
__END_DECLS