summaryrefslogtreecommitdiff
path: root/common/accel_types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/accel_types.hpp')
-rw-r--r--common/accel_types.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/accel_types.hpp b/common/accel_types.hpp
index c931097..15f5a50 100644
--- a/common/accel_types.hpp
+++ b/common/accel_types.hpp
@@ -7,7 +7,7 @@ namespace rawaccel {
// Error throwing calls std libraries which are unavailable in kernel mode.
#ifdef _KERNEL_MODE
- void error(const char*) {}
+ inline void error(const char*) {}
#else
void error(const char* s);
#endif