瀏覽代碼

- workaround oddity with position of function attributes

Bernhard Reutner-Fischer 16 年之前
父節點
當前提交
85ae389a56
共有 1 個文件被更改,包括 1 次插入1 次删除
  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));