소스 검색

Use attribute_noreturn

Peter S. Mazinger 20 년 전
부모
커밋
b7fbbd1835
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      libc/misc/internals/__uClibc_main.c

+ 1 - 1
libc/misc/internals/__uClibc_main.c

@@ -191,7 +191,7 @@ void attribute_hidden (*__rtld_fini)(void) = NULL;
  * called from crt1 (version 0.9.28 or newer), after ALL shared libraries
  * are initialized, just before we call the application's main function.
  */
-void __attribute__ ((__noreturn__))
+void attribute_noreturn
 __uClibc_main(int (*main)(int, char **, char **), int argc,
 		    char **argv, void (*app_init)(void), void (*app_fini)(void),
 		    void (*rtld_fini)(void), void *stack_end)