From: mmcc Date: Mon, 19 Oct 2015 14:03:21 +0000 (+0000) Subject: Move limits.h include from sh.h to the files that actually need it. No X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=dbfe7957338c733c83f98799a8070ba9fe3dfc97;p=openbsd Move limits.h include from sh.h to the files that actually need it. No binary change. ok nicm@ --- diff --git a/bin/ksh/expr.c b/bin/ksh/expr.c index 52e9965fb70..d7bf29f9ec5 100644 --- a/bin/ksh/expr.c +++ b/bin/ksh/expr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: expr.c,v 1.29 2015/10/19 02:15:45 mmcc Exp $ */ +/* $OpenBSD: expr.c,v 1.30 2015/10/19 14:03:21 mmcc Exp $ */ /* * Korn expression evaluation @@ -8,6 +8,7 @@ */ #include +#include #include "sh.h" diff --git a/bin/ksh/jobs.c b/bin/ksh/jobs.c index 15900b58d76..a9292300662 100644 --- a/bin/ksh/jobs.c +++ b/bin/ksh/jobs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: jobs.c,v 1.48 2015/10/19 02:15:45 mmcc Exp $ */ +/* $OpenBSD: jobs.c,v 1.49 2015/10/19 14:03:21 mmcc Exp $ */ /* * Process and job control @@ -20,6 +20,8 @@ #include #include +#include + #include "sh.h" #include "tty.h" diff --git a/bin/ksh/misc.c b/bin/ksh/misc.c index a9eecde9c63..4d9af6b6929 100644 --- a/bin/ksh/misc.c +++ b/bin/ksh/misc.c @@ -1,10 +1,11 @@ -/* $OpenBSD: misc.c,v 1.47 2015/10/19 02:15:45 mmcc Exp $ */ +/* $OpenBSD: misc.c,v 1.48 2015/10/19 14:03:21 mmcc Exp $ */ /* * Miscellaneous functions */ #include +#include #include "sh.h" #include "charclass.h" diff --git a/bin/ksh/sh.h b/bin/ksh/sh.h index f2e59ff0a0c..23685674894 100644 --- a/bin/ksh/sh.h +++ b/bin/ksh/sh.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sh.h,v 1.41 2015/10/19 14:01:37 mmcc Exp $ */ +/* $OpenBSD: sh.h,v 1.42 2015/10/19 14:03:21 mmcc Exp $ */ /* * Public Domain Bourne/Korn shell @@ -22,7 +22,6 @@ #include #include -#include #include diff --git a/bin/ksh/shf.c b/bin/ksh/shf.c index f7d228596a3..2d032eb81c7 100644 --- a/bin/ksh/shf.c +++ b/bin/ksh/shf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: shf.c,v 1.23 2015/10/19 02:15:45 mmcc Exp $ */ +/* $OpenBSD: shf.c,v 1.24 2015/10/19 14:03:21 mmcc Exp $ */ /* * Shell file I/O routines @@ -6,6 +6,8 @@ #include +#include + #include "sh.h" /* flags to shf_emptybuf() */ diff --git a/bin/ksh/table.c b/bin/ksh/table.c index 2af57b41d19..d22eca066a2 100644 --- a/bin/ksh/table.c +++ b/bin/ksh/table.c @@ -1,9 +1,11 @@ -/* $OpenBSD: table.c,v 1.19 2015/10/05 23:26:58 nicm Exp $ */ +/* $OpenBSD: table.c,v 1.20 2015/10/19 14:03:21 mmcc Exp $ */ /* * dynamic hashed associative table for commands and variables */ +#include + #include "sh.h" #define INIT_TBLS 8 /* initial table size (power of 2) */ diff --git a/bin/ksh/var.c b/bin/ksh/var.c index 36853af83a2..d1776717599 100644 --- a/bin/ksh/var.c +++ b/bin/ksh/var.c @@ -1,8 +1,9 @@ -/* $OpenBSD: var.c,v 1.51 2015/10/19 02:15:45 mmcc Exp $ */ +/* $OpenBSD: var.c,v 1.52 2015/10/19 14:03:21 mmcc Exp $ */ #include #include +#include #include #include "sh.h"