diff options
Diffstat (limited to 'sys/alpha/include')
-rw-r--r-- | sys/alpha/include/console.h | 11 | ||||
-rw-r--r-- | sys/alpha/include/mouse.h | 4 |
2 files changed, 2 insertions, 13 deletions
diff --git a/sys/alpha/include/console.h b/sys/alpha/include/console.h index 79ff98f..2a9f369 100644 --- a/sys/alpha/include/console.h +++ b/sys/alpha/include/console.h @@ -1,14 +1,5 @@ /* $FreeBSD$ */ - -#ifndef _MACHINE_CONSOLE_H_ -#define _MACHINE_CONSOLE_H_ - #if __GNUC__ -#warning "this file includes <machine/console.h> which is deprecated, use <sys/{kb,cons,fb}io.h> instead" +#error "this file includes <machine/console.h> which is deprecated, use <sys/{kb,cons,fb}io.h> instead" #endif -#include <sys/fbio.h> -#include <sys/kbio.h> -#include <sys/consio.h> - -#endif /* !_MACHINE_CONSOLE_H_ */ diff --git a/sys/alpha/include/mouse.h b/sys/alpha/include/mouse.h index b1f5130..1aded0d 100644 --- a/sys/alpha/include/mouse.h +++ b/sys/alpha/include/mouse.h @@ -1,6 +1,4 @@ /* $FreeBSD$ */ #if __GNUC__ -#warning "this file includes <machine/mouse.h> which is deprecated, use <sys/mouse.h> instead" +#error "this file includes <machine/mouse.h> which is deprecated, use <sys/mouse.h> instead" #endif - -#include <sys/mouse.h> |