diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-08-04 15:24:23 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-08-04 15:24:23 +0200 |
commit | 3d7998a44299c69e7d721c4c5a20ddc32cec562b (patch) | |
tree | 1cfae4f8e9e95a5ceaab8cbea96fef2afd9b62bf /libwardrobe/src/main.c | |
parent | 98071f0c542a89379c21ba69ea14a5c3f4b88b61 (diff) | |
download | pianobar-3d7998a44299c69e7d721c4c5a20ddc32cec562b.tar.gz pianobar-3d7998a44299c69e7d721c4c5a20ddc32cec562b.tar.bz2 pianobar-3d7998a44299c69e7d721c4c5a20ddc32cec562b.zip |
Use "static" keyword for functions
Diffstat (limited to 'libwardrobe/src/main.c')
-rw-r--r-- | libwardrobe/src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libwardrobe/src/main.c b/libwardrobe/src/main.c index 1be8e92..a734c26 100644 --- a/libwardrobe/src/main.c +++ b/libwardrobe/src/main.c @@ -87,7 +87,7 @@ void WardrobeDestroy (WardrobeHandle_t *wh) { * @param wardrobe handle * @return _OK or error */ -WardrobeReturn_t WardrobeHandshake (WardrobeHandle_t *wh) { +static WardrobeReturn_t WardrobeHandshake (WardrobeHandle_t *wh) { /* md5 hash length + long integer max + NULL */ char url[WARDROBE_URL_SIZE], tmp[32+55+1], *tmpDigest, *pwDigest, ret[WARDROBE_HTTP_RECV_SIZE], postUrl[1024]; @@ -154,7 +154,7 @@ WardrobeReturn_t WardrobeHandshake (WardrobeHandle_t *wh) { * @param song * @return _OK or error */ -WardrobeReturn_t WardrobeSendSong (WardrobeHandle_t *wh, +static WardrobeReturn_t WardrobeSendSong (WardrobeHandle_t *wh, const WardrobeSong_t *ws) { char postContent[WARDROBE_HTTP_SEND_SIZE]; char *urlencArtist, *urlencTitle, *urlencAlbum, ret[WARDROBE_HTTP_RECV_SIZE]; |