aboutsummaryrefslogtreecommitdiff
path: root/nis/rpcsvc
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
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')
-rw-r--r--nis/rpcsvc/yp.h128
-rw-r--r--nis/rpcsvc/yp_prot.h36
-rw-r--r--nis/rpcsvc/ypupd.h20
3 files changed, 92 insertions, 92 deletions
diff --git a/nis/rpcsvc/yp.h b/nis/rpcsvc/yp.h
index d951c15..ffc13b8 100644
--- a/nis/rpcsvc/yp.h
+++ b/nis/rpcsvc/yp.h
@@ -241,96 +241,96 @@ __BEGIN_DECLS
#define YPVERS 2
#define YPPROC_NULL 0
-extern void *ypproc_null_2 __P ((void *, CLIENT *));
-extern void *ypproc_null_2_svc __P ((void *, struct svc_req *));
+extern void *ypproc_null_2 (void *, CLIENT *);
+extern void *ypproc_null_2_svc (void *, struct svc_req *);
#define YPPROC_DOMAIN 1
-extern bool_t *ypproc_domain_2 __P ((domainname *, CLIENT *));
-extern bool_t *ypproc_domain_2_svc __P ((domainname *, struct svc_req *));
+extern bool_t *ypproc_domain_2 (domainname *, CLIENT *);
+extern bool_t *ypproc_domain_2_svc (domainname *, struct svc_req *);
#define YPPROC_DOMAIN_NONACK 2
-extern bool_t *ypproc_domain_nonack_2 __P ((domainname *, CLIENT *));
-extern bool_t *ypproc_domain_nonack_2_svc __P ((domainname *, struct svc_req *));
+extern bool_t *ypproc_domain_nonack_2 (domainname *, CLIENT *);
+extern bool_t *ypproc_domain_nonack_2_svc (domainname *, struct svc_req *);
#define YPPROC_MATCH 3
-extern ypresp_val *ypproc_match_2 __P ((ypreq_key *, CLIENT *));
-extern ypresp_val *ypproc_match_2_svc __P ((ypreq_key *, struct svc_req *));
+extern ypresp_val *ypproc_match_2 (ypreq_key *, CLIENT *);
+extern ypresp_val *ypproc_match_2_svc (ypreq_key *, struct svc_req *);
#define YPPROC_FIRST 4
-extern ypresp_key_val *ypproc_first_2 __P ((ypreq_key *, CLIENT *));
-extern ypresp_key_val *ypproc_first_2_svc __P ((ypreq_key *, struct svc_req *));
+extern ypresp_key_val *ypproc_first_2 (ypreq_key *, CLIENT *);
+extern ypresp_key_val *ypproc_first_2_svc (ypreq_key *, struct svc_req *);
#define YPPROC_NEXT 5
-extern ypresp_key_val *ypproc_next_2 __P ((ypreq_key *, CLIENT *));
-extern ypresp_key_val *ypproc_next_2_svc __P ((ypreq_key *, struct svc_req *));
+extern ypresp_key_val *ypproc_next_2 (ypreq_key *, CLIENT *);
+extern ypresp_key_val *ypproc_next_2_svc (ypreq_key *, struct svc_req *);
#define YPPROC_XFR 6
-extern ypresp_xfr *ypproc_xfr_2 __P ((ypreq_xfr *, CLIENT *));
-extern ypresp_xfr *ypproc_xfr_2_svc __P ((ypreq_xfr *, struct svc_req *));
+extern ypresp_xfr *ypproc_xfr_2 (ypreq_xfr *, CLIENT *);
+extern ypresp_xfr *ypproc_xfr_2_svc (ypreq_xfr *, struct svc_req *);
#define YPPROC_CLEAR 7
-extern void *ypproc_clear_2 __P ((void *, CLIENT *));
-extern void *ypproc_clear_2_svc __P ((void *, struct svc_req *));
+extern void *ypproc_clear_2 (void *, CLIENT *);
+extern void *ypproc_clear_2_svc (void *, struct svc_req *);
#define YPPROC_ALL 8
-extern ypresp_all *ypproc_all_2 __P ((ypreq_nokey *, CLIENT *));
-extern ypresp_all *ypproc_all_2_svc __P ((ypreq_nokey *, struct svc_req *));
+extern ypresp_all *ypproc_all_2 (ypreq_nokey *, CLIENT *);
+extern ypresp_all *ypproc_all_2_svc (ypreq_nokey *, struct svc_req *);
#define YPPROC_MASTER 9
-extern ypresp_master *ypproc_master_2 __P ((ypreq_nokey *, CLIENT *));
-extern ypresp_master *ypproc_master_2_svc __P ((ypreq_nokey *, struct svc_req *));
+extern ypresp_master *ypproc_master_2 (ypreq_nokey *, CLIENT *);
+extern ypresp_master *ypproc_master_2_svc (ypreq_nokey *, struct svc_req *);
#define YPPROC_ORDER 10
-extern ypresp_order *ypproc_order_2 __P ((ypreq_nokey *, CLIENT *));
-extern ypresp_order *ypproc_order_2_svc __P ((ypreq_nokey *, struct svc_req *));
+extern ypresp_order *ypproc_order_2 (ypreq_nokey *, CLIENT *);
+extern ypresp_order *ypproc_order_2_svc (ypreq_nokey *, struct svc_req *);
#define YPPROC_MAPLIST 11
-extern ypresp_maplist *ypproc_maplist_2 __P ((domainname *, CLIENT *));
-extern ypresp_maplist *ypproc_maplist_2_svc __P ((domainname *, struct svc_req *));
-extern int ypprog_2_freeresult __P ((SVCXPRT *, xdrproc_t, caddr_t));
+extern ypresp_maplist *ypproc_maplist_2 (domainname *, CLIENT *);
+extern ypresp_maplist *ypproc_maplist_2_svc (domainname *, struct svc_req *);
+extern int ypprog_2_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
#define YPPUSH_XFRRESPPROG (0x40000000)
#define YPPUSH_XFRRESPVERS 1
#define YPPUSHPROC_NULL 0
-extern void *yppushproc_null_1 __P ((void *, CLIENT *));
-extern void *yppushproc_null_1_svc __P ((void *, struct svc_req *));
+extern void *yppushproc_null_1 (void *, CLIENT *);
+extern void *yppushproc_null_1_svc (void *, struct svc_req *);
#define YPPUSHPROC_XFRRESP 1
-extern void *yppushproc_xfrresp_1 __P ((yppushresp_xfr *, CLIENT *));
-extern void *yppushproc_xfrresp_1_svc __P ((yppushresp_xfr *, struct svc_req *));
-extern int yppush_xfrrespprog_1_freeresult __P ((SVCXPRT *, xdrproc_t, caddr_t));
+extern void *yppushproc_xfrresp_1 (yppushresp_xfr *, CLIENT *);
+extern void *yppushproc_xfrresp_1_svc (yppushresp_xfr *, struct svc_req *);
+extern int yppush_xfrrespprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
#define YPBINDPROG 100007
#define YPBINDVERS 2
#define YPBINDPROC_NULL 0
-extern void *ypbindproc_null_2 __P ((void *, CLIENT *));
-extern void *ypbindproc_null_2_svc __P ((void *, struct svc_req *));
+extern void *ypbindproc_null_2 (void *, CLIENT *);
+extern void *ypbindproc_null_2_svc (void *, struct svc_req *);
#define YPBINDPROC_DOMAIN 1
-extern ypbind_resp *ypbindproc_domain_2 __P ((domainname *, CLIENT *));
-extern ypbind_resp *ypbindproc_domain_2_svc __P ((domainname *, struct svc_req *));
+extern ypbind_resp *ypbindproc_domain_2 (domainname *, CLIENT *);
+extern ypbind_resp *ypbindproc_domain_2_svc (domainname *, struct svc_req *);
#define YPBINDPROC_SETDOM 2
-extern void *ypbindproc_setdom_2 __P ((ypbind_setdom *, CLIENT *));
-extern void *ypbindproc_setdom_2_svc __P ((ypbind_setdom *, struct svc_req *));
-extern int ypbindprog_2_freeresult __P ((SVCXPRT *, xdrproc_t, caddr_t));
-
-
-extern bool_t xdr_ypstat __P ((XDR *, ypstat*));
-extern bool_t xdr_ypxfrstat __P ((XDR *, ypxfrstat*));
-extern bool_t xdr_domainname __P ((XDR *, domainname*));
-extern bool_t xdr_mapname __P ((XDR *, mapname*));
-extern bool_t xdr_peername __P ((XDR *, peername*));
-extern bool_t xdr_keydat __P ((XDR *, keydat*));
-extern bool_t xdr_valdat __P ((XDR *, valdat*));
-extern bool_t xdr_ypmap_parms __P ((XDR *, ypmap_parms*));
-extern bool_t xdr_ypreq_key __P ((XDR *, ypreq_key*));
-extern bool_t xdr_ypreq_nokey __P ((XDR *, ypreq_nokey*));
-extern bool_t xdr_ypreq_xfr __P ((XDR *, ypreq_xfr*));
-extern bool_t xdr_ypresp_val __P ((XDR *, ypresp_val*));
-extern bool_t xdr_ypresp_key_val __P ((XDR *, ypresp_key_val*));
-extern bool_t xdr_ypresp_master __P ((XDR *, ypresp_master*));
-extern bool_t xdr_ypresp_order __P ((XDR *, ypresp_order*));
-extern bool_t xdr_ypresp_all __P ((XDR *, ypresp_all*));
-extern bool_t xdr_ypresp_xfr __P ((XDR *, ypresp_xfr*));
-extern bool_t xdr_ypmaplist __P ((XDR *, ypmaplist*));
-extern bool_t xdr_ypresp_maplist __P ((XDR *, ypresp_maplist*));
-extern bool_t xdr_yppush_status __P ((XDR *, yppush_status*));
-extern bool_t xdr_yppushresp_xfr __P ((XDR *, yppushresp_xfr*));
-extern bool_t xdr_ypbind_resptype __P ((XDR *, ypbind_resptype*));
-extern bool_t xdr_ypbind_binding __P ((XDR *, ypbind_binding*));
-extern bool_t xdr_ypbind_resp __P ((XDR *, ypbind_resp*));
-extern bool_t xdr_ypbind_setdom __P ((XDR *, ypbind_setdom*));
+extern void *ypbindproc_setdom_2 (ypbind_setdom *, CLIENT *);
+extern void *ypbindproc_setdom_2_svc (ypbind_setdom *, struct svc_req *);
+extern int ypbindprog_2_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
+
+
+extern bool_t xdr_ypstat (XDR *, ypstat*);
+extern bool_t xdr_ypxfrstat (XDR *, ypxfrstat*);
+extern bool_t xdr_domainname (XDR *, domainname*);
+extern bool_t xdr_mapname (XDR *, mapname*);
+extern bool_t xdr_peername (XDR *, peername*);
+extern bool_t xdr_keydat (XDR *, keydat*);
+extern bool_t xdr_valdat (XDR *, valdat*);
+extern bool_t xdr_ypmap_parms (XDR *, ypmap_parms*);
+extern bool_t xdr_ypreq_key (XDR *, ypreq_key*);
+extern bool_t xdr_ypreq_nokey (XDR *, ypreq_nokey*);
+extern bool_t xdr_ypreq_xfr (XDR *, ypreq_xfr*);
+extern bool_t xdr_ypresp_val (XDR *, ypresp_val*);
+extern bool_t xdr_ypresp_key_val (XDR *, ypresp_key_val*);
+extern bool_t xdr_ypresp_master (XDR *, ypresp_master*);
+extern bool_t xdr_ypresp_order (XDR *, ypresp_order*);
+extern bool_t xdr_ypresp_all (XDR *, ypresp_all*);
+extern bool_t xdr_ypresp_xfr (XDR *, ypresp_xfr*);
+extern bool_t xdr_ypmaplist (XDR *, ypmaplist*);
+extern bool_t xdr_ypresp_maplist (XDR *, ypresp_maplist*);
+extern bool_t xdr_yppush_status (XDR *, yppush_status*);
+extern bool_t xdr_yppushresp_xfr (XDR *, yppushresp_xfr*);
+extern bool_t xdr_ypbind_resptype (XDR *, ypbind_resptype*);
+extern bool_t xdr_ypbind_binding (XDR *, ypbind_binding*);
+extern bool_t xdr_ypbind_resp (XDR *, ypbind_resp*);
+extern bool_t xdr_ypbind_setdom (XDR *, ypbind_setdom*);
__END_DECLS
diff --git a/nis/rpcsvc/yp_prot.h b/nis/rpcsvc/yp_prot.h
index 158a9c1..ae0db36 100644
--- a/nis/rpcsvc/yp_prot.h
+++ b/nis/rpcsvc/yp_prot.h
@@ -342,24 +342,24 @@ struct ypresp_all {
} ypresp_all_u;
};
-extern bool_t xdr_ypreq_key __P ((XDR *__xdrs, struct ypreq_key * __objp));
-extern bool_t xdr_ypreq_nokey __P ((XDR *__xdrs, struct ypreq_nokey * __objp));
-extern bool_t xdr_ypreq_xfr __P ((XDR *__xdrs, struct ypreq_xfr * __objp));
-extern bool_t xdr_ypresp_val __P ((XDR *__xdrs, struct ypresp_val * __objp));
-extern bool_t xdr_ypresp_key_val __P ((XDR *__xdrs, struct ypresp_key_val * __objp));
-extern bool_t xdr_ypbind_resp __P ((XDR *__xdrs, struct ypbind_resp * __objp));
-extern bool_t xdr_ypbind_setdom __P ((XDR *__xdrs, struct ypbind_setdom * __objp));
-extern bool_t xdr_ypmap_parms __P ((XDR *__xdrs, struct ypmap_parms * __objp));
-extern bool_t xdr_yppushresp_xfr __P ((XDR *__xdrs, struct yppushresp_xfr * __objp));
-extern bool_t xdr_ypresp_order __P ((XDR *__xdrs, struct ypresp_order * __objp));
-extern bool_t xdr_ypresp_master __P ((XDR *__xdrs, struct ypresp_master * __objp));
-extern bool_t xdr_ypall __P ((XDR *__xdrs, struct ypall_callback * __objp));
-extern bool_t xdr_ypresp_maplist __P ((XDR *__xdrs, struct ypresp_maplist * __objp));
-extern bool_t xdr_ypbind_binding __P ((XDR *__xdrs, struct ypbind_binding * __objp));
-extern bool_t xdr_ypbind_resptype __P ((XDR *__xdrs, enum ypbind_resptype * __objp));
-extern bool_t xdr_ypstat __P ((XDR *__xdrs, enum ypbind_resptype * __objp));
-extern bool_t xdr_ypresp_all __P ((XDR *__xdrs, struct ypresp_all * __objp));
-extern bool_t xdr_domainname __P ((XDR *__xdrs, char ** __objp));
+extern bool_t xdr_ypreq_key (XDR *__xdrs, struct ypreq_key * __objp);
+extern bool_t xdr_ypreq_nokey (XDR *__xdrs, struct ypreq_nokey * __objp);
+extern bool_t xdr_ypreq_xfr (XDR *__xdrs, struct ypreq_xfr * __objp);
+extern bool_t xdr_ypresp_val (XDR *__xdrs, struct ypresp_val * __objp);
+extern bool_t xdr_ypresp_key_val (XDR *__xdrs, struct ypresp_key_val * __objp);
+extern bool_t xdr_ypbind_resp (XDR *__xdrs, struct ypbind_resp * __objp);
+extern bool_t xdr_ypbind_setdom (XDR *__xdrs, struct ypbind_setdom * __objp);
+extern bool_t xdr_ypmap_parms (XDR *__xdrs, struct ypmap_parms * __objp);
+extern bool_t xdr_yppushresp_xfr (XDR *__xdrs, struct yppushresp_xfr * __objp);
+extern bool_t xdr_ypresp_order (XDR *__xdrs, struct ypresp_order * __objp);
+extern bool_t xdr_ypresp_master (XDR *__xdrs, struct ypresp_master * __objp);
+extern bool_t xdr_ypall (XDR *__xdrs, struct ypall_callback * __objp);
+extern bool_t xdr_ypresp_maplist (XDR *__xdrs, struct ypresp_maplist * __objp);
+extern bool_t xdr_ypbind_binding (XDR *__xdrs, struct ypbind_binding * __objp);
+extern bool_t xdr_ypbind_resptype (XDR *__xdrs, enum ypbind_resptype * __objp);
+extern bool_t xdr_ypstat (XDR *__xdrs, enum ypbind_resptype * __objp);
+extern bool_t xdr_ypresp_all (XDR *__xdrs, struct ypresp_all * __objp);
+extern bool_t xdr_domainname (XDR *__xdrs, char ** __objp);
__END_DECLS
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