diff options
author | markm <markm@FreeBSD.org> | 1995-08-25 22:52:32 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 1995-08-25 22:52:32 +0000 |
commit | a83b802bada404e3b2eccf92c3499966deaad171 (patch) | |
tree | 45f2ba147600b7d47d9e9695cf572877c7fa4773 /eBones/lib/libkrb/netread.c | |
parent | 2d8492d7c86b21502ee9277e20ef1e6e931b7c44 (diff) | |
download | FreeBSD-src-a83b802bada404e3b2eccf92c3499966deaad171.zip FreeBSD-src-a83b802bada404e3b2eccf92c3499966deaad171.tar.gz |
Start the eBones cleanup ball rolling.
These are the start of a lot of work to clean up the FreeBSD eBones code.
these changes include, but are not limited to:
- Create prototypes for all the library routines
- Make all the libraries compile clean with -Wall set
- Fix numerous small bugs shown up in the above process
- Prepare the code for libdes's removal to secure/
- add register, registerd and make_keypair to the make
Lots more will follow in days to come.
OK'ed by: rgrimes
Diffstat (limited to 'eBones/lib/libkrb/netread.c')
-rw-r--r-- | eBones/lib/libkrb/netread.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/eBones/lib/libkrb/netread.c b/eBones/lib/libkrb/netread.c index eb86327..c773bc8 100644 --- a/eBones/lib/libkrb/netread.c +++ b/eBones/lib/libkrb/netread.c @@ -4,13 +4,19 @@ * <Copyright.MIT>. * * from: netread.c,v 4.1 88/11/15 16:47:21 jtkohl Exp $ - * $Id: netread.c,v 1.2 1994/07/19 19:26:03 g89r4222 Exp $ + * $Id: netread.c,v 1.3 1995/07/18 16:39:20 mark Exp $ */ +#if 0 #ifndef lint static char rcsid[] = -"$Id: netread.c,v 1.2 1994/07/19 19:26:03 g89r4222 Exp $"; +"$Id: netread.c,v 1.3 1995/07/18 16:39:20 mark Exp $"; #endif lint +#endif + +#include <stdio.h> +#include <unistd.h> +#include <krb.h> /* * krb_net_read() reads from the file descriptor "fd" to the buffer @@ -22,11 +28,7 @@ static char rcsid[] = * XXX must not use non-blocking I/O */ -int -krb_net_read(fd, buf, len) -int fd; -register char *buf; -register int len; +int krb_net_read(int fd, char *buf, int len) { int cc, len2 = 0; |