Since fsproto.h is now C++ safe, it must be correctly included.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7928 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-06-12 19:43:10 +00:00
parent a73b15dbce
commit 638d6f0330
5 changed files with 15 additions and 25 deletions
@@ -15,12 +15,13 @@
Axel Dörfler, [email protected] Axel Dörfler, [email protected]
*/ */
#include <fsproto.h>
extern "C" { extern "C" {
#ifndef _IMPEXP_KERNEL #ifndef _IMPEXP_KERNEL
# define _IMPEXP_KERNEL # define _IMPEXP_KERNEL
#endif #endif
#include <fsproto.h>
#include "lock.h" #include "lock.h"
#include "cache.h" #include "cache.h"
} }
+4 -7
View File
@@ -10,13 +10,10 @@
/*! \file Icb.h /*! \file Icb.h
*/ */
extern "C" { #ifndef _IMPEXP_KERNEL
#ifndef _IMPEXP_KERNEL # define _IMPEXP_KERNEL
# define _IMPEXP_KERNEL #endif
#endif #include <fsproto.h>
#include <fsproto.h>
}
#include "kernel_cpp.h" #include "kernel_cpp.h"
#include "UdfDebug.h" #include "UdfDebug.h"
+4 -7
View File
@@ -12,13 +12,10 @@
Miscellaneous Udf utility functions. Miscellaneous Udf utility functions.
*/ */
extern "C" { #ifndef _IMPEXP_KERNEL
#ifndef _IMPEXP_KERNEL # define _IMPEXP_KERNEL
# define _IMPEXP_KERNEL #endif
#endif #include <fsproto.h>
#include <fsproto.h>
}
#include "UdfStructures.h" #include "UdfStructures.h"
+4 -7
View File
@@ -13,13 +13,10 @@
*/ */
#include <KernelExport.h> #include <KernelExport.h>
extern "C" { #ifndef _IMPEXP_KERNEL
#ifndef _IMPEXP_KERNEL # define _IMPEXP_KERNEL
# define _IMPEXP_KERNEL #endif
#endif #include <fsproto.h>
#include <fsproto.h>
}
#include "kernel_cpp.h" #include "kernel_cpp.h"
#include "UdfDebug.h" #include "UdfDebug.h"
+1 -3
View File
@@ -27,9 +27,7 @@
# define _IMPEXP_KERNEL # define _IMPEXP_KERNEL
#endif #endif
extern "C" { #include <fsproto.h>
#include <fsproto.h>
} // end extern "C"
#if !_KERNEL_MODE #if !_KERNEL_MODE
# define dprintf printf # define dprintf printf