summaryrefslogtreecommitdiff
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2002-12-29 00:35:42 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-12-29 00:35:42 -0800
commit2cdea2157dfbe0ea2a28bf6d4dc6c53013e4088f (patch)
tree1555984b3d5607a6d2950d8a4e1d82ed85d56ee2 /include/linux/compiler.h
parent81a2f2db110adfe79b879c94364a0d362099153d (diff)
[PATCH] more deprectation bits
Rename the deprecated attribute to __deprecated to make it obvious this is something special and to avoid namespace clashes. Mark old module interfaces deprecated.
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r--include/linux/compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index 51cfdb71594b..f88889740949 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -21,9 +21,9 @@
* and then gcc will emit a warning for each usage of the function.
*/
#if __GNUC__ >= 3
-#define deprecated __attribute__((deprecated))
+#define __deprecated __attribute__((deprecated))
#else
-#define deprecated
+#define __deprecated
#endif
/* This macro obfuscates arithmetic on a variable address so that gcc