No empty .Rs/.Re
[netbsd-mini2440.git] / sys / conf / debugsyms.c
blob419e78e7d9df11fea6b8f8221b964e8c4b83a29d
1 /* $NetBSD: debugsyms.c,v 1.2 2008/06/06 13:21:00 ad Exp $ */
2 /*
3 * This file is in the public domain.
4 */
6 #include <sys/cdefs.h>
7 __KERNEL_RCSID(0, "$NetBSD: debugsyms.c,v 1.2 2008/06/06 13:21:00 ad Exp $");
9 #define _CALLOUT_PRIVATE
10 #define __MUTEX_PRIVATE
12 #include <sys/param.h>
13 #include <sys/lwp.h>
14 #include <sys/mbuf.h>
15 #include <sys/mutex.h>
16 #include <sys/proc.h>
17 #include <sys/sched.h>
18 #include <sys/sleepq.h>
19 #include <sys/time.h>
20 #include <sys/ucontext.h>
21 #include <sys/uio.h>
22 #include <sys/un.h>
23 #include <sys/unpcb.h>
24 #include <sys/vnode.h>
27 * Without a dummy function referencing some of the types, gcc will
28 * not emit any debug information.
30 proc_t *_debugsym_dummyfunc(vnode_t *vp);
32 proc_t *
33 _debugsym_dummyfunc(vnode_t *vp)
36 return ((lwp_t *)vp->v_mount)->l_proc;