diff options
author | Timo <timo.capa@gmail.com> | 2022-08-16 16:38:16 +0000 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2022-08-16 16:38:16 +0000 |
commit | 95d35aedf68f0398a6ee9e0b0af9ce80528fdc22 (patch) | |
tree | bee5bcc67fcd680e8c2ced5be5089681485c0bec /test/automated | |
parent | 5d7d285d98e717a1bebb965d9c7ef809f69d3db1 (diff) | |
download | nautilus-95d35aedf68f0398a6ee9e0b0af9ce80528fdc22.tar.gz |
general: Use parameter type list, even if function takes none
Newer compiler versions (i.e. Clang 15) failed to compile nautilus,
because the declaration did not match the function definition.
See: https://reviews.llvm.org/D122895
Fixes #2378
Diffstat (limited to 'test/automated')
-rw-r--r-- | test/automated/displayless/test-utilities.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/automated/displayless/test-utilities.c b/test/automated/displayless/test-utilities.c index 1b447fb12..d3bc1cef5 100644 --- a/test/automated/displayless/test-utilities.c +++ b/test/automated/displayless/test-utilities.c @@ -3,7 +3,7 @@ static gchar *nautilus_tmp_dir = NULL; const gchar * -test_get_tmp_dir () +test_get_tmp_dir (void) { if (nautilus_tmp_dir == NULL) { @@ -14,7 +14,7 @@ test_get_tmp_dir () } void -test_clear_tmp_dir () +test_clear_tmp_dir (void) { if (nautilus_tmp_dir != NULL) { |