btreeTest: Fix build with gcc2.

This commit is contained in:
Michael Lotz
2014-10-29 23:47:37 +01:00
parent f65b805f6f
commit 488289a4a9
2 changed files with 5 additions and 0 deletions
@@ -7,6 +7,7 @@
#include "cache.h"
#include <Debug.h>
#include <File.h>
#include <List.h>
@@ -21,6 +21,8 @@ extern status_t cached_write(void* cache, off_t num, const void* _data,
// Block Cache API
extern "C" {
extern const void* block_cache_get(void* _cache, off_t blockNumber);
extern status_t block_cache_make_writable(void* _cache, off_t blockNumber,
@@ -32,4 +34,6 @@ extern status_t block_cache_set_dirty(void* _cache, off_t blockNumber,
bool dirty, int32 transaction);
extern void block_cache_put(void* _cache, off_t blockNumber);
} // extern "C"
#endif /* CACHE_H */