summaryrefslogtreecommitdiff
path: root/security/sfs/files/patch-async_init.h
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-08-23 09:52:03 +0000
committerRene Ladan <rene@FreeBSD.org>2013-08-23 09:52:03 +0000
commit2738c7104a48594687e2961acdddf8ff2b2b0a97 (patch)
tree3815fb6028bd8305001c0bbd6399d9816f1430bc /security/sfs/files/patch-async_init.h
parent- Attempt to unbreak parallel (-jX) builds by fixing targets dependencies (diff)
Remove expired port:
2013-08-23 security/sfs: Broken on FreeBSD 8 and newer
Notes
Notes: svn path=/head/; revision=325258
Diffstat (limited to 'security/sfs/files/patch-async_init.h')
-rw-r--r--security/sfs/files/patch-async_init.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/security/sfs/files/patch-async_init.h b/security/sfs/files/patch-async_init.h
deleted file mode 100644
index 75ad11d3fa13..000000000000
--- a/security/sfs/files/patch-async_init.h
+++ /dev/null
@@ -1,41 +0,0 @@
---- async/init.h.orig Mon Oct 11 16:43:34 2004
-+++ async/init.h Mon Oct 11 16:39:35 2004
-@@ -25,6 +25,12 @@
- #ifndef _ASYNC_INIT_H_
- #define _ASYNC_INIT_H_ 1
-
-+#if __GNUC__ >= 3
-+# define __init_attribute__(x)
-+#else /* gcc < 3 */
-+# define __init_attribute__(x) __attribute__ (x)
-+#endif /* gcc < 3 */
-+
- #define INIT(name) \
- static class name { \
- static int count; \
-@@ -34,7 +40,7 @@
- public: \
- name () {if (!cnt ()++) start ();} \
- ~name () {if (!--cnt ()) stop ();} \
--} init_ ## name __attribute__ ((unused))
-+} init_ ## name __init_attribute__ ((unused))
-
- class initfn {
- initfn ();
-@@ -43,7 +49,7 @@
- };
- #define INITFN(fn) \
- static void fn (); \
--static initfn init_ ## fn (fn) __attribute__ ((unused))
-+static initfn init_ ## fn (fn) __init_attribute__ ((unused))
-
- class exitfn {
- void (*const fn) ();
-@@ -53,6 +59,6 @@
- };
- #define EXITFN(fn) \
- static void fn (); \
--static exitfn exit_ ## fn (fn) __attribute__ ((unused))
-+static exitfn exit_ ## fn (fn) __init_attribute__ ((unused))
-
- #endif /* !_ASYNC_INIT_H_ */