summaryrefslogtreecommitdiff
path: root/src/libwaitress/waitress.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-11-12 15:53:11 +0100
committerLars-Dominik Braun <lars@6xq.net>2011-11-12 15:53:11 +0100
commite57457361c2ea9038e1b81e8cd28c1a1237d6fb9 (patch)
tree614af7c8a22bfe42dd01e12f12a57fd5531e0bdd /src/libwaitress/waitress.h
parent826f08af2e010c30063cbb29dc529cb8992b6b86 (diff)
downloadpianobar-e57457361c2ea9038e1b81e8cd28c1a1237d6fb9.tar.gz
pianobar-e57457361c2ea9038e1b81e8cd28c1a1237d6fb9.tar.bz2
pianobar-e57457361c2ea9038e1b81e8cd28c1a1237d6fb9.zip
waitress: Fix compiler warnings
Diffstat (limited to 'src/libwaitress/waitress.h')
-rw-r--r--src/libwaitress/waitress.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libwaitress/waitress.h b/src/libwaitress/waitress.h
index 7e4401a..b489e86 100644
--- a/src/libwaitress/waitress.h
+++ b/src/libwaitress/waitress.h
@@ -101,10 +101,10 @@ typedef struct {
int sockfd;
char *buf;
gnutls_session_t tlsSession;
- /* first argument is WaitressHandle_t, but that's not defined here */
+ /* first argument is WaitressHandle_t, but that's not defined yet */
WaitressHandlerReturn_t (*dataHandler) (void *, char *, const size_t);
- ssize_t (*read) (void *, char *, const size_t, ssize_t *);
- ssize_t (*write) (void *, const char *, const size_t);
+ WaitressReturn_t (*read) (void *, char *, const size_t, ssize_t *);
+ WaitressReturn_t (*write) (void *, const char *, const size_t);
/* temporary return value storage */
WaitressReturn_t readWriteRet;
} request;