From e13e70910a34371b28c32339139986b007ab1cf1 Mon Sep 17 00:00:00 2001 From: mmcc Date: Sat, 17 Oct 2015 18:26:24 +0000 Subject: [PATCH] Move a system header include from the global header (sh.h) into the files that need it. No binary change. "This looks fine" -nicm@ --- bin/ksh/exec.c | 3 ++- bin/ksh/main.c | 3 ++- bin/ksh/sh.h | 4 +--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/ksh/exec.c b/bin/ksh/exec.c index 809013b8813..09f64af1b18 100644 --- a/bin/ksh/exec.c +++ b/bin/ksh/exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.c,v 1.57 2015/09/22 21:50:40 millert Exp $ */ +/* $OpenBSD: exec.c,v 1.58 2015/10/17 18:26:24 mmcc Exp $ */ /* * execute command tree @@ -8,6 +8,7 @@ #include "c_test.h" #include #include +#include /* Does ps4 get parameter substitutions done? */ # define PS4_SUBSTITUTE(s) substitute((s), 0) diff --git a/bin/ksh/main.c b/bin/ksh/main.c index 392de9f8296..b76d5565152 100644 --- a/bin/ksh/main.c +++ b/bin/ksh/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.64 2015/10/16 14:45:16 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.65 2015/10/17 18:26:24 mmcc Exp $ */ /* * startup, main loop, environments and error handling @@ -9,6 +9,7 @@ #include "sh.h" #include #include +#include extern char **environ; diff --git a/bin/ksh/sh.h b/bin/ksh/sh.h index b0e332e488f..7d19db64202 100644 --- a/bin/ksh/sh.h +++ b/bin/ksh/sh.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sh.h,v 1.37 2015/09/14 16:08:50 nicm Exp $ */ +/* $OpenBSD: sh.h,v 1.38 2015/10/17 18:26:24 mmcc Exp $ */ /* * Public Domain Bourne/Korn shell @@ -26,8 +26,6 @@ #include -#include - /* end of common headers */ /* some useful #defines */ -- 2.20.1