Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143833737
D52395.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
410 B
Referenced Files
None
Subscribers
None
D52395.diff
View Options
diff --git a/sys/sys/power.h b/sys/sys/power.h
--- a/sys/sys/power.h
+++ b/sys/sys/power.h
@@ -28,6 +28,7 @@
#ifndef _SYS_POWER_H_
#define _SYS_POWER_H_
+#ifdef _KERNEL
#include <sys/_eventhandler.h>
@@ -60,4 +61,5 @@
typedef void (*power_profile_change_hook)(void *, int);
EVENTHANDLER_DECLARE(power_profile_change, power_profile_change_hook);
+#endif /* _KERNEL */
#endif /* !_SYS_POWER_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 1, 6:38 PM (4 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28406275
Default Alt Text
D52395.diff (410 B)
Attached To
Mode
D52395: sys/power.h: Add `_KERNEL` guards
Attached
Detach File
Event Timeline
Log In to Comment