tag: don't pass "fd" to printVisitedInTagTracker()

Pass the client struct instead of the raw file descriptor.
This commit is contained in:
Max Kellermann
2008-09-07 13:57:58 +02:00
parent 94293149b1
commit 4665f2bf32
3 changed files with 9 additions and 8 deletions

View File

@@ -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