summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2015-03-16 13:27:59 +0000
committermillert <millert@openbsd.org>2015-03-16 13:27:59 +0000
commit084ccdea4f81894fea5e4d020f21c6b4589c688d (patch)
treef756b6fff24f90a746e9ce413c13d01a4b4dce87
parentInclude limits.h, not sys/limits.h and include stdint.h for SIZE_MAX. (diff)
downloadwireguard-openbsd-084ccdea4f81894fea5e4d020f21c6b4589c688d.tar.xz
wireguard-openbsd-084ccdea4f81894fea5e4d020f21c6b4589c688d.zip
Don't include limits.h or sys/limits.h since grep.h already does it
for us.
-rw-r--r--usr.bin/grep/file.c3
-rw-r--r--usr.bin/grep/grep.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/grep/file.c b/usr.bin/grep/file.c
index 1bef79733dc..4b3c689e4ab 100644
--- a/usr.bin/grep/file.c
+++ b/usr.bin/grep/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.12 2015/01/16 06:40:08 deraadt Exp $ */
+/* $OpenBSD: file.c,v 1.13 2015/03/16 13:27:59 millert Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
@@ -29,7 +29,6 @@
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
-#include <limits.h>
#include <zlib.h>
#include "grep.h"
diff --git a/usr.bin/grep/grep.c b/usr.bin/grep/grep.c
index 532d670ee69..f9fd3911ede 100644
--- a/usr.bin/grep/grep.c
+++ b/usr.bin/grep/grep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grep.c,v 1.49 2015/01/10 13:48:02 tedu Exp $ */
+/* $OpenBSD: grep.c,v 1.50 2015/03/16 13:27:59 millert Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
@@ -27,7 +27,6 @@
*/
#include <sys/types.h>
-#include <sys/limits.h>
#include <sys/stat.h>
#include <sys/queue.h>