aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/lib/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/lib/utils')
-rw-r--r--src/charon/lib/utils/host.c2
-rw-r--r--src/charon/lib/utils/identification.c4
-rw-r--r--src/charon/lib/utils/linked_list.h2
-rw-r--r--src/charon/lib/utils/logger_manager.h4
-rw-r--r--src/charon/lib/utils/randomizer.h2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/charon/lib/utils/host.c b/src/charon/lib/utils/host.c
index 020ed27f3..b85dc07a5 100644
--- a/src/charon/lib/utils/host.c
+++ b/src/charon/lib/utils/host.c
@@ -261,7 +261,7 @@ static void destroy(private_host_t *this)
/**
* Creates an empty host_t object
*/
-static private_host_t *host_create_empty()
+static private_host_t *host_create_empty(void)
{
private_host_t *this = malloc_thing(private_host_t);
diff --git a/src/charon/lib/utils/identification.c b/src/charon/lib/utils/identification.c
index 33f3d92cd..9c17ac54c 100644
--- a/src/charon/lib/utils/identification.c
+++ b/src/charon/lib/utils/identification.c
@@ -248,7 +248,7 @@ struct private_identification_t {
id_type_t type;
};
-static private_identification_t *identification_create();
+static private_identification_t *identification_create(void);
/**
@@ -952,7 +952,7 @@ static void destroy(private_identification_t *this)
/**
* Generic constructor used for the other constructors.
*/
-static private_identification_t *identification_create()
+static private_identification_t *identification_create(void)
{
private_identification_t *this = malloc_thing(private_identification_t);
diff --git a/src/charon/lib/utils/linked_list.h b/src/charon/lib/utils/linked_list.h
index 8647f064d..f0070eda2 100644
--- a/src/charon/lib/utils/linked_list.h
+++ b/src/charon/lib/utils/linked_list.h
@@ -197,7 +197,7 @@ struct linked_list_t {
*
* @ingroup utils
*/
-linked_list_t *linked_list_create();
+linked_list_t *linked_list_create(void);
#endif /*LINKED_LIST_H_*/
diff --git a/src/charon/lib/utils/logger_manager.h b/src/charon/lib/utils/logger_manager.h
index a3ff5a37e..f6210c490 100644
--- a/src/charon/lib/utils/logger_manager.h
+++ b/src/charon/lib/utils/logger_manager.h
@@ -149,12 +149,12 @@ extern logger_manager_t *logger_manager;
* Initialize the logger manager with all its logger.
* Has to be called before logger_manager is accessed.
*/
-void logger_manager_init();
+void logger_manager_init(void);
/**
* Free any resources hold by the logger manager. Do
* not access logger_manager after this call.
*/
-void logger_manager_cleanup();
+void logger_manager_cleanup(void);
#endif /*LOGGER_MANAGER_H_*/
diff --git a/src/charon/lib/utils/randomizer.h b/src/charon/lib/utils/randomizer.h
index 55519550e..993f71d12 100644
--- a/src/charon/lib/utils/randomizer.h
+++ b/src/charon/lib/utils/randomizer.h
@@ -105,6 +105,6 @@ struct randomizer_t {
*
* @ingroup utils
*/
-randomizer_t *randomizer_create();
+randomizer_t *randomizer_create(void);
#endif /*RANDOMIZER_H_*/