diff options
author | Max Kellermann <max@duempel.org> | 2009-01-07 23:35:16 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-07 23:35:16 +0100 |
commit | 3c3ed8d8360835ac29315c22e392242711a01f2c (patch) | |
tree | fe8bea311f54dcfa9dcee750cb55913786a9c5a4 /src/libmpdclient.h | |
parent | cad3e3407ce71e3ba82f7f8158e9ab7505e85a1f (diff) | |
download | mpd-3c3ed8d8360835ac29315c22e392242711a01f2c.tar.gz mpd-3c3ed8d8360835ac29315c22e392242711a01f2c.tar.xz mpd-3c3ed8d8360835ac29315c22e392242711a01f2c.zip |
libmpdclient: fix shadow warnings
Renamed "time" variables.
Diffstat (limited to 'src/libmpdclient.h')
-rw-r--r-- | src/libmpdclient.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/libmpdclient.h b/src/libmpdclient.h index 8935536f0..cfa87a7d0 100644 --- a/src/libmpdclient.h +++ b/src/libmpdclient.h @@ -161,9 +161,11 @@ typedef struct _mpd_Connection { * even if an error has occurred * _timeout_ is the connection timeout period in seconds */ -mpd_Connection * mpd_newConnection(const char * host, int port, float timeout); +mpd_Connection * +mpd_newConnection(const char *host, int port, float timeout_); -void mpd_setConnectionTimeout(mpd_Connection * connection, float timeout); +void +mpd_setConnectionTimeout(mpd_Connection *connection, float timeout_); /* mpd_closeConnection * use this to close a connection and free'ing subsequent memory @@ -446,9 +448,9 @@ void mpd_sendSwapCommand(mpd_Connection * connection, int song1, int song2); void mpd_sendSwapIdCommand(mpd_Connection * connection, int song1, int song2); -void mpd_sendSeekCommand(mpd_Connection * connection, int song, int time); +void mpd_sendSeekCommand(mpd_Connection * connection, int song, int to); -void mpd_sendSeekIdCommand(mpd_Connection * connection, int song, int time); +void mpd_sendSeekIdCommand(mpd_Connection * connection, int song, int to); void mpd_sendRepeatCommand(mpd_Connection * connection, int repeatMode); |