From d8cf93f489282ed4dd0b727e9efd9efef192e952 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 31 Dec 1999 18:51:25 +0000 Subject: Update. 1999-12-31 Andreas Jaeger * libio/strfile.h: Remove K&R compatibility. * locale/langinfo.h: Likewise. * locale/localeconv.c (localeconv): Likewise. * locale/programs/simple-hash.h: Likewise. * nis/nis_xdr.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * nis/rpcsvc/nis_callback.h: Likewise. * nis/rpcsvc/nis.h: Likewise. * nis/ypclnt.c: Likewise. * nscd/nscd_proto.h: Likewise. * nscd/nscd.c: Likewise. * sysdeps/generic/inttypes.h: Likewise. * sysdeps/gnu/utmpx.h: Likewise. * nis/nis_intern.h: Remove K&R compatibility; add missing ints. * sunrpc/rpcsvc/rusers.x: Likewise. * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat. * elf/dl-misc.c: Remove __libc_write prototype since it's already in include/unistd.h. * elf/dl-profile.c: Likewise. * elf/dl-load.c: Likewise for __libc_read. * elf/dl-profile.c: Remove __P. * elf/sprof.c: Likewise. * elf/sln.c: Likewise. --- nis/rpcsvc/nis_callback.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'nis/rpcsvc/nis_callback.h') diff --git a/nis/rpcsvc/nis_callback.h b/nis/rpcsvc/nis_callback.h index 106bd03b9e..eca4ed9f05 100644 --- a/nis/rpcsvc/nis_callback.h +++ b/nis/rpcsvc/nis_callback.h @@ -49,22 +49,22 @@ typedef struct cback_data cback_data; #define CB_VERS 1 #define CBPROC_RECEIVE 1 -extern bool_t * cbproc_receive_1 __P ((cback_data *, CLIENT *)); -extern bool_t * cbproc_receive_1_svc __P ((cback_data *, struct svc_req *)); +extern bool_t * cbproc_receive_1 (cback_data *, CLIENT *) __THROW; +extern bool_t * cbproc_receive_1_svc (cback_data *, struct svc_req *) __THROW; #define CBPROC_FINISH 2 -extern void * cbproc_finish_1 __P ((void *, CLIENT *)); -extern void * cbproc_finish_1_svc __P ((void *, struct svc_req *)); +extern void * cbproc_finish_1 (void *, CLIENT *) __THROW; +extern void * cbproc_finish_1_svc (void *, struct svc_req *) __THROW; #define CBPROC_ERROR 3 -extern void * cbproc_error_1 __P ((nis_error *, CLIENT *)); -extern void * cbproc_error_1_svc __P ((nis_error *, struct svc_req *)); -extern int cb_prog_1_freeresult __P ((SVCXPRT *, xdrproc_t, caddr_t)); +extern void * cbproc_error_1 (nis_error *, CLIENT *) __THROW; +extern void * cbproc_error_1_svc (nis_error *, struct svc_req *) __THROW; +extern int cb_prog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t) __THROW; /* the xdr functions */ -extern bool_t xdr_obj_p __P ((XDR *, obj_p*)); -extern bool_t xdr_cback_data __P ((XDR *, cback_data*)); +extern bool_t xdr_obj_p (XDR *, obj_p*) __THROW; +extern bool_t xdr_cback_data (XDR *, cback_data*) __THROW; __END_DECLS -- cgit v1.2.3