aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/darwin-crt-tm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/config/darwin-crt-tm.c')
-rw-r--r--libgcc/config/darwin-crt-tm.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/libgcc/config/darwin-crt-tm.c b/libgcc/config/darwin-crt-tm.c
index cfb6614..651ae6e 100644
--- a/libgcc/config/darwin-crt-tm.c
+++ b/libgcc/config/darwin-crt-tm.c
@@ -25,10 +25,6 @@ extern char * getsectdata (const char*,const char*,unsigned long*);
#define WEAK __attribute__((weak))
-#ifndef ATTRIBUTE_UNUSED
-#define ATTRIBUTE_UNUSED __attribute__((unused))
-#endif
-
extern void _ITM_registerTMCloneTable (void *, size_t) WEAK;
extern void _ITM_deregisterTMCloneTable (void *) WEAK;
@@ -73,11 +69,4 @@ void __doTMdeRegistrations (void)
}
-/* Provide dumy funcs for the weak ones - needed on most Darwin versions
- for now. */
-
-void _ITM_registerTMCloneTable (void *n ATTRIBUTE_UNUSED, size_t s ATTRIBUTE_UNUSED)
-{}
-void _ITM_deregisterTMCloneTable (void *n ATTRIBUTE_UNUSED)
-{}
#endif