tools/llvm: Do not build with symbols
[minix3.git] / common / include / ppath / ppath_impl.h
blob8bb3ce4ed0c89c15df4773e09dcf167650793ea4
1 /* $Id: ppath_impl.h,v 1.1 2011/08/25 16:15:29 dyoung Exp $ */
3 /* Copyright (c) 2010 David Young. All rights reserved. */
5 #if defined(__NetBSD__) && (defined(_KERNEL) || defined(_STANDALONE))
6 #include <lib/libkern/libkern.h>
7 #include <sys/errno.h>
8 #define ppath_assert(__x) KASSERT(__x)
9 #else
10 #include <assert.h>
11 #include <errno.h>
12 #include <stdlib.h>
13 #include <string.h>
14 #define ppath_assert(__x) assert(__x)
15 #endif /* defined(__NetBSD__) && (defined(_KERNEL) || defined(_STANDALONE)) */
17 void *ppath_alloc(size_t);
18 void ppath_free(void *, size_t);
19 void ppath_component_extant_inc(void);
20 void ppath_component_extant_dec(void);
21 void ppath_extant_inc(void);
22 void ppath_extant_dec(void);