From c84c73df00e5e1710d84fdb4be6352d849da8f2b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Oct 2008 10:49:05 +0200 Subject: directory: converted typedef Directory to struct directory The struct can be forward-declared by other headers, which relaxes the header dependencies. --- src/update.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/update.h') diff --git a/src/update.h b/src/update.h index 4e59e39b1..65ffdc3bf 100644 --- a/src/update.h +++ b/src/update.h @@ -20,7 +20,7 @@ #ifndef UPDATE_H #define UPDATE_H -#include "directory.h" +struct directory; enum update_return { UPDATE_RETURN_ERROR = -1, @@ -30,7 +30,7 @@ enum update_return { int isUpdatingDB(void); -enum update_return updateDirectory(Directory * directory); +enum update_return updateDirectory(struct directory *directory); /* * returns the non-negative update job ID on success, -- cgit v1.2.3