Skip to content

Commit d0d7fcb

Browse files
committed
dumpon: Move the _Noreturn keyword before the return type
This fixes a warning from GCC 14 when compiling with the native C11 _Noreturn rather than the older GNU C function attribute: sbin/dumpon/dumpon.c:73:1: error: '_Noreturn' is not at beginning of declaration [-Werror=old-style-declaration] 73 | static void _Noreturn | ^~~~~~
1 parent 2cadbe4 commit d0d7fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbin/dumpon/dumpon.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
static int verbose;
7272

73-
static void _Noreturn
73+
static _Noreturn void
7474
usage(void)
7575
{
7676
fprintf(stderr,

0 commit comments

Comments
 (0)