diff options
author | Max Kellermann <max@duempel.org> | 2008-09-16 19:11:40 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-16 19:11:40 +0200 |
commit | 1f5d824d59709708350d37e6808383fc948e5dab (patch) | |
tree | 3619f58f58adb56672cb2bf160f23e00b4f17f1c /src/screen_utils.c | |
parent | 318c4f1db7644b0c6e4cb1650b83bd550c297a49 (diff) | |
download | mpd-1f5d824d59709708350d37e6808383fc948e5dab.tar.gz mpd-1f5d824d59709708350d37e6808383fc948e5dab.tar.xz mpd-1f5d824d59709708350d37e6808383fc948e5dab.zip |
screen: added struct names
Let us declare struct names in addition to typedef names, so we can
forward-declare them.
Diffstat (limited to 'src/screen_utils.c')
-rw-r--r-- | src/screen_utils.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/screen_utils.c b/src/screen_utils.c index d75116fb4..311c744af 100644 --- a/src/screen_utils.c +++ b/src/screen_utils.c @@ -19,6 +19,8 @@ */ #include "screen_utils.h" +#include "screen.h" +#include "mpdclient.h" #include "config.h" #include "ncmpc.h" #include "support.h" @@ -120,7 +122,7 @@ screen_read_password(WINDOW *w, const char *prompt) } static gint -_screen_auth(mpdclient_t *c, gint recursion) +_screen_auth(struct mpdclient *c, gint recursion) { mpd_clearError(c->connection); if(recursion > 2) return 1; @@ -132,7 +134,7 @@ _screen_auth(mpdclient_t *c, gint recursion) } gint -screen_auth(mpdclient_t *c) +screen_auth(struct mpdclient *c) { gint ret = _screen_auth(c, 0); mpdclient_update(c); |