lock.h and cache.h are C++ safe now.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7838 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-06-08 06:16:35 +00:00
parent c64f45a195
commit 1c1b60af69
2 changed files with 6 additions and 10 deletions
+3 -5
View File
@@ -2,7 +2,7 @@
#define INODE_H #define INODE_H
/* Inode - inode access functions /* Inode - inode access functions
** **
** Initial version by Axel Dörfler, [email protected] ** Copyright 2001-2004, Axel Dörfler, [email protected]
** This file may be used under the terms of the OpenBeOS License. ** This file may be used under the terms of the OpenBeOS License.
*/ */
@@ -17,10 +17,8 @@
# define _IMPEXP_KERNEL # define _IMPEXP_KERNEL
#endif #endif
extern "C" { #include <lock.h>
#include <lock.h> #include <cache.h>
#include <cache.h>
}
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
@@ -2,7 +2,7 @@
#define JOURNAL_H #define JOURNAL_H
/* Journal - transaction and logging /* Journal - transaction and logging
** **
** Initial version by Axel Dörfler, [email protected] ** Copyright 2001-2004, Axel Dörfler, [email protected]
** This file may be used under the terms of the OpenBeOS License. ** This file may be used under the terms of the OpenBeOS License.
*/ */
@@ -18,10 +18,8 @@
# define _IMPEXP_KERNEL # define _IMPEXP_KERNEL
#endif #endif
extern "C" { #include <lock.h>
#include <lock.h> #include <cache.h>
#include <cache.h>
}
#include "Volume.h" #include "Volume.h"
#include "Chain.h" #include "Chain.h"