adding a LegacyDrivers namespace to avoid clash with other components (see #7018).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39945 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -41,6 +41,9 @@
|
|||||||
|
|
||||||
#define DRIVER_HASH_SIZE 16
|
#define DRIVER_HASH_SIZE 16
|
||||||
|
|
||||||
|
|
||||||
|
namespace LegacyDrivers {
|
||||||
|
|
||||||
struct legacy_driver;
|
struct legacy_driver;
|
||||||
|
|
||||||
class LegacyDevice : public AbstractModuleDevice,
|
class LegacyDevice : public AbstractModuleDevice,
|
||||||
@@ -214,6 +217,12 @@ public:
|
|||||||
const KMessage* event);
|
const KMessage* event);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
} // namespace LegacyDrivers
|
||||||
|
|
||||||
|
using namespace LegacyDrivers;
|
||||||
|
|
||||||
|
|
||||||
static status_t unload_driver(legacy_driver *driver);
|
static status_t unload_driver(legacy_driver *driver);
|
||||||
static status_t load_driver(legacy_driver *driver);
|
static status_t load_driver(legacy_driver *driver);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user