summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/amd64/amd64/tsc.c3
-rw-r--r--sys/amd64/isa/clock.c3
-rw-r--r--sys/dev/eisa/eisaconf.c4
-rw-r--r--sys/i386/eisa/eisaconf.c4
-rw-r--r--sys/i386/i386/tsc.c3
-rw-r--r--sys/i386/i386/userconfig.c5
-rw-r--r--sys/i386/isa/clock.c3
-rw-r--r--sys/i386/isa/qcamio.c4
-rw-r--r--sys/isa/atrtc.c3
-rw-r--r--sys/kern/kern_clock.c3
-rw-r--r--sys/kern/kern_exit.c3
-rw-r--r--sys/kern/kern_synch.c3
-rw-r--r--sys/kern/kern_tc.c3
-rw-r--r--sys/kern/kern_timeout.c3
-rw-r--r--sys/kern/uipc_socket.c4
-rw-r--r--sys/kern/vfs_export.c4
-rw-r--r--sys/kern/vfs_subr.c4
-rw-r--r--sys/vm/vm_glue.c4
18 files changed, 45 insertions, 18 deletions
diff --git a/sys/amd64/amd64/tsc.c b/sys/amd64/amd64/tsc.c
index 7f89a7f..28f6dc9 100644
--- a/sys/amd64/amd64/tsc.c
+++ b/sys/amd64/amd64/tsc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.8 1997/08/21 04:51:12 smp Exp smp $
+ * $Id: clock.c,v 1.99 1997/08/21 05:08:07 fsmp Exp $
*/
/*
@@ -64,6 +64,7 @@
#include <machine/cpu.h>
#include <machine/frame.h>
#include <machine/ipl.h>
+#include <machine/limits.h>
#ifdef APIC_IO
#include <machine/smp.h>
#endif /* APIC_IO */
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c
index 7f89a7f..28f6dc9 100644
--- a/sys/amd64/isa/clock.c
+++ b/sys/amd64/isa/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.8 1997/08/21 04:51:12 smp Exp smp $
+ * $Id: clock.c,v 1.99 1997/08/21 05:08:07 fsmp Exp $
*/
/*
@@ -64,6 +64,7 @@
#include <machine/cpu.h>
#include <machine/frame.h>
#include <machine/ipl.h>
+#include <machine/limits.h>
#ifdef APIC_IO
#include <machine/smp.h>
#endif /* APIC_IO */
diff --git a/sys/dev/eisa/eisaconf.c b/sys/dev/eisa/eisaconf.c
index 7153df6..cf3cd3f 100644
--- a/sys/dev/eisa/eisaconf.c
+++ b/sys/dev/eisa/eisaconf.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: eisaconf.c,v 1.28 1997/07/20 06:31:09 bde Exp $
+ * $Id: eisaconf.c,v 1.29 1997/08/21 07:36:43 fsmp Exp $
*/
#include "opt_eisa.h"
@@ -38,6 +38,8 @@
#include <sys/kernel.h>
#include <sys/malloc.h>
+#include <machine/limits.h>
+
#include <i386/eisa/eisaconf.h>
#include <i386/isa/icu.h> /* Hmmm. Interrupt stuff? */
diff --git a/sys/i386/eisa/eisaconf.c b/sys/i386/eisa/eisaconf.c
index 7153df6..cf3cd3f 100644
--- a/sys/i386/eisa/eisaconf.c
+++ b/sys/i386/eisa/eisaconf.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: eisaconf.c,v 1.28 1997/07/20 06:31:09 bde Exp $
+ * $Id: eisaconf.c,v 1.29 1997/08/21 07:36:43 fsmp Exp $
*/
#include "opt_eisa.h"
@@ -38,6 +38,8 @@
#include <sys/kernel.h>
#include <sys/malloc.h>
+#include <machine/limits.h>
+
#include <i386/eisa/eisaconf.h>
#include <i386/isa/icu.h> /* Hmmm. Interrupt stuff? */
diff --git a/sys/i386/i386/tsc.c b/sys/i386/i386/tsc.c
index 7f89a7f..28f6dc9 100644
--- a/sys/i386/i386/tsc.c
+++ b/sys/i386/i386/tsc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.8 1997/08/21 04:51:12 smp Exp smp $
+ * $Id: clock.c,v 1.99 1997/08/21 05:08:07 fsmp Exp $
*/
/*
@@ -64,6 +64,7 @@
#include <machine/cpu.h>
#include <machine/frame.h>
#include <machine/ipl.h>
+#include <machine/limits.h>
#ifdef APIC_IO
#include <machine/smp.h>
#endif /* APIC_IO */
diff --git a/sys/i386/i386/userconfig.c b/sys/i386/i386/userconfig.c
index ff0ef3b..81aea77 100644
--- a/sys/i386/i386/userconfig.c
+++ b/sys/i386/i386/userconfig.c
@@ -46,7 +46,7 @@
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**
- ** $Id: userconfig.c,v 1.87 1997/08/11 09:44:57 jkh Exp $
+ ** $Id: userconfig.c,v 1.88 1997/08/16 14:19:43 msmith Exp $
**/
/**
@@ -115,6 +115,7 @@
#include <machine/cons.h>
#include <machine/md_var.h>
+#include <machine/limits.h>
#include <i386/isa/isa_device.h>
@@ -2359,7 +2360,7 @@ visuserconfig(void)
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: userconfig.c,v 1.87 1997/08/11 09:44:57 jkh Exp $
+ * $Id: userconfig.c,v 1.88 1997/08/16 14:19:43 msmith Exp $
*/
#include "scbus.h"
diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c
index 7f89a7f..28f6dc9 100644
--- a/sys/i386/isa/clock.c
+++ b/sys/i386/isa/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.8 1997/08/21 04:51:12 smp Exp smp $
+ * $Id: clock.c,v 1.99 1997/08/21 05:08:07 fsmp Exp $
*/
/*
@@ -64,6 +64,7 @@
#include <machine/cpu.h>
#include <machine/frame.h>
#include <machine/ipl.h>
+#include <machine/limits.h>
#ifdef APIC_IO
#include <machine/smp.h>
#endif /* APIC_IO */
diff --git a/sys/i386/isa/qcamio.c b/sys/i386/isa/qcamio.c
index 931c78d..2a1d471 100644
--- a/sys/i386/isa/qcamio.c
+++ b/sys/i386/isa/qcamio.c
@@ -83,6 +83,10 @@
#ifdef __FreeBSD__
#include <i386/isa/qcamreg.h>
#include <i386/isa/qcamdefs.h>
+
+#include <machine/limits.h> /* XXX for bogus UCHAR_MAX checks -
+ * the types are all u_char so the
+ * tests are null */
#else
#include "qcamreg.h"
#include "qcamdefs.h"
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c
index 7f89a7f..28f6dc9 100644
--- a/sys/isa/atrtc.c
+++ b/sys/isa/atrtc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.8 1997/08/21 04:51:12 smp Exp smp $
+ * $Id: clock.c,v 1.99 1997/08/21 05:08:07 fsmp Exp $
*/
/*
@@ -64,6 +64,7 @@
#include <machine/cpu.h>
#include <machine/frame.h>
#include <machine/ipl.h>
+#include <machine/limits.h>
#ifdef APIC_IO
#include <machine/smp.h>
#endif /* APIC_IO */
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index ecbebf9..05ce91c 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
- * $Id: kern_clock.c,v 1.36 1997/04/26 11:46:12 peter Exp $
+ * $Id: kern_clock.c,v 1.37 1997/06/24 18:20:47 jhay Exp $
*/
/* Portions of this software are covered by the following: */
@@ -78,6 +78,7 @@
#include <machine/cpu.h>
#define CLOCK_HAIR /* XXX */
#include <machine/clock.h>
+#include <machine/limits.h>
#ifdef GPROF
#include <sys/gmon.h>
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index e053efe..f0365f0 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_exit.c 8.7 (Berkeley) 2/12/94
- * $Id: kern_exit.c,v 1.50 1997/07/06 02:40:40 dyson Exp $
+ * $Id: kern_exit.c,v 1.51 1997/07/17 04:49:27 dyson Exp $
*/
#include "opt_ktrace.h"
@@ -69,6 +69,7 @@
#include <machine/reg.h>
#include <machine/psl.h>
#endif
+#include <machine/limits.h> /* for UCHAR_MAX = typeof(p_priority)_MAX */
#include <vm/vm.h>
#include <vm/vm_param.h>
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 17d5db4..493c9c1 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_synch.c 8.9 (Berkeley) 5/19/95
- * $Id: kern_synch.c,v 1.35 1997/08/16 19:07:20 wollman Exp $
+ * $Id: kern_synch.c,v 1.36 1997/08/18 01:34:38 julian Exp $
*/
#include "opt_ktrace.h"
@@ -60,6 +60,7 @@
#endif
#include <machine/cpu.h>
+#include <machine/limits.h> /* for UCHAR_MAX = typeof(p_priority)_MAX */
static void rqinit __P((void *));
SYSINIT(runqueue, SI_SUB_RUN_QUEUE, SI_ORDER_FIRST, rqinit, NULL)
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c
index ecbebf9..05ce91c 100644
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
- * $Id: kern_clock.c,v 1.36 1997/04/26 11:46:12 peter Exp $
+ * $Id: kern_clock.c,v 1.37 1997/06/24 18:20:47 jhay Exp $
*/
/* Portions of this software are covered by the following: */
@@ -78,6 +78,7 @@
#include <machine/cpu.h>
#define CLOCK_HAIR /* XXX */
#include <machine/clock.h>
+#include <machine/limits.h>
#ifdef GPROF
#include <sys/gmon.h>
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c
index ecbebf9..05ce91c 100644
--- a/sys/kern/kern_timeout.c
+++ b/sys/kern/kern_timeout.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
- * $Id: kern_clock.c,v 1.36 1997/04/26 11:46:12 peter Exp $
+ * $Id: kern_clock.c,v 1.37 1997/06/24 18:20:47 jhay Exp $
*/
/* Portions of this software are covered by the following: */
@@ -78,6 +78,7 @@
#include <machine/cpu.h>
#define CLOCK_HAIR /* XXX */
#include <machine/clock.h>
+#include <machine/limits.h>
#ifdef GPROF
#include <sys/gmon.h>
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index 8a554d0..46ac263 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)uipc_socket.c 8.3 (Berkeley) 4/15/94
- * $Id: uipc_socket.c,v 1.27 1997/06/27 15:28:54 peter Exp $
+ * $Id: uipc_socket.c,v 1.28 1997/08/16 19:15:04 wollman Exp $
*/
#include <sys/param.h>
@@ -50,6 +50,8 @@
#include <sys/signalvar.h>
#include <sys/sysctl.h>
+#include <machine/limits.h>
+
static int somaxconn = SOMAXCONN;
SYSCTL_INT(_kern_ipc, KIPC_SOMAXCONN, somaxconn, CTLFLAG_RW, &somaxconn,
0, "");
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
index 6b55c85..7f01c7b 100644
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
- * $Id: vfs_subr.c,v 1.90 1997/08/04 07:43:28 dyson Exp $
+ * $Id: vfs_subr.c,v 1.91 1997/08/16 19:15:08 wollman Exp $
*/
/*
@@ -63,6 +63,8 @@
#include <sys/mbuf.h>
#include <sys/dirent.h>
+#include <machine/limits.h>
+
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_object.h>
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 6b55c85..7f01c7b 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
- * $Id: vfs_subr.c,v 1.90 1997/08/04 07:43:28 dyson Exp $
+ * $Id: vfs_subr.c,v 1.91 1997/08/16 19:15:08 wollman Exp $
*/
/*
@@ -63,6 +63,8 @@
#include <sys/mbuf.h>
#include <sys/dirent.h>
+#include <machine/limits.h>
+
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_object.h>
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c
index beba123..e8d1731 100644
--- a/sys/vm/vm_glue.c
+++ b/sys/vm/vm_glue.c
@@ -59,7 +59,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_glue.c,v 1.63 1997/04/13 01:48:34 dyson Exp $
+ * $Id: vm_glue.c,v 1.64 1997/04/14 03:40:42 peter Exp $
*/
#include "opt_rlimit.h"
@@ -76,6 +76,8 @@
#include <sys/dkstat.h>
#include <sys/unistd.h>
+#include <machine/limits.h>
+
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_inherit.h>
OpenPOWER on IntegriCloud