summaryrefslogtreecommitdiffstats
path: root/eBones/ksrvtgt
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1995-09-07 21:39:00 +0000
committermarkm <markm@FreeBSD.org>1995-09-07 21:39:00 +0000
commit2539acf77b018acd7416a9857a14c466e55cd7e8 (patch)
tree96ff3578d62372822240f11a1567e45b880f3910 /eBones/ksrvtgt
parenteed9438eb23b62f78af7685dc226228e2bf5c524 (diff)
downloadFreeBSD-src-2539acf77b018acd7416a9857a14c466e55cd7e8.zip
FreeBSD-src-2539acf77b018acd7416a9857a14c466e55cd7e8.tar.gz
Major cleanup of eBones code:
- Get all functions prototyped or at least defined before use. - Make code compile (Mostly) clean with -Wall set - Start to reduce the degree to which DES aka libdes is built in. - get all functions to the same uniform standard of definition: int foo(a, b) int a; int *b; { : } - fix numerous bugs exposed by above processes. Note - this replaces the previous work which used an unpopular function definition style.
Diffstat (limited to 'eBones/ksrvtgt')
-rw-r--r--eBones/ksrvtgt/Makefile6
-rw-r--r--eBones/ksrvtgt/ksrvtgt.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/eBones/ksrvtgt/Makefile b/eBones/ksrvtgt/Makefile
index 1c6b0dc..9bf166d 100644
--- a/eBones/ksrvtgt/Makefile
+++ b/eBones/ksrvtgt/Makefile
@@ -2,10 +2,10 @@
# $Id: Makefile,v 1.3 1995/07/18 16:40:05 mark Exp $
PROG= ksrvtgt
-CFLAGS+=-DKERBEROS -DDEBUG -I${.CURDIR}/../include
+CFLAGS+=-DKERBEROS -DDEBUG -I${.CURDIR}/../include -Wall
DPADD= ${LIBKRB} ${LIBDES}
-LDADD= -L${KRBOBJDIR} -lkrb -L${DESOBJDIR} -ldes
+LDADD= -L${KRBOBJDIR} -lkrb -ldes
BINDIR= /usr/bin
-NOMAN= noman
+MAN1= ksrvtgt.1
.include <bsd.prog.mk>
diff --git a/eBones/ksrvtgt/ksrvtgt.c b/eBones/ksrvtgt/ksrvtgt.c
index c51457c..0f92394 100644
--- a/eBones/ksrvtgt/ksrvtgt.c
+++ b/eBones/ksrvtgt/ksrvtgt.c
@@ -16,10 +16,12 @@ const char rcsid[] =
#endif /* lint */
#include <stdio.h>
+#include <string.h>
#include <sys/param.h>
#include <krb.h>
#include <conf.h>
+int
main(argc,argv)
int argc;
char **argv;
OpenPOWER on IntegriCloud