From b3f14c22dbb29056c0d3c37bb9b2401ffdb7bc8f Mon Sep 17 00:00:00 2001 From: sealsrock12 Date: Sat, 7 Nov 2026 19:21:08 -0800 Subject: Use (void) for prototypes with no parameters Make them real prototypes, so projects with -Werror=strict-prototypes will not longer fail --- src/plist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/plist.c b/src/plist.c index ea3a247..55e3b41 100644 --- a/src/plist.c +++ b/src/plist.c @@ -2524,7 +2524,7 @@ void plist_print(plist_t plist) plist_write_to_stream(plist, stdout, PLIST_FORMAT_PRINT, PLIST_OPT_PARTIAL_DATA); } -const char* libplist_version() +const char* libplist_version(void) { #ifndef PACKAGE_VERSION #error PACKAGE_VERSION is not defined! -- cgit v1.1-32-gdbae