From 3c4cc54948b4ac8f32a05b83fc302dc728c65bb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 4 Apr 2006 00:29:07 +0000 Subject: [PATCH] disk_device_manager.h no longer includes a private header - ie. that header is public now, even if it may not yet be public and fixed API. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16995 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/drivers/disk_device_manager.h | 13 ++++++------- .../{private => os}/storage/DiskDeviceDefs.h | 17 +++++------------ 2 files changed, 11 insertions(+), 19 deletions(-) rename headers/{private => os}/storage/DiskDeviceDefs.h (93%) diff --git a/headers/os/drivers/disk_device_manager.h b/headers/os/drivers/disk_device_manager.h index f9e5fd6855..ba59f44269 100644 --- a/headers/os/drivers/disk_device_manager.h +++ b/headers/os/drivers/disk_device_manager.h @@ -1,15 +1,14 @@ -// disk_device_manager.h -// -// C API exported by the disk device manager. -// Currently only functions of interest for partition modules/FS add-ons -// are considered. - +/* + * Copyright 2003-2006, Haiku, Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _DISK_DEVICE_MANAGER_H #define _DISK_DEVICE_MANAGER_H + +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/headers/private/storage/DiskDeviceDefs.h b/headers/os/storage/DiskDeviceDefs.h similarity index 93% rename from headers/private/storage/DiskDeviceDefs.h rename to headers/os/storage/DiskDeviceDefs.h index 24820e3724..f099488e00 100644 --- a/headers/private/storage/DiskDeviceDefs.h +++ b/headers/os/storage/DiskDeviceDefs.h @@ -1,16 +1,13 @@ -//---------------------------------------------------------------------- -// This software is part of the OpenBeOS distribution and is covered -// by the OpenBeOS license. -//--------------------------------------------------------------------- - +/* + * Copyright 2003-2006, Haiku, Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _DISK_DEVICE_DEFS_H #define _DISK_DEVICE_DEFS_H + #include -#ifdef __cplusplus -extern "C" { -#endif typedef int32 partition_id; typedef int32 disk_system_id; @@ -156,8 +153,4 @@ enum { // max size of parameter string buffers, including NULL terminator #define B_DISK_DEVICE_MAX_PARAMETER_SIZE (32 * 1024) -#ifdef __cplusplus -} -#endif - #endif // _DISK_DEVICE_DEFS_H