summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2001-06-28 14:22:17 +0000
committerHans Insulander <hin@cvs.openbsd.org>2001-06-28 14:22:17 +0000
commit7b90ee001dd9dc840b4b38ced6ca6a51438c350b (patch)
tree730fae0e66f340f148d72f3dd7d63a2e6c9a75ef /lib
parentdac4124171d67e8646845a3b24e7b8157f77bbef (diff)
-Wall -Wno-unused
Diffstat (limited to 'lib')
-rw-r--r--lib/libtelnet/Makefile4
-rw-r--r--lib/libtelnet/kerberos.c3
-rw-r--r--lib/libtelnet/kerberos5.c4
3 files changed, 6 insertions, 5 deletions
diff --git a/lib/libtelnet/Makefile b/lib/libtelnet/Makefile
index dee29e822ff..d1a407c858a 100644
--- a/lib/libtelnet/Makefile
+++ b/lib/libtelnet/Makefile
@@ -1,11 +1,11 @@
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
-# $OpenBSD: Makefile,v 1.5 2001/05/25 10:23:04 hin Exp $
+# $OpenBSD: Makefile,v 1.6 2001/06/28 14:22:16 hin Exp $
# $NetBSD: Makefile,v 1.6 1996/02/24 01:15:15 jtk Exp $
LIB= telnet
SRCS= auth.c encrypt.c genget.c getent.c misc.c
-CFLAGS+= -DHAS_CGETENT
+CFLAGS+= -DHAS_CGETENT -Wall -Wno-unused
.include <bsd.own.mk> # for KERBEROS
diff --git a/lib/libtelnet/kerberos.c b/lib/libtelnet/kerberos.c
index 9b02b793ccd..2a35d5d5a2a 100644
--- a/lib/libtelnet/kerberos.c
+++ b/lib/libtelnet/kerberos.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kerberos.c,v 1.6 2001/05/25 10:23:07 hin Exp $ */
+/* $OpenBSD: kerberos.c,v 1.7 2001/06/28 14:22:16 hin Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -81,6 +81,7 @@
#include <kerberosIV/krb.h>
#include <pwd.h>
#include <syslog.h>
+#include <err.h>
#include "encrypt.h"
#include "auth.h"
#include "misc.h"
diff --git a/lib/libtelnet/kerberos5.c b/lib/libtelnet/kerberos5.c
index 575a9d72571..4773ea5060a 100644
--- a/lib/libtelnet/kerberos5.c
+++ b/lib/libtelnet/kerberos5.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kerberos5.c,v 1.2 2001/05/25 10:23:07 hin Exp $ */
+/* $OpenBSD: kerberos5.c,v 1.3 2001/06/28 14:22:16 hin Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -81,7 +81,7 @@
#define Authenticator k5_Authenticator
#include <kerberosV/krb5.h>
#undef Authenticator
-
+#include <err.h>
#include "encrypt.h"
#include "auth.h"