diff options
author | Max Kellermann <max@duempel.org> | 2008-09-07 14:02:57 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-07 14:02:57 +0200 |
commit | a6c5928c75a57a7f75279dfec39448899b22b046 (patch) | |
tree | 01ea130db2b9c270241e6f538037dca7d81acbb5 /src/stats.h | |
parent | 93e6d4c3adff4cfd06af77082793a0ba0fcf5fa5 (diff) | |
download | mpd-a6c5928c75a57a7f75279dfec39448899b22b046.tar.gz mpd-a6c5928c75a57a7f75279dfec39448899b22b046.tar.xz mpd-a6c5928c75a57a7f75279dfec39448899b22b046.zip |
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stats.h b/src/stats.h index aca8c06ab..ac81f42f2 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 |