summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-03-29 20:35:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-03-29 20:35:56 +0000
commite4c0e947dbe19d4bc8d44106ddb3a9a71bafeeb0 (patch)
treeb464e17815acd21bff7a48b4c1cea193ea7e5800
parent20e1371940045cafaa98a711d6e48f46c7cee991 (diff)
-Wall
-rw-r--r--libexec/getty/main.c5
-rw-r--r--sbin/photurisd/server.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/libexec/getty/main.c b/libexec/getty/main.c
index 577b62a2b3e..0be925d9084 100644
--- a/libexec/getty/main.c
+++ b/libexec/getty/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.21 2002/02/16 21:27:30 millert Exp $ */
+/* $OpenBSD: main.c,v 1.22 2002/03/29 20:35:55 deraadt Exp $ */
/*-
* Copyright (c) 1980, 1993
@@ -41,7 +41,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93";*/
-static char rcsid[] = "$OpenBSD: main.c,v 1.21 2002/02/16 21:27:30 millert Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.22 2002/03/29 20:35:55 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -59,6 +59,7 @@ static char rcsid[] = "$OpenBSD: main.c,v 1.21 2002/02/16 21:27:30 millert Exp $
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
+#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include <util.h>
diff --git a/sbin/photurisd/server.c b/sbin/photurisd/server.c
index 44e9a767d52..41712d50b22 100644
--- a/sbin/photurisd/server.c
+++ b/sbin/photurisd/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.11 2001/11/30 20:31:49 provos Exp $ */
+/* $OpenBSD: server.c,v 1.12 2002/03/29 20:35:55 deraadt Exp $ */
/*
* Copyright 1997-2000 Niels Provos <provos@citi.umich.edu>
@@ -37,7 +37,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: server.c,v 1.11 2001/11/30 20:31:49 provos Exp $";
+static char rcsid[] = "$OpenBSD: server.c,v 1.12 2002/03/29 20:35:55 deraadt Exp $";
#endif
#define _SERVER_C_
@@ -78,7 +78,6 @@ init_server(void)
{
struct sockaddr_in sin, *sin2;
struct protoent *proto;
- struct stat sb;
int sock, d, i, ip, on = 1;
struct ifconf ifconf;
void *newbuf;