btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / system / kernel / device_manager / IOCallback.cpp
blob4a8a2d9edced57dbba1f9752964a9bad6335cb03
1 /*
2 * Copyright 2008-2010, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Copyright 2004-2009, Axel Dörfler, axeld@pinc-software.de.
4 * Distributed under the terms of the MIT License.
5 */
8 #include "IOCallback.h"
11 IOCallback::~IOCallback()
16 status_t
17 IOCallback::DoIO(IOOperation* operation)
19 return B_ERROR;
23 /*static*/ status_t
24 IOCallback::WrapperFunction(void* data, io_operation* operation)
26 return ((IOCallback*)data)->DoIO(operation);