aboutsummaryrefslogtreecommitdiff
path: root/src/stats.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-07 14:02:57 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 14:02:57 +0200
commita6c5928c75a57a7f75279dfec39448899b22b046 (patch)
tree01ea130db2b9c270241e6f538037dca7d81acbb5 /src/stats.h
parent93e6d4c3adff4cfd06af77082793a0ba0fcf5fa5 (diff)
stats: don't pass "fd" to printStats()
Pass the client struct instead of the raw file descriptor.
Diffstat (limited to 'src/stats.h')
-rw-r--r--src/stats.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stats.h b/src/stats.h
index aca8c06a..ac81f42f 100644
--- a/src/stats.h
+++ b/src/stats.h
@@ -19,6 +19,8 @@
#ifndef STATS_H
#define STATS_H
+struct client;
+
typedef struct _Stats {
unsigned long daemonStart;
int numberOfSongs;
@@ -31,6 +33,6 @@ extern Stats stats;
void initStats(void);
-int printStats(int fd);
+int printStats(struct client *client);
#endif