minimal cleanups

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20901 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Hugo Santos 2007-04-29 13:11:30 +00:00
parent dac7faad8d
commit 0be6e97788
5 changed files with 7 additions and 12 deletions

View File

@ -5,7 +5,6 @@
* Authors:
* Hugo Santos, hugosantos@gmail.com
*/
#ifndef _SLAB_BASE_SLAB_H_
#define _SLAB_BASE_SLAB_H_

View File

@ -5,7 +5,6 @@
* Authors:
* Hugo Santos, hugosantos@gmail.com
*/
#ifndef _SLAB_DEPOT_H_
#define _SLAB_DEPOT_H_

View File

@ -5,7 +5,6 @@
* Authors:
* Hugo Santos, hugosantos@gmail.com
*/
#ifndef _SLAB_SLAB_H_
#define _SLAB_SLAB_H_

View File

@ -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);

View File

@ -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