Make this compile ifdef KERBEROS.

This commit is contained in:
scottr 1999-02-17 06:49:30 +00:00
parent 78bcd3e136
commit 6aba90f09c
3 changed files with 14 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kcmd.c,v 1.6 1998/08/10 03:11:07 perry Exp $ */
/* $NetBSD: kcmd.c,v 1.7 1999/02/17 06:49:30 scottr Exp $ */
/*
* Copyright (c) 1983, 1993
@ -33,12 +33,13 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char Xsccsid[] = "derived from @(#)rcmd.c 5.17 (Berkeley) 6/27/88";
static char sccsid[] = "@(#)kcmd.c 8.2 (Berkeley) 8/19/93";
#else
__RCSID("$NetBSD: kcmd.c,v 1.6 1998/08/10 03:11:07 perry Exp $");
__RCSID("$NetBSD: kcmd.c,v 1.7 1999/02/17 06:49:30 scottr Exp $");
#endif
#endif /* not lint */

View File

@ -1,4 +1,4 @@
/* $NetBSD: krb.h,v 1.5 1997/01/09 20:21:03 tls Exp $ */
/* $NetBSD: krb.h,v 1.6 1999/02/17 06:49:30 scottr Exp $ */
/*-
* Copyright (c) 1993
@ -39,6 +39,10 @@
* XXX
* These should be in a kerberos include file.
*/
int krcmd __P((char **, u_short, char *, char *, int *, char *));
int krcmd_mutual __P((char **, u_short, char *, char *, int *,
int kcmd __P((int *, char **, u_short, char *, char *, char *, int *,
KTEXT, char *, char *, CREDENTIALS *, Key_schedule,
MSG_DAT *, struct sockaddr_in *, struct sockaddr_in *, long));
int krcmd __P((char **, u_short, char *, char *, int *, char *));
int krcmd_mutual __P((char **, u_short, char *, char *, int *,
char *, CREDENTIALS *, Key_schedule));

View File

@ -1,4 +1,4 @@
/* $NetBSD: krcmd.c,v 1.4 1998/01/05 05:15:18 perry Exp $ */
/* $NetBSD: krcmd.c,v 1.5 1999/02/17 06:49:31 scottr Exp $ */
/*
* Copyright (c) 1989, 1993
@ -33,11 +33,12 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)krcmd.c 8.1 (Berkeley) 6/6/93";
#else
__RCSID("$NetBSD: krcmd.c,v 1.4 1998/01/05 05:15:18 perry Exp $");
__RCSID("$NetBSD: krcmd.c,v 1.5 1999/02/17 06:49:31 scottr Exp $");
#endif
#endif /* not lint */
@ -60,6 +61,7 @@ __RCSID("$NetBSD: krcmd.c,v 1.4 1998/01/05 05:15:18 perry Exp $");
#include <kerberosIV/des.h>
#include <kerberosIV/krb.h>
#include "krb.h"
#include <stdio.h>