diff options
Diffstat (limited to 'src/kernel/NetworkKit/NetworkDevice.inl')
| -rw-r--r-- | src/kernel/NetworkKit/NetworkDevice.inl | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/kernel/NetworkKit/NetworkDevice.inl b/src/kernel/NetworkKit/NetworkDevice.inl index a86d7e56..b57012c9 100644 --- a/src/kernel/NetworkKit/NetworkDevice.inl +++ b/src/kernel/NetworkKit/NetworkDevice.inl @@ -13,12 +13,10 @@ #endif // __INC_NETWORK_DEVICE_H__ namespace Kernel { -inline NetworkDevice::NetworkDevice(void (*out)(DeviceInterface<NetworkDeviceCommand>*, - NetworkDeviceCommand), - void (*in)(DeviceInterface<NetworkDeviceCommand>*, - NetworkDeviceCommand), - void (*on_cleanup)(void)) - : DeviceInterface<NetworkDeviceCommand>(out, in), fCleanup(on_cleanup) { +inline NetworkDevice::NetworkDevice( + void (*out)(IDevice<NetworkDeviceCommand>*, NetworkDeviceCommand), + void (*in)(IDevice<NetworkDeviceCommand>*, NetworkDeviceCommand), void (*on_cleanup)(void)) + : IDevice<NetworkDeviceCommand>(out, in), fCleanup(on_cleanup) { kout << "NetworkDevice initialized.\r"; MUST_PASS(out && in && on_cleanup); |
