Switched to kernel_cpp.h/cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6291 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "cpp.h"
|
|
||||||
#include "Debug.h"
|
#include "Debug.h"
|
||||||
#include "BlockAllocator.h"
|
#include "BlockAllocator.h"
|
||||||
#include "Volume.h"
|
#include "Volume.h"
|
||||||
@@ -14,7 +13,8 @@
|
|||||||
#include "Stack.h"
|
#include "Stack.h"
|
||||||
#include "bfs_control.h"
|
#include "bfs_control.h"
|
||||||
|
|
||||||
#include <malloc.h>
|
#include <kernel_cpp.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifdef USER
|
#ifdef USER
|
||||||
# define spawn_kernel_thread spawn_thread
|
# define spawn_kernel_thread spawn_thread
|
||||||
|
|||||||
@@ -7,9 +7,8 @@
|
|||||||
|
|
||||||
#include "BufferPool.h"
|
#include "BufferPool.h"
|
||||||
#include "Debug.h"
|
#include "Debug.h"
|
||||||
#include "cpp.h"
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <kernel_cpp.h>
|
||||||
|
|
||||||
|
|
||||||
const uint32 kNumBuffers = 8;
|
const uint32 kNumBuffers = 8;
|
||||||
|
|||||||
@@ -6,12 +6,12 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "Debug.h"
|
#include "Debug.h"
|
||||||
#include "cpp.h"
|
|
||||||
#include "Index.h"
|
#include "Index.h"
|
||||||
#include "Volume.h"
|
#include "Volume.h"
|
||||||
#include "Inode.h"
|
#include "Inode.h"
|
||||||
#include "BPlusTree.h"
|
#include "BPlusTree.h"
|
||||||
|
|
||||||
|
#include <kernel_cpp.h>
|
||||||
#include <TypeConstants.h>
|
#include <TypeConstants.h>
|
||||||
|
|
||||||
// B_MIME_STRING_TYPE is defined in storage/Mime.h, but we
|
// B_MIME_STRING_TYPE is defined in storage/Mime.h, but we
|
||||||
@@ -185,7 +185,9 @@ Index::Create(Transaction *transaction, const char *name, uint32 type)
|
|||||||
mode = S_DOUBLE_INDEX;
|
mode = S_DOUBLE_INDEX;
|
||||||
break;
|
break;
|
||||||
case B_STRING_TYPE:
|
case B_STRING_TYPE:
|
||||||
case B_MIME_STRING_TYPE: // XXX Note Index::Type() will always return B_STRING_TYPE.
|
case B_MIME_STRING_TYPE:
|
||||||
|
// B_MIME_STRING_TYPE is the only supported non-standard type, but
|
||||||
|
// will be handled like a B_STRING_TYPE internally
|
||||||
mode = S_STR_INDEX;
|
mode = S_STR_INDEX;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
@@ -24,10 +24,12 @@ oldOPTIM = $(OPTIM) ;
|
|||||||
SubDirC++Flags $(defines) -Wall -Wno-multichar ;
|
SubDirC++Flags $(defines) -Wall -Wno-multichar ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UsePrivateHeaders [ FDirName kernel util ] ; # For kernel_cpp.cpp
|
||||||
|
|
||||||
R5KernelAddon obfs : [ FDirName kernel file_systems bfs ] :
|
R5KernelAddon obfs : [ FDirName kernel file_systems bfs ] :
|
||||||
BlockAllocator.cpp
|
BlockAllocator.cpp
|
||||||
BPlusTree.cpp
|
BPlusTree.cpp
|
||||||
cpp.cpp
|
kernel_cpp.cpp
|
||||||
Debug.cpp
|
Debug.cpp
|
||||||
Index.cpp
|
Index.cpp
|
||||||
Inode.cpp
|
Inode.cpp
|
||||||
@@ -39,6 +41,12 @@ R5KernelAddon obfs : [ FDirName kernel file_systems bfs ] :
|
|||||||
BufferPool.cpp
|
BufferPool.cpp
|
||||||
;
|
;
|
||||||
|
|
||||||
|
SEARCH on [ FGristFiles
|
||||||
|
kernel_cpp.cpp
|
||||||
|
] = [ FDirName $(OBOS_TOP) src kernel core util ] ;
|
||||||
|
|
||||||
|
#-----------------------------------------------------
|
||||||
|
|
||||||
rule InstallBFS
|
rule InstallBFS
|
||||||
{
|
{
|
||||||
Depends $(<) : $(>) ;
|
Depends $(<) : $(>) ;
|
||||||
|
|||||||
@@ -5,11 +5,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "cpp.h"
|
|
||||||
#include "Journal.h"
|
#include "Journal.h"
|
||||||
#include "Inode.h"
|
#include "Inode.h"
|
||||||
#include "Debug.h"
|
#include "Debug.h"
|
||||||
|
|
||||||
|
#include <kernel_cpp.h>
|
||||||
|
|
||||||
|
|
||||||
Journal::Journal(Volume *volume)
|
Journal::Journal(Volume *volume)
|
||||||
:
|
:
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "Query.h"
|
#include "Query.h"
|
||||||
#include "cpp.h"
|
|
||||||
#include "bfs.h"
|
#include "bfs.h"
|
||||||
#include "Debug.h"
|
#include "Debug.h"
|
||||||
#include "Stack.h"
|
#include "Stack.h"
|
||||||
@@ -19,6 +18,7 @@
|
|||||||
#include "BPlusTree.h"
|
#include "BPlusTree.h"
|
||||||
#include "Index.h"
|
#include "Index.h"
|
||||||
|
|
||||||
|
#include <kernel_cpp.h>
|
||||||
#include <SupportDefs.h>
|
#include <SupportDefs.h>
|
||||||
#include <TypeConstants.h>
|
#include <TypeConstants.h>
|
||||||
#include <AppDefs.h>
|
#include <AppDefs.h>
|
||||||
|
|||||||
@@ -7,7 +7,8 @@
|
|||||||
|
|
||||||
#include "Utility.h"
|
#include "Utility.h"
|
||||||
#include "Debug.h"
|
#include "Debug.h"
|
||||||
#include "cpp.h"
|
|
||||||
|
#include <kernel_cpp.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@@ -6,12 +6,12 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "Debug.h"
|
#include "Debug.h"
|
||||||
#include "cpp.h"
|
|
||||||
#include "Volume.h"
|
#include "Volume.h"
|
||||||
#include "Journal.h"
|
#include "Journal.h"
|
||||||
#include "Inode.h"
|
#include "Inode.h"
|
||||||
#include "Query.h"
|
#include "Query.h"
|
||||||
|
|
||||||
|
#include <kernel_cpp.h>
|
||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
#include <fs_volume.h>
|
#include <fs_volume.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user