summaryrefslogtreecommitdiff
path: root/usr.bin/tip/tip.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2006-11-06 19:37:22 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2006-11-06 19:37:22 +0000
commitcd76cad7a317f7d476d96a0d65b080b5e3f8c8d5 (patch)
tree3c8699acd570322eb822ff05f941af204c9e403d /usr.bin/tip/tip.h
parent3d7c4e2b9c993f8cdaa8bca7b0149dbee32b9325 (diff)
Replace -### with -s### pre-getopt() and use strtonum()
instead of strtol() when parsing the speed string. Closes PR 5222.
Diffstat (limited to 'usr.bin/tip/tip.h')
-rw-r--r--usr.bin/tip/tip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tip/tip.h b/usr.bin/tip/tip.h
index 975590029ac..dc42310f251 100644
--- a/usr.bin/tip/tip.h
+++ b/usr.bin/tip/tip.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tip.h,v 1.27 2006/08/18 03:06:18 jason Exp $ */
+/* $OpenBSD: tip.h,v 1.28 2006/11/06 19:37:21 millert Exp $ */
/* $NetBSD: tip.h,v 1.7 1997/04/20 00:02:46 mellon Exp $ */
/*
@@ -53,6 +53,7 @@
#include <setjmp.h>
#include <unistd.h>
#include <errno.h>
+#include <err.h>
#include <limits.h>
/*