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>
8 #define ppath_assert(__x) KASSERT(__x)
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);