aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-17 17:53:59 +0200
committerMax Kellermann <max@duempel.org>2008-10-17 17:53:59 +0200
commit4984639b7255d72e272f278c95adb1a2cf71b61c (patch)
tree4751fbdef706d62b77d41c411462fbf6f852f384 /src/inputStream.h
parentb73ecbb073625b56aaef33f2fa7f102fdc9a6247 (diff)
downloadmpd-4984639b7255d72e272f278c95adb1a2cf71b61c.tar.gz
mpd-4984639b7255d72e272f278c95adb1a2cf71b61c.tar.xz
mpd-4984639b7255d72e272f278c95adb1a2cf71b61c.zip
input_stream: removed nmemb argument
The nmemb argument isn't actually useful, and one of nmemb and size was always passed as 1. Remove it.
Diffstat (limited to '')
-rw-r--r--src/inputStream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputStream.h b/src/inputStream.h
index 31216ef2c..3637ac150 100644
--- a/src/inputStream.h
+++ b/src/inputStream.h
@@ -26,7 +26,7 @@ typedef struct input_stream InputStream;
typedef int (*InputStreamSeekFunc) (struct input_stream *inStream, long offset,
int whence);
typedef size_t(*InputStreamReadFunc) (struct input_stream *inStream, void *ptr,
- size_t size, size_t nmemb);
+ size_t size);
typedef int (*InputStreamCloseFunc) (struct input_stream *inStream);
typedef int (*InputStreamAtEOFFunc) (struct input_stream *inStream);
typedef int (*InputStreamBufferFunc) (struct input_stream *inStream);
@@ -67,6 +67,6 @@ int inputStreamAtEOF(struct input_stream *inStream);
int bufferInputStream(struct input_stream *inStream);
size_t readFromInputStream(struct input_stream *inStream,
- void *ptr, size_t size, size_t nmemb);
+ void *ptr, size_t size);
#endif