Browse Source

- workaround oddity with position of function attributes

Bernhard Reutner-Fischer 15 years ago
parent
commit
85ae389a56
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/sysdeps/linux/common/ssp.c

+ 1 - 1
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));