From 628f717ec2fbc9c0b59fd747df5b0e2d4e75a5ac Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 13 Nov 2006 22:07:32 +0000 Subject: 2006-11-13 Samuel Thibault * i386/i386at/iopl.c (ioplmmap): Add `int' return type. * i386/i386at/model_dep.c (halt_all_cpus): Fix typo in declaration. * kern/assert.h (Assert): Add __attribute__ ((noreturn)) to declaration. * kern/debug.c (Debugger): Add __attribute__ ((noreturn)) to declaration. (Debugger): Add call to panic(). * kern/debug.h (panic): Add __attribute__ ((noreturn)) to declaration. --- i386/i386at/iopl.c | 1 + i386/i386at/model_dep.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'i386/i386at') diff --git a/i386/i386at/iopl.c b/i386/i386at/iopl.c index 03217c0..8080911 100644 --- a/i386/i386at/iopl.c +++ b/i386/i386at/iopl.c @@ -103,6 +103,7 @@ ioplclose(dev, flags) /*ARGSUSED*/ int iopl_all = 1; +int ioplmmap(dev, off, prot) int dev; vm_offset_t off; diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index b1c8226..1546077 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -88,7 +88,7 @@ extern char version[]; extern void setup_main(); -void halt_all_cpu (boolean_t reboot) __attribute__ ((noreturn)); +void halt_all_cpus (boolean_t reboot) __attribute__ ((noreturn)); void halt_cpu (void) __attribute__ ((noreturn)); void inittodr(); /* forward */ -- cgit v1.2.3