summaryrefslogtreecommitdiffstats
path: root/lib/libskey/skeylogin.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-07-12 18:57:58 +0000
committerjkh <jkh@FreeBSD.org>1996-07-12 18:57:58 +0000
commitc4d4a99d31762beef936f34571330923e9300da9 (patch)
treec116431af8e1f042b25e0f70c63c437cf7ff8d63 /lib/libskey/skeylogin.c
parent6657f01bfd009bbf4ec0481a17712259abf8ea77 (diff)
downloadFreeBSD-src-c4d4a99d31762beef936f34571330923e9300da9.zip
FreeBSD-src-c4d4a99d31762beef936f34571330923e9300da9.tar.gz
General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
Diffstat (limited to 'lib/libskey/skeylogin.c')
-rw-r--r--lib/libskey/skeylogin.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libskey/skeylogin.c b/lib/libskey/skeylogin.c
index ee9c277..1d48988 100644
--- a/lib/libskey/skeylogin.c
+++ b/lib/libskey/skeylogin.c
@@ -12,6 +12,7 @@
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -174,16 +175,12 @@ skeyverify(mp,response)
struct skey *mp;
char *response;
{
- struct timeval startval;
- struct timeval endval;
char key[8];
char fkey[8];
char filekey[8];
time_t now;
struct tm *tm;
- char tbuf[27],buf[60];
- char me[80];
- int rval;
+ char tbuf[27];
char *cp, *p;
time(&now);
@@ -266,6 +263,7 @@ char *response;
/* Convert 8-byte hex-ascii string to binary array
* Returns 0 on success, -1 on error
*/
+int
atob8(out,in)
register char *out,*in;
{
OpenPOWER on IntegriCloud