diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-29 08:36:45 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-29 08:36:45 +0000 |
commit | 1c7115fb5f80e294b4cc5eb1ea863df6dd3024f4 (patch) | |
tree | b5b52097389338ac55748d63bf92af2d4a36e4aa /sys/kern/kern_module.c | |
parent | cf8e8cebcc0d1caa79eb2e92784961cfe301f5bb (diff) | |
download | FreeBSD-src-1c7115fb5f80e294b4cc5eb1ea863df6dd3024f4.zip FreeBSD-src-1c7115fb5f80e294b4cc5eb1ea863df6dd3024f4.tar.gz |
More -Wall / -Wcast-qual cleanup. Also, EXEC_SET can't use
C_DECLARE_MODULE due to the linker_file_sysinit() function
making modifications to the data.
Diffstat (limited to 'sys/kern/kern_module.c')
-rw-r--r-- | sys/kern/kern_module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_module.c b/sys/kern/kern_module.c index ce82661..86a393d 100644 --- a/sys/kern/kern_module.c +++ b/sys/kern/kern_module.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_module.c,v 1.14 1999/01/09 16:50:04 dfr Exp $ + * $Id: kern_module.c,v 1.15 1999/01/27 21:49:56 dillon Exp $ */ #include <sys/param.h> @@ -77,9 +77,9 @@ module_shutdown(int arg1, void* arg2) } void -module_register_init(void *arg) +module_register_init(const void *arg) { - moduledata_t* data = (moduledata_t*) arg; + const moduledata_t* data = (const moduledata_t*) arg; int error; error = module_register(data->name, data->evhand, data->priv, data->_file); |