Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 1995 14:40:11 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, terry@artisoft.com
Cc:        davidg@Root.COM, hackers@freefall.FreeBSD.org, julian@freefall.FreeBSD.org, terry@freefall.FreeBSD.org
Subject:   Re: Terry's changes..
Message-ID:  <199508290440.OAA31773@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Yes and no.  The printf(), of which there is an example in the
>init_main.c unless Julian has moved it already, is a bad exmaple,
>since it wants to be in the initialization code for the module
>bein initialized.  You add the module, you get the printf, you delete
>the module, the printf goes away.

Yes, the module might as well print its own data.

>You can cast the fuction pointer if you are worried about warnings,
>but the copyright stuff, I'd actually prefer as a seperate entity.

No, that would only hide the bug.  printf() isn't compatible with
`void foo(caddr_t)' and the call would break if the kernel was
compiled with -mrtd.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508290440.OAA31773>