projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ed8be50
)
ANSI decl
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Wed, 24 Sep 2014 07:47:37 +0000
(09:47 +0200)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Wed, 24 Sep 2014 07:47:37 +0000
(09:47 +0200)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
5ca03aa
..
a87c643
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-74,7
+74,7
@@
static const char *program_name;
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"
{
printf("psensor %s\n", VERSION);
printf(_("Copyright (C) %s jeanfi@gmail.com\n"
@@
-86,7
+86,7
@@
static void print_version()
"2010-2014");
}
"2010-2014");
}
-static void print_help()
+static void print_help(
void
)
{
printf(_("Usage: %s [OPTION]...\n"), program_name);
{
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;
{
const char *dir;
char *path;
@@
-402,7
+402,7
@@
static gboolean initial_window_show(gpointer data)
return FALSE;
}
return FALSE;
}
-static void log_glib_info()
+static void log_glib_info(
void
)
{
log_debug("Compiled with GLib %d.%d.%d",
GLIB_MAJOR_VERSION,
{
log_debug("Compiled with GLib %d.%d.%d",
GLIB_MAJOR_VERSION,