diff options
author | Ezra Peisach <epeisach@mit.edu> | 2001-06-01 18:43:25 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2001-06-01 18:43:25 +0000 |
commit | ac31fbb3e0bf91b21cb15c4123b7e4c87a6cb9bf (patch) | |
tree | 6a733025d95b2131459efbde08d23f88c8ea540e /src/lib/krb4/getst.c | |
parent | e20fc058bc026c5e3b878fad69831f9f84e8bde8 (diff) | |
download | krb5-ac31fbb3e0bf91b21cb15c4123b7e4c87a6cb9bf.tar.gz krb5-ac31fbb3e0bf91b21cb15c4123b7e4c87a6cb9bf.tar.xz krb5-ac31fbb3e0bf91b21cb15c4123b7e4c87a6cb9bf.zip |
* g_krbrlm.c: Remove unused static variable krb_conf
* g_svc_in_tkt.c (krb_svc_init, krb_svc_init_preauth): Declare as
returning int.
* gethostname.c: Include unistd.h for gethostname() prototype.
* getst.c: Include unistd.h for read() prototype.
* in_tkt.c (in_tkt): Cast arguments to debugging printf to int
from uid_t to match format statement.
* kname_parse.c: Declare k_isname() and k_isinst() as returning
int. Cleanup assigments in conditionals.
* kuserok.c (kuserok): Cleanup assignment in conditional.
* log.c (krb_set_logfile): Declare function as void.
* klog.c (kset_logfile): Likewise.
* pkt_clen.c (pkt_clen): Declare as returning int.
* kntoln.c (krb_kntoln): Likewise.
* fgetst.c (fgetst): Likewise.
* rd_req.c: Declare local variable only if KRB_CRYPT_DEBUG defined.
* recvauth.c: Include stdlib.h and unistd.h for read() and atoi()
prototypes.
* send_to_kdc.c: Include unistd.h for close() prototype.
* sendauth.c (krb_sendauth): Clean up assignment in conditional.
* tkt_string.c (tkt_string): Likewise
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13256 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb4/getst.c')
-rw-r--r-- | src/lib/krb4/getst.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/krb4/getst.c b/src/lib/krb4/getst.c index 53c5e27bf5..763f89f7e1 100644 --- a/src/lib/krb4/getst.c +++ b/src/lib/krb4/getst.c @@ -9,6 +9,9 @@ #include "mit-copyright.h" #include "krb.h" +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif /* * getst() takes a file descriptor, a string and a count. It reads @@ -20,6 +23,7 @@ * the null terminator. */ +int getst(fd, s, n) int fd; register char *s; |