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:
parent
aef00d7b03
commit
54343bbc2d
@ -5,7 +5,6 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "cpp.h"
|
||||
#include "Debug.h"
|
||||
#include "BlockAllocator.h"
|
||||
#include "Volume.h"
|
||||
@ -14,7 +13,8 @@
|
||||
#include "Stack.h"
|
||||
#include "bfs_control.h"
|
||||
|
||||
#include <malloc.h>
|
||||
#include <kernel_cpp.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef USER
|
||||
# define spawn_kernel_thread spawn_thread
|
||||
|
@ -7,9 +7,8 @@
|
||||
|
||||
#include "BufferPool.h"
|
||||
#include "Debug.h"
|
||||
#include "cpp.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <kernel_cpp.h>
|
||||
|
||||
|
||||
const uint32 kNumBuffers = 8;
|
||||
|
@ -6,12 +6,12 @@
|
||||
|
||||
|
||||
#include "Debug.h"
|
||||
#include "cpp.h"
|
||||
#include "Index.h"
|
||||
#include "Volume.h"
|
||||
#include "Inode.h"
|
||||
#include "BPlusTree.h"
|
||||
|
||||
#include <kernel_cpp.h>
|
||||
#include <TypeConstants.h>
|
||||
|
||||
// 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;
|
||||
break;
|
||||
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;
|
||||
break;
|
||||
default:
|
||||
|
@ -24,10 +24,12 @@ oldOPTIM = $(OPTIM) ;
|
||||
SubDirC++Flags $(defines) -Wall -Wno-multichar ;
|
||||
}
|
||||
|
||||
UsePrivateHeaders [ FDirName kernel util ] ; # For kernel_cpp.cpp
|
||||
|
||||
R5KernelAddon obfs : [ FDirName kernel file_systems bfs ] :
|
||||
BlockAllocator.cpp
|
||||
BPlusTree.cpp
|
||||
cpp.cpp
|
||||
kernel_cpp.cpp
|
||||
Debug.cpp
|
||||
Index.cpp
|
||||
Inode.cpp
|
||||
@ -37,7 +39,13 @@ R5KernelAddon obfs : [ FDirName kernel file_systems bfs ] :
|
||||
Utility.cpp
|
||||
Volume.cpp
|
||||
BufferPool.cpp
|
||||
;
|
||||
;
|
||||
|
||||
SEARCH on [ FGristFiles
|
||||
kernel_cpp.cpp
|
||||
] = [ FDirName $(OBOS_TOP) src kernel core util ] ;
|
||||
|
||||
#-----------------------------------------------------
|
||||
|
||||
rule InstallBFS
|
||||
{
|
||||
|
@ -5,11 +5,12 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "cpp.h"
|
||||
#include "Journal.h"
|
||||
#include "Inode.h"
|
||||
#include "Debug.h"
|
||||
|
||||
#include <kernel_cpp.h>
|
||||
|
||||
|
||||
Journal::Journal(Volume *volume)
|
||||
:
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
|
||||
#include "Query.h"
|
||||
#include "cpp.h"
|
||||
#include "bfs.h"
|
||||
#include "Debug.h"
|
||||
#include "Stack.h"
|
||||
@ -19,6 +18,7 @@
|
||||
#include "BPlusTree.h"
|
||||
#include "Index.h"
|
||||
|
||||
#include <kernel_cpp.h>
|
||||
#include <SupportDefs.h>
|
||||
#include <TypeConstants.h>
|
||||
#include <AppDefs.h>
|
||||
|
@ -7,7 +7,8 @@
|
||||
|
||||
#include "Utility.h"
|
||||
#include "Debug.h"
|
||||
#include "cpp.h"
|
||||
|
||||
#include <kernel_cpp.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -6,12 +6,12 @@
|
||||
|
||||
|
||||
#include "Debug.h"
|
||||
#include "cpp.h"
|
||||
#include "Volume.h"
|
||||
#include "Journal.h"
|
||||
#include "Inode.h"
|
||||
#include "Query.h"
|
||||
|
||||
#include <kernel_cpp.h>
|
||||
#include <KernelExport.h>
|
||||
#include <fs_volume.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user