8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / ipf / tools / kmem.h
blobd2b1171aeb2cf1183a2f73b29c0ffac16d63b08a
1 /*
2 * Copyright (C) 1993-2001 by Darren Reed.
4 * See the IPFILTER.LICENCE file for details on licencing.
5 * $Id: kmem.h,v 2.5 2002/08/21 22:57:36 darrenr Exp $
6 */
8 #ifndef __KMEM_H__
9 #define __KMEM_H__
11 #ifndef __P
12 # ifdef __STDC__
13 # define __P(x) x
14 # else
15 # define __P(x) ()
16 # endif
17 #endif
18 extern int openkmem __P((char *, char *));
19 extern int kmemcpy __P((char *, long, int));
20 extern int kstrncpy __P((char *, long, int));
22 #if defined(__NetBSD__) || defined(__OpenBSD)
23 # include <paths.h>
24 #endif
26 #ifdef _PATH_KMEM
27 # define KMEM _PATH_KMEM
28 #else
29 # define KMEM "/dev/kmem"
30 #endif
32 #endif /* __KMEM_H__ */