minimal cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20901 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
dac7faad8d
commit
0be6e97788
@ -5,7 +5,6 @@
|
||||
* Authors:
|
||||
* Hugo Santos, hugosantos@gmail.com
|
||||
*/
|
||||
|
||||
#ifndef _SLAB_BASE_SLAB_H_
|
||||
#define _SLAB_BASE_SLAB_H_
|
||||
|
||||
|
@ -5,7 +5,6 @@
|
||||
* Authors:
|
||||
* Hugo Santos, hugosantos@gmail.com
|
||||
*/
|
||||
|
||||
#ifndef _SLAB_DEPOT_H_
|
||||
#define _SLAB_DEPOT_H_
|
||||
|
||||
|
@ -5,7 +5,6 @@
|
||||
* Authors:
|
||||
* Hugo Santos, hugosantos@gmail.com
|
||||
*/
|
||||
|
||||
#ifndef _SLAB_SLAB_H_
|
||||
#define _SLAB_SLAB_H_
|
||||
|
||||
|
@ -1152,7 +1152,7 @@ dump_cache_info(int argc, char *argv[])
|
||||
object_cache *cache = (object_cache *)strtoul(argv[1], NULL, 16);
|
||||
|
||||
kprintf("name: %s\n", cache->name);
|
||||
kprintf("lock: { count: %i, sem: %ld }\n", cache->lock.count,
|
||||
kprintf("lock: { count: %ld, sem: %ld }\n", cache->lock.count,
|
||||
cache->lock.sem);
|
||||
kprintf("object_size: %lu\n", cache->object_size);
|
||||
kprintf("cache_color_cycle: %lu\n", cache->cache_color_cycle);
|
||||
|
@ -5,17 +5,15 @@
|
||||
* Authors:
|
||||
* Hugo Santos, hugosantos@gmail.com
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _SLAB_PRIVATE_H_
|
||||
#define _SLAB_PRIVATE_H_
|
||||
|
||||
extern "C" {
|
||||
void *block_alloc(size_t size);
|
||||
void block_free(void *block);
|
||||
void block_allocator_init_boot();
|
||||
void block_allocator_init_rest();
|
||||
}
|
||||
#include <stddef.h>
|
||||
|
||||
void *block_alloc(size_t size);
|
||||
void block_free(void *block);
|
||||
void block_allocator_init_boot();
|
||||
void block_allocator_init_rest();
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user