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
@@ -98,7 +98,7 @@ jv expand_path(jv path) {
return ret;
}
jv get_home() {
jv get_home(void) {
jv ret;
char *home = getenv("HOME");
if (!home) {