From 41e195b3221e9936e83c3a4c2dd62e8496323e91 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Wed, 24 Sep 2014 09:47:37 +0200 Subject: [PATCH] ANSI decl --- src/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index 5ca03aa..a87c643 100644 --- a/src/main.c +++ b/src/main.c @@ -74,7 +74,7 @@ static const char *program_name; -static void print_version() +static void print_version(void) { printf("psensor %s\n", VERSION); printf(_("Copyright (C) %s jeanfi@gmail.com\n" @@ -86,7 +86,7 @@ static void print_version() "2010-2014"); } -static void print_help() +static void print_help(void) { printf(_("Usage: %s [OPTION]...\n"), program_name); @@ -353,7 +353,7 @@ static void associate_preferences(struct psensor **sensors) } } -static void log_init() +static void log_init(void) { const char *dir; char *path; @@ -402,7 +402,7 @@ static gboolean initial_window_show(gpointer data) return FALSE; } -static void log_glib_info() +static void log_glib_info(void) { log_debug("Compiled with GLib %d.%d.%d", GLIB_MAJOR_VERSION, -- 2.7.4