Now compilable with C++.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3674 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e5430a086c
commit
41415a1bc0
@ -13,6 +13,10 @@ typedef struct hash_iterator {
|
||||
|
||||
typedef struct hash_table hash_table;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct hash_table *hash_init(uint32 table_size, int next_ptr_offset,
|
||||
int compare_func(void *element, const void *key),
|
||||
uint32 hash_func(void *element, const void *key, uint32 range));
|
||||
@ -41,4 +45,8 @@ void hash_rewind(struct hash_table *table, struct hash_iterator *i);
|
||||
|
||||
uint32 hash_hash_string(const char *str);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _KERNEL_KHASH_H */
|
||||
|
@ -15,6 +15,10 @@
|
||||
struct kernel_args;
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
//void vm_dump_areas(vm_address_space *aspace);
|
||||
int vm_init(kernel_args *ka);
|
||||
int vm_init_postsem(struct kernel_args *ka);
|
||||
@ -74,5 +78,8 @@ void forbid_page_faults(void);
|
||||
// XXX remove later
|
||||
void vm_test(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _KERNEL_VM_H */
|
||||
|
Loading…
Reference in New Issue
Block a user