From 3c204936cd715fdb0abc6efbedbb909e2fd9f942 Mon Sep 17 00:00:00 2001 From: green Date: Sat, 6 May 2000 01:39:45 +0000 Subject: Give the "streams" modulea version (1) and depend on it from the "svr4elf" module. This unbreaks the SVR4 KLD (which had an undefined function because of thenewly-committed KLD enhancements). --- sys/compat/svr4/svr4_sysvec.c | 1 + sys/dev/streams/streams.c | 1 + sys/svr4/svr4_sysvec.c | 1 + 3 files changed, 3 insertions(+) (limited to 'sys') diff --git a/sys/compat/svr4/svr4_sysvec.c b/sys/compat/svr4/svr4_sysvec.c index 180bea1..5063ea6 100644 --- a/sys/compat/svr4/svr4_sysvec.c +++ b/sys/compat/svr4/svr4_sysvec.c @@ -402,3 +402,4 @@ static moduledata_t svr4_elf_mod = { 0 }; DECLARE_MODULE(svr4elf, svr4_elf_mod, SI_SUB_EXEC, SI_ORDER_ANY); +MODULE_DEPEND(svr4elf, streams, 1, 1, 1); diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c index f4c89e0..c0f6f1c 100644 --- a/sys/dev/streams/streams.c +++ b/sys/dev/streams/streams.c @@ -188,6 +188,7 @@ static moduledata_t streams_mod = { 0 }; DECLARE_MODULE(streams, streams_mod, SI_SUB_DRIVERS, SI_ORDER_ANY); +MODULE_VERSION(streams, 1); /* * We only need open() and close() routines. open() calls socreate() diff --git a/sys/svr4/svr4_sysvec.c b/sys/svr4/svr4_sysvec.c index 180bea1..5063ea6 100644 --- a/sys/svr4/svr4_sysvec.c +++ b/sys/svr4/svr4_sysvec.c @@ -402,3 +402,4 @@ static moduledata_t svr4_elf_mod = { 0 }; DECLARE_MODULE(svr4elf, svr4_elf_mod, SI_SUB_EXEC, SI_ORDER_ANY); +MODULE_DEPEND(svr4elf, streams, 1, 1, 1); -- cgit v1.1