aboutsummaryrefslogtreecommitdiffstats
path: root/src/update.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 10:49:05 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 10:49:05 +0200
commit25f67da58c671885c86ecfd991f28ec82b6ce1e2 (patch)
tree7da9638ff323573d2aa53e70337866f8935114a0 /src/update.h
parent3c1142cbcbd428ac5784ef098ac5e7a393647aa6 (diff)
downloadmpd-25f67da58c671885c86ecfd991f28ec82b6ce1e2.tar.gz
mpd-25f67da58c671885c86ecfd991f28ec82b6ce1e2.tar.xz
mpd-25f67da58c671885c86ecfd991f28ec82b6ce1e2.zip
directory: converted typedef Directory to struct directory
The struct can be forward-declared by other headers, which relaxes the header dependencies.
Diffstat (limited to '')
-rw-r--r--src/update.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/update.h b/src/update.h
index 86baecbf1..5edf62a57 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,
@@ -31,7 +31,7 @@ enum update_return {
int isUpdatingDB(void);
enum update_return
-updateDirectory(Directory * directory);
+updateDirectory(struct directory *directory);
/*
* returns the non-negative update job ID on success,