aboutsummaryrefslogtreecommitdiff
path: root/src/Stats.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-28 20:52:07 +0200
committerMax Kellermann <max@duempel.org>2012-08-29 17:41:26 +0200
commit25740d27bfa49fdbc063e1f169fd68993c6428d3 (patch)
treefbd99dc2e1cb39dd4acefe0d615a89b2b170eb5f /src/Stats.cxx
parentfb0a52a34ae0428cf788c16b968cb1f2e6cbb461 (diff)
Stats: stats_print() returns void
Diffstat (limited to 'src/Stats.cxx')
-rw-r--r--src/Stats.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Stats.cxx b/src/Stats.cxx
index 35c162ef..d08074a8 100644
--- a/src/Stats.cxx
+++ b/src/Stats.cxx
@@ -66,7 +66,8 @@ void stats_update(void)
}
}
-int stats_print(struct client *client)
+void
+stats_print(struct client *client)
{
client_printf(client,
"artists: %u\n"
@@ -86,6 +87,4 @@ int stats_print(struct client *client)
client_printf(client,
"db_update: %li\n",
(long)db_get_mtime());
-
- return 0;
}