summaryrefslogtreecommitdiff
path: root/colm/input.c
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-02-06 21:48:12 -0500
committerAdrian Thurston <thurston@complang.org>2013-02-06 21:48:12 -0500
commit820ca9af9ae1fd05e7cf4b8de03da9199529c7c3 (patch)
tree15e07613d165917db78888fa931839b38c892932 /colm/input.c
parentc7552a1f5bcc620f5a5c5ef51ba091529775adf6 (diff)
downloadcolm-820ca9af9ae1fd05e7cf4b8de03da9199529c7c3.tar.gz
took skip out of the getData interface, not needed
Diffstat (limited to 'colm/input.c')
-rw-r--r--colm/input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/colm/input.c b/colm/input.c
index 3ce576b6..46b72fc6 100644
--- a/colm/input.c
+++ b/colm/input.c
@@ -208,7 +208,7 @@ int fdGetParseBlock( FsmRun *fsmRun, StreamImpl *ss,
return ret;
}
-int fdGetData( FsmRun *fsmRun, StreamImpl *ss, int skip, char *dest, int length )
+int fdGetData( FsmRun *fsmRun, StreamImpl *ss, char *dest, int length )
{
int copied = 0;
@@ -562,7 +562,7 @@ static int _getParseBlock( FsmRun *fsmRun, StreamImpl *is,
return ret;
}
-static int _getData( FsmRun *fsmRun, StreamImpl *is, int skip, char *dest, int length )
+static int _getData( FsmRun *fsmRun, StreamImpl *is, char *dest, int length )
{
int copied = 0;
@@ -576,7 +576,7 @@ static int _getData( FsmRun *fsmRun, StreamImpl *is, int skip, char *dest, int l
if ( buf->type == RunBufSourceType ) {
Stream *stream = (Stream*)buf->tree;
- int glen = stream->in->funcs->getData( fsmRun, stream->in, 0, dest+copied, length );
+ int glen = stream->in->funcs->getData( fsmRun, stream->in, dest+copied, length );
if ( glen == 0 ) {
debug( REALM_INPUT, "skipping over input\n" );