From cb39a8365e221ff2749620b51e86782d346a1407 Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 28 Oct 1995 12:35:14 +0000 Subject: Do a pass over the broken LKM's and update them to use the "new" convention of having their entry point named "_mod"". Symorder is enforcing this when the current bsd.kmod.mk is installed. I've not tested all these, but at least they all compile now. Reattach them to the makefile. Note that the change that I made to symorder needs to be compiled and installed before any LKM's will work - the last version was corrupting the relocation tables. A "make world" will to this, but if you manually run a make on the lkm's you'll need to take care of it by hand. --- sys/dev/syscons/blank/blank_saver.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/dev/syscons/blank') diff --git a/sys/dev/syscons/blank/blank_saver.c b/sys/dev/syscons/blank/blank_saver.c index e48e037..439adc8 100644 --- a/sys/dev/syscons/blank/blank_saver.c +++ b/sys/dev/syscons/blank/blank_saver.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: blank_saver.c,v 1.1 1995/02/22 13:45:30 sos Exp $ + * $Id: blank_saver.c,v 1.2 1995/05/30 06:06:13 rgrimes Exp $ */ #include @@ -58,7 +58,7 @@ blank_saver(int blank) } } -saver_load(struct lkm_table *lkmtp, int cmd) +blank_saver_load(struct lkm_table *lkmtp, int cmd) { (*current_saver)(0); old_saver = current_saver; @@ -67,7 +67,7 @@ saver_load(struct lkm_table *lkmtp, int cmd) return 0; } -saver_unload(struct lkm_table *lkmtp, int cmd) +blank_saver_unload(struct lkm_table *lkmtp, int cmd) { (*current_saver)(0); current_saver = old_saver; @@ -75,7 +75,7 @@ saver_unload(struct lkm_table *lkmtp, int cmd) return 0; } -saver_init(struct lkm_table *lkmtp, int cmd, int ver) +blank_saver_mod(struct lkm_table *lkmtp, int cmd, int ver) { - DISPATCH(lkmtp, cmd, ver, saver_load, saver_unload, nosys); + DISPATCH(lkmtp, cmd, ver, blank_saver_load, blank_saver_unload, nosys); } -- cgit v1.1