summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/currency-manager.c4
-rw-r--r--src/test-mp-equation.c4
-rw-r--r--src/test-mp.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/currency-manager.c b/src/currency-manager.c
index 1299522..5ffffa4 100644
--- a/src/currency-manager.c
+++ b/src/currency-manager.c
@@ -167,7 +167,7 @@ currency_manager_get_currency(CurrencyManager *manager, const gchar *name)
static char *
-get_imf_rate_filepath()
+get_imf_rate_filepath(void)
{
return g_build_filename(g_get_user_cache_dir (),
"mate-calc",
@@ -177,7 +177,7 @@ get_imf_rate_filepath()
static char *
-get_ecb_rate_filepath()
+get_ecb_rate_filepath(void)
{
return g_build_filename(g_get_user_cache_dir (),
"mate-calc",
diff --git a/src/test-mp-equation.c b/src/test-mp-equation.c
index ac9b000..d31c546 100644
--- a/src/test-mp-equation.c
+++ b/src/test-mp-equation.c
@@ -119,7 +119,7 @@ do_convert(const MPNumber *x, const char *x_units, const char *z_units, MPNumber
static void
-test_conversions()
+test_conversions(void)
{
memset(&options, 0, sizeof(options));
options.base = 10;
@@ -187,7 +187,7 @@ set_variable(const char *name, const MPNumber *x, void *data)
}
static void
-test_equations()
+test_equations(void)
{
memset(&options, 0, sizeof(options));
options.wordlen = 32;
diff --git a/src/test-mp.c b/src/test-mp.c
index 78b1a5b..14edadd 100644
--- a/src/test-mp.c
+++ b/src/test-mp.c
@@ -88,7 +88,7 @@ test_integer(int number)
static void
-test_numbers()
+test_numbers(void)
{
test_integer(0);
test_integer(1);
@@ -131,7 +131,7 @@ try(const char *string, bool result, bool expected)
static void
-test_mp()
+test_mp(void)
{
MPNumber zero = mp_new();
MPNumber one = mp_new();