mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 23:05:49 +01:00
make the example compile again.
The makefile contains a reference to /sys/dev/ppbus. What really should be done is copy the header files to /usr/include/sys/dev/ppbus. PR: kern/16767 Submitted by: Jin Guojun (FTG staff) <jin@gracie.lbl.gov>
This commit is contained in:
parent
a343b08831
commit
7fe1aaca86
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59712
@ -5,4 +5,8 @@
|
||||
PROG= ppilcd
|
||||
NOMAN= YES
|
||||
|
||||
# XXX This should not be done in fact. The header files should
|
||||
# be copied to /usr/include/sys/dev/ppbus during make world
|
||||
CFLAGS += -I/sys/dev/ppbus
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -250,6 +250,7 @@ struct ppb_data {
|
||||
void *ppb_owner; /* device which owns the bus */
|
||||
};
|
||||
|
||||
#ifdef _KERNEL
|
||||
extern int ppb_attach_device(device_t);
|
||||
extern int ppb_request_bus(device_t, device_t, int);
|
||||
extern int ppb_release_bus(device_t, device_t);
|
||||
@ -263,6 +264,7 @@ extern int ppb_get_epp_protocol(device_t);
|
||||
extern int ppb_set_mode(device_t, int); /* returns old mode */
|
||||
extern int ppb_get_mode(device_t); /* returns current mode */
|
||||
extern int ppb_write(device_t, char *, int, int);
|
||||
#endif /* _KERNEL */
|
||||
|
||||
/*
|
||||
* These are defined as macros for speedup.
|
||||
|
Loading…
Reference in New Issue
Block a user