From a6c5928c75a57a7f75279dfec39448899b22b046 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 7 Sep 2008 14:02:57 +0200 Subject: stats: don't pass "fd" to printStats() Pass the client struct instead of the raw file descriptor. --- src/stats.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/stats.h') 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 -- cgit v1.2.3