From 4665f2bf32c59f263d22c2315d60509c9ae8854b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 7 Sep 2008 13:57:58 +0200 Subject: tag: don't pass "fd" to printVisitedInTagTracker() Pass the client struct instead of the raw file descriptor. --- src/tagTracker.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/tagTracker.h') diff --git a/src/tagTracker.h b/src/tagTracker.h index 2edb5aad0..f3c778329 100644 --- a/src/tagTracker.h +++ b/src/tagTracker.h @@ -19,6 +19,8 @@ #ifndef TAG_TRACKER_H #define TAG_TRACKER_H +struct client; + int getNumberOfTagItems(int type); void printMemorySavedByTagTracker(void); @@ -27,6 +29,6 @@ void resetVisitedFlagsInTagTracker(int type); void visitInTagTracker(int type, const char *str); -void printVisitedInTagTracker(int fd, int type); +void printVisitedInTagTracker(struct client *client, int type); #endif -- cgit v1.2.3