소스 검색

- workaround oddity with position of function attributes

Bernhard Reutner-Fischer 17 년 전
부모
커밋
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));