summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-10-19 14:43:47 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-10-19 14:43:47 +0000
commit6a6953d203cc43845a6044c64520f7b2976ff3fe (patch)
tree79110ad58c49ac2414c58b37198a9e79a6f464ce /bin
parent50a0127e660de6290300651c992bb026a2351c21 (diff)
Move stddef.h include from sh.h to the file that uses it.
ok nicm@
Diffstat (limited to 'bin')
-rw-r--r--bin/ksh/sh.h3
-rw-r--r--bin/ksh/table.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/ksh/sh.h b/bin/ksh/sh.h
index 488b8bddd14..b95a8b7effa 100644
--- a/bin/ksh/sh.h
+++ b/bin/ksh/sh.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sh.h,v 1.43 2015/10/19 14:42:16 mmcc Exp $ */
+/* $OpenBSD: sh.h,v 1.44 2015/10/19 14:43:46 mmcc Exp $ */
/*
* Public Domain Bourne/Korn shell
@@ -14,7 +14,6 @@
#include <sys/types.h>
#include <setjmp.h>
#include <stdbool.h>
-#include <stddef.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdarg.h>
diff --git a/bin/ksh/table.c b/bin/ksh/table.c
index 6f4d08b13ea..b0c508ba971 100644
--- a/bin/ksh/table.c
+++ b/bin/ksh/table.c
@@ -1,10 +1,11 @@
-/* $OpenBSD: table.c,v 1.21 2015/10/19 14:42:16 mmcc Exp $ */
+/* $OpenBSD: table.c,v 1.22 2015/10/19 14:43:46 mmcc Exp $ */
/*
* dynamic hashed associative table for commands and variables
*/
#include <limits.h>
+#include <stddef.h>
#include <string.h>
#include "sh.h"