mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Added kernel compile time failure if more than one APM device is
configured.
This commit is contained in:
parent
8371872e22
commit
f440f5788c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14692
@ -13,11 +13,15 @@
|
||||
*
|
||||
* Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
|
||||
*
|
||||
* $Id: apm.c,v 1.32 1996/03/18 23:30:14 nate Exp $
|
||||
* $Id: apm.c,v 1.33 1996/03/19 04:39:53 nate Exp $
|
||||
*/
|
||||
|
||||
#include "apm.h"
|
||||
|
||||
#if NAPM > 1
|
||||
#error only one APM device may be configured
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/kernel.h>
|
||||
|
@ -13,11 +13,15 @@
|
||||
*
|
||||
* Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
|
||||
*
|
||||
* $Id: apm.c,v 1.32 1996/03/18 23:30:14 nate Exp $
|
||||
* $Id: apm.c,v 1.33 1996/03/19 04:39:53 nate Exp $
|
||||
*/
|
||||
|
||||
#include "apm.h"
|
||||
|
||||
#if NAPM > 1
|
||||
#error only one APM device may be configured
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/kernel.h>
|
||||
|
Loading…
Reference in New Issue
Block a user