Fix warning: a function definition without a prototype is deprecated (#3259)

This commit is contained in:
itchyny authored and GitHub committed 2025-05-07 21:25:32 +09:00
1 parent 9f6bcdc321
commit a8f27cc4db
11 files changed
+27 -27

No files matched your search

+1 -1
View File
@@ -112,7 +112,7 @@ static void usage(int code, int keep_it_short) {
exit((ret < 0 && code == 0) ? 2 : code);
}
static void die() {
static void die(void) {
fprintf(stderr, "Use jq --help for help with command-line options,\n");
fprintf(stderr, "or see the jq manpage, or online docs at https://jqlang.org\n");
exit(2);