summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar sealsrock122026-11-07 19:21:08 -0800
committerGravatar Nikias Bassen2026-11-16 01:51:36 +0100
commitb3f14c22dbb29056c0d3c37bb9b2401ffdb7bc8f (patch)
treebcbac67c3aacbd2980d018015040263a8e4b9b54 /src
parent11e0f8b487c01839704d9bfe47721cd7180fd4e4 (diff)
downloadlibplist-master.tar.gz
libplist-master.tar.bz2
Use (void) for prototypes with no parametersHEADmaster
Make them real prototypes, so projects with -Werror=strict-prototypes will not longer fail
Diffstat (limited to 'src')
-rw-r--r--src/plist.c2
1 files changed, 1 insertions, 1 deletions
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!