summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-02-13 11:11:35 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-02-13 11:11:35 +0000
commit85ae389a56a20f0313001dcc4336eeaa6dcabf92 (patch)
treea95a3efff0fea982dede66367255d638624e3011 /libc/sysdeps/linux/common
parentfe939564f37f0a1022f04d0aa8cb357b37e471cd (diff)
- workaround oddity with position of function attributes
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/ssp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/ssp.c b/libc/sysdeps/linux/common/ssp.c
index 8a84e4893..8682ddcf2 100644
--- a/libc/sysdeps/linux/common/ssp.c
+++ b/libc/sysdeps/linux/common/ssp.c
@@ -63,7 +63,7 @@ static void block_signals(void)
sigaction(SSP_SIGTYPE, &sa, NULL);
}
-static void ssp_write(int fd, const char *msg1, const char *msg2, const char *msg3) __cold
+static void __cold ssp_write(int fd, const char *msg1, const char *msg2, const char *msg3)
{
write(fd, msg1, strlen(msg1));
write(fd, msg2, strlen(msg2));