patch-2.3.16 linux/include/linux/init.h
Next file: linux/include/linux/kernel.h
Previous file: linux/include/linux/fs.h
Back to the patch index
Back to the overall index
- Lines: 47
- Date:
Thu Aug 26 12:43:58 1999
- Orig file:
v2.3.15/linux/include/linux/init.h
- Orig date:
Fri Aug 6 11:56:54 1999
diff -u --recursive --new-file v2.3.15/linux/include/linux/init.h linux/include/linux/init.h
@@ -17,14 +17,6 @@
* extern int z; z = x * y;
* }
*
- * Depricated: you can surround the whole function declaration
- * just before function body into __initfunc() macro, like:
- *
- * __initfunc (static void initme(int x, int y))
- * {
- * extern int z; z = x * y;
- * }
- *
* If the function has a prototype somewhere, you can also add
* __init between closing brace of the prototype and semicolon:
*
@@ -41,12 +33,6 @@
* you should use __initlocaldata instead, due to a bug in GCC 2.7.
*/
-/*
- * Disable the __initfunc macros if a file that is a part of a
- * module attempts to use them. We do not want to interfere
- * with module linking.
- */
-
#ifndef MODULE
#ifndef __ASSEMBLY__
@@ -88,10 +74,6 @@
#define __initsetup __attribute__ ((unused,__section__ (".setup.init")))
#define __init_call __attribute__ ((unused,__section__ (".initcall.init")))
-#define __initfunc(__arginit) \
- __arginit __init; \
- __arginit
-
/* For assembly routines */
#define __INIT .section ".text.init","ax"
#define __FINIT .previous
@@ -106,7 +88,6 @@
#define __exit
#define __initdata
#define __exitdata
-#define __initfunc(__arginit) __arginit
#define __initcall
/* For assembly routines */
#define __INIT
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)