summaryrefslogtreecommitdiff
path: root/libexec/identd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-16 10:21:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-16 10:21:21 +0000
commit7d79d34aa2dcac091bc7fc9ed06c729e983a84e2 (patch)
tree8499725080dcbdb9e17be26f5b2488f88c8408ab /libexec/identd
parentd74465ceed8eda341356aae3064c124591929955 (diff)
delint
Diffstat (limited to 'libexec/identd')
-rw-r--r--libexec/identd/identd.c6
-rw-r--r--libexec/identd/identd.h7
-rw-r--r--libexec/identd/parse.c3
3 files changed, 5 insertions, 11 deletions
diff --git a/libexec/identd/identd.c b/libexec/identd/identd.c
index 4afe9e85ec4..b6c1b79c92b 100644
--- a/libexec/identd/identd.c
+++ b/libexec/identd/identd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: identd.c,v 1.28 2002/07/16 10:16:10 deraadt Exp $ */
+/* $OpenBSD: identd.c,v 1.29 2002/07/16 10:21:20 deraadt Exp $ */
/*
* This program is in the public domain and may be used freely by anyone
@@ -150,13 +150,13 @@ main(int argc, char *argv[])
struct in6_addr laddr6, faddr6;
struct passwd *pwd;
struct group *grp;
- int background_flag = 0, timeout = 0, len, ch;
+ int background_flag = 0, timeout = 0, ch;
char *portno = "auth";
char *bind_address = NULL;
uid_t set_uid = 0;
gid_t set_gid = 0;
extern char *optarg;
- extern int optind;
+ size_t len;
openlog(__progname, LOG_PID, LOG_DAEMON);
/*
diff --git a/libexec/identd/identd.h b/libexec/identd/identd.h
index c652a126145..ac493ac3591 100644
--- a/libexec/identd/identd.h
+++ b/libexec/identd/identd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: identd.h,v 1.11 2002/02/17 19:42:26 millert Exp $*/
+/* $OpenBSD: identd.h,v 1.12 2002/07/16 10:21:20 deraadt Exp $*/
/*
**
@@ -15,11 +15,6 @@
#ifndef __IDENTD_H__
#define __IDENTD_H__
-extern char *version;
-
-extern char *path_unix;
-extern char *path_kmem;
-
extern int verbose_flag;
extern int debug_flag;
extern int syslog_flag;
diff --git a/libexec/identd/parse.c b/libexec/identd/parse.c
index 3b2148b34d4..168eaf6658c 100644
--- a/libexec/identd/parse.c
+++ b/libexec/identd/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.31 2002/07/16 10:16:10 deraadt Exp $ */
+/* $OpenBSD: parse.c,v 1.32 2002/07/16 10:21:20 deraadt Exp $ */
/*
* This program is in the public domain and may be used freely by anyone
@@ -22,7 +22,6 @@
#include <ctype.h>
#include <pwd.h>
#include <nlist.h>
-#include <kvm.h>
#include <unistd.h>
#include "identd.h"