diff options
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/Makefile | 3 | ||||
-rw-r--r-- | sunrpc/rpc/auth.h | 20 | ||||
-rw-r--r-- | sunrpc/rpc/clnt.h | 6 |
3 files changed, 16 insertions, 13 deletions
diff --git a/sunrpc/Makefile b/sunrpc/Makefile index b7492e4dab..305bd68651 100644 --- a/sunrpc/Makefile +++ b/sunrpc/Makefile @@ -118,6 +118,9 @@ CFLAGS-xspray.c = -Wno-unused CFLAGS-xnfs_prot.c = -Wno-unused CFLAGS-xrquota.c = -Wno-unused CFLAGS-xkey_prot.c = -Wno-unused +CFLAGS-auth_unix.c = -fexceptions +CFLAGS-key_call.c = -fexceptions +CFLAGS-pmap_rmt.c = -fexceptions ifeq (yes,$(have_doors)) CPPFLAGS-key_call.c += -DHAVE_DOORS=1 diff --git a/sunrpc/rpc/auth.h b/sunrpc/rpc/auth.h index 6612957667..7c931d8873 100644 --- a/sunrpc/rpc/auth.h +++ b/sunrpc/rpc/auth.h @@ -159,8 +159,8 @@ extern struct opaque_auth _null_auth; * int *aup_gids; */ extern AUTH *authunix_create (char *__machname, __uid_t __uid, __gid_t __gid, - int __len, __gid_t *__aup_gids) __THROW; -extern AUTH *authunix_create_default (void) __THROW; + int __len, __gid_t *__aup_gids); +extern AUTH *authunix_create_default (void); extern AUTH *authnone_create (void) __THROW; extern AUTH *authdes_create (const char *__servername, u_int __window, struct sockaddr *__syncaddr, des_block *__ckey) @@ -194,14 +194,14 @@ extern int netname2host (__const char *, char *, __const int) __THROW; * These routines interface to the keyserv daemon * */ -extern int key_decryptsession (char *, des_block *) __THROW; -extern int key_decryptsession_pk (char *, netobj *, des_block *) __THROW; -extern int key_encryptsession (char *, des_block *) __THROW; -extern int key_encryptsession_pk (char *, netobj *, des_block *) __THROW; -extern int key_gendes (des_block *) __THROW; -extern int key_setsecret (char *) __THROW; -extern int key_secretkey_is_set (void) __THROW; -extern int key_get_conv (char *, des_block *) __THROW; +extern int key_decryptsession (char *, des_block *); +extern int key_decryptsession_pk (char *, netobj *, des_block *); +extern int key_encryptsession (char *, des_block *); +extern int key_encryptsession_pk (char *, netobj *, des_block *); +extern int key_gendes (des_block *); +extern int key_setsecret (char *); +extern int key_secretkey_is_set (void); +extern int key_get_conv (char *, des_block *); /* * XDR an opaque authentication struct. diff --git a/sunrpc/rpc/clnt.h b/sunrpc/rpc/clnt.h index a19fc773bc..cf271c5c13 100644 --- a/sunrpc/rpc/clnt.h +++ b/sunrpc/rpc/clnt.h @@ -368,18 +368,18 @@ extern int _rpc_dtablesize (void) __THROW; /* * Print why creation failed */ -extern void clnt_pcreateerror (__const char *__msg) __THROW; /* stderr */ +extern void clnt_pcreateerror (__const char *__msg); /* stderr */ extern char *clnt_spcreateerror(__const char *__msg) __THROW; /* string */ /* * Like clnt_perror(), but is more verbose in its output */ -extern void clnt_perrno (enum clnt_stat __num) __THROW; /* stderr */ +extern void clnt_perrno (enum clnt_stat __num); /* stderr */ /* * Print an English error message, given the client error code */ -extern void clnt_perror (CLIENT *__clnt, __const char *__msg) __THROW; +extern void clnt_perror (CLIENT *__clnt, __const char *__msg); /* stderr */ extern char *clnt_sperror (CLIENT *__clnt, __const char *__msg) __THROW; /* string */ |