diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2015-06-10 10:01:49 +0200 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2015-06-10 10:01:49 +0200 |
commit | 94a393e9ed453615360f41ffd931cc83fd01fbee (patch) | |
tree | 56d52efe0c3aaac0563cf3c6a0685a9a8a3e56cc /libnm-core/tests | |
parent | 036901b82e1e8386dae0ec7c05a25877da1cab32 (diff) | |
download | NetworkManager-94a393e9ed453615360f41ffd931cc83fd01fbee.tar.gz |
all: fix a compiler warning about function declarations
warning: function declaration isn’t a prototype [-Wstrict-prototypes]
In C function() and function(void) are two different prototypes (as opposed to
C++).
function() accepts an arbitrary number of arguments
function(void) accepts zero arguments
Diffstat (limited to 'libnm-core/tests')
-rw-r--r-- | libnm-core/tests/test-settings-defaults.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/tests/test-settings-defaults.c b/libnm-core/tests/test-settings-defaults.c index ace7af694d..7d7715cbb3 100644 --- a/libnm-core/tests/test-settings-defaults.c +++ b/libnm-core/tests/test-settings-defaults.c @@ -102,7 +102,7 @@ test_defaults (GType type, const char *name) } static void -defaults () +defaults (void) { /* The tests */ test_defaults (NM_TYPE_SETTING_CONNECTION, NM_SETTING_CONNECTION_SETTING_NAME); |