diff options
author | bde <bde@FreeBSD.org> | 1998-12-20 16:54:27 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-12-20 16:54:27 +0000 |
commit | e2ca92ffd850241a7a8ffbfbae716f95c91ad7cf (patch) | |
tree | 6752b365dc03ec55123561e4e554714ae2beef2e | |
parent | ff048604b9e27bc7eaeb68743a093b8efb7aa6d7 (diff) | |
download | FreeBSD-src-e2ca92ffd850241a7a8ffbfbae716f95c91ad7cf.zip FreeBSD-src-e2ca92ffd850241a7a8ffbfbae716f95c91ad7cf.tar.gz |
Backed out rev.1.46. It had no effect for aout, was incomplete for elf,
and had gratuitous gcc dependencies. Rev.1.47 has a better fix.
-rw-r--r-- | sys/sys/kernel.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/sys/sys/kernel.h b/sys/sys/kernel.h index 77e3ed7..ea75f66 100644 --- a/sys/sys/kernel.h +++ b/sys/sys/kernel.h @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * @(#)kernel.h 8.3 (Berkeley) 1/21/94 - * $Id: kernel.h,v 1.46 1998/12/03 23:02:03 jb Exp $ + * $Id: kernel.h,v 1.47 1998/12/20 14:20:11 dfr Exp $ */ #ifndef _SYS_KERNEL_H_ @@ -241,8 +241,7 @@ struct sysinit { * Default: no special processing */ #define SYSINIT(uniquifier, subsystem, order, func, ident) \ - static struct sysinit __attribute__ ((unused)) \ - uniquifier ## _sys_init = { \ + static struct sysinit uniquifier ## _sys_init = { \ subsystem, \ order, \ func, \ @@ -254,8 +253,7 @@ struct sysinit { * Called on module unload: no special processing */ #define SYSUNINIT(uniquifier, subsystem, order, func, ident) \ - static struct sysinit __attribute__ ((unused)) \ - uniquifier ## _sys_uninit = { \ + static struct sysinit uniquifier ## _sys_uninit = { \ subsystem, \ order, \ func, \ @@ -269,8 +267,7 @@ struct sysinit { * for making a kernel 'thread' (or builtin process.) */ #define SYSINIT_KT(uniquifier, subsystem, order, func, ident) \ - static struct sysinit __attribute__ ((unused)) \ - uniquifier ## _sys_init = { \ + static struct sysinit uniquifier ## _sys_init = { \ subsystem, \ order, \ func, \ @@ -280,13 +277,12 @@ struct sysinit { DATA_SET(sysinit_set,uniquifier ## _sys_init); #define SYSINIT_KP(uniquifier, subsystem, order, func, ident) \ - static struct sysinit __attribute__ ((unused)) \ - uniquifier ## _sys_init = { \ + static struct sysinit uniquifier ## _sys_init = { \ subsystem, \ order, \ func, \ ident, \ - SI_TYPE_KPROCESS \ + SI_TYPE_KPROCESS \ }; \ DATA_SET(sysinit_set,uniquifier ## _sys_init); |