summaryrefslogtreecommitdiffstats
path: root/sys/sys/linker.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-10-06 05:20:02 +0000
committerjhb <jhb@FreeBSD.org>2000-10-06 05:20:02 +0000
commit607266b371c9a5c22e74940956b42c5f5e26e9c2 (patch)
tree8093dba74f487e0405622cd554cf7c7799dbea57 /sys/sys/linker.h
parent1cc3d5d7b74546d67cdf228f04b3fc2d5dc6dfb4 (diff)
downloadFreeBSD-src-607266b371c9a5c22e74940956b42c5f5e26e9c2.zip
FreeBSD-src-607266b371c9a5c22e74940956b42c5f5e26e9c2.tar.gz
Correct a warning where the r_debug_state() dummy function used to trigger
a breakpoint in the kernel didn't use the proper argument list. To avoid having to include the userland link.h header everyhwere that sys/linker.h is used, make r_debug_state() a static function in link_elf.c as well.
Diffstat (limited to 'sys/sys/linker.h')
-rw-r--r--sys/sys/linker.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/sys/linker.h b/sys/sys/linker.h
index 1933878..87a2a83 100644
--- a/sys/sys/linker.h
+++ b/sys/sys/linker.h
@@ -189,10 +189,6 @@ extern caddr_t preload_search_info(caddr_t _mod, int _inf);
extern void preload_delete_name(const char *_name);
extern void preload_bootstrap_relocate(vm_offset_t _offset);
-#ifdef DDB
-extern void r_debug_state(void);
-#endif
-
#ifdef KLD_DEBUG
extern int kld_debug;
OpenPOWER on IntegriCloud