diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-10-31 10:33:26 +0100 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-11-05 14:39:18 +0200 |
commit | 7b067f2681d69fb9690f4d6b4e2ef62485ea4fd2 (patch) | |
tree | 86a58bd79f88e95f97ae634c8bdf8fdec3f90a63 /src/storage.c | |
parent | 746026f897643111b4ca26bcad132de4e27d30fc (diff) | |
download | connman-7b067f2681d69fb9690f4d6b4e2ef62485ea4fd2.tar.gz connman-7b067f2681d69fb9690f4d6b4e2ef62485ea4fd2.tar.bz2 connman-7b067f2681d69fb9690f4d6b4e2ef62485ea4fd2.zip |
storage: Add void if function does not have any arguments
Diffstat (limited to 'src/storage.c')
-rw-r--r-- | src/storage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/storage.c b/src/storage.c index 29291dc7..8c06ffe2 100644 --- a/src/storage.c +++ b/src/storage.c @@ -86,7 +86,7 @@ static void storage_delete(const char *pathname) connman_error("Failed to remove %s", pathname); } -GKeyFile *__connman_storage_load_global() +GKeyFile *__connman_storage_load_global(void) { gchar *pathname; GKeyFile *keyfile = NULL; @@ -118,7 +118,7 @@ int __connman_storage_save_global(GKeyFile *keyfile) return ret; } -void __connman_storage_delete_global() +void __connman_storage_delete_global(void) { gchar *pathname; @@ -169,7 +169,7 @@ GKeyFile *__connman_storage_open_service(const char *service_id) return keyfile; } -gchar **connman_storage_get_services() +gchar **connman_storage_get_services(void) { struct dirent *d; gchar *str; @@ -425,7 +425,7 @@ gchar **__connman_storage_get_providers(void) * This function migrates keys from default.profile to settings file. * This can be removed once the migration is over. */ -void __connman_storage_migrate() +void __connman_storage_migrate(void) { gchar *pathname; GKeyFile *keyfile_def = NULL; |