summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-05-22 08:05:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-05-22 08:05:31 +0000
commite8bded086c7f1aa1ab7b4354776483a05c7e493d (patch)
tree3bf10d1a85b9694233e53c2f6b660cc2503b7f4e
parent475ea56d4322fed63898ac9f7d1b62b823ed304d (diff)
getopt returns int
-rw-r--r--usr.sbin/ypserv/ypxfr/ypxfr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypserv/ypxfr/ypxfr.c b/usr.sbin/ypserv/ypxfr/ypxfr.c
index a7430e05fe2..68bd9bab54f 100644
--- a/usr.sbin/ypserv/ypxfr/ypxfr.c
+++ b/usr.sbin/ypserv/ypxfr/ypxfr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypxfr.c,v 1.19 1997/05/01 22:14:48 niklas Exp $ */
+/* $OpenBSD: ypxfr.c,v 1.20 1997/05/22 08:05:30 deraadt Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
@@ -32,7 +32,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ypxfr.c,v 1.19 1997/05/01 22:14:48 niklas Exp $";
+static char rcsid[] = "$OpenBSD: ypxfr.c,v 1.20 1997/05/22 08:05:30 deraadt Exp $";
#endif
#include <sys/types.h>
@@ -420,7 +420,7 @@ char *argv[];
int cflag = 0;
int fflag = 0;
int Cflag = 0;
- char ch;
+ int ch;
extern char *optarg;
char *domain;
char *host = NULL;