add _Noreturn function attribute, with fallback for pre-C11 GNUC
[musl] / src / stdio / getchar.c
1 #include <stdio.h>
2
3 int getchar(void)
4 {
5         return fgetc(stdin);
6 }