aboutsummaryrefslogtreecommitdiff
path: root/nis/rpcsvc/nis_callback.h
diff options
context:
space:
mode:
Diffstat (limited to 'nis/rpcsvc/nis_callback.h')
-rw-r--r--nis/rpcsvc/nis_callback.h18
1 files changed, 9 insertions, 9 deletions
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