summaryrefslogtreecommitdiff
path: root/include/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc')
-rw-r--r--include/rpc/auth.h20
-rw-r--r--include/rpc/clnt.h6
2 files changed, 13 insertions, 13 deletions
diff --git a/include/rpc/auth.h b/include/rpc/auth.h
index b0ff4d5de..17eb59f70 100644
--- a/include/rpc/auth.h
+++ b/include/rpc/auth.h
@@ -170,8 +170,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)
@@ -205,14 +205,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/include/rpc/clnt.h b/include/rpc/clnt.h
index a19fc773b..cf271c5c1 100644
--- a/include/rpc/clnt.h
+++ b/include/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 */