X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=rset%2Frsnull.c;h=895a24446d08a382e6e8af57595b7fd729adf414;hb=e6b40b4f140e8f7348fff1f7be78ac78946421ff;hp=69e1d00de3faddd8a4ea904e83f2c69ef0c7d283;hpb=433f7360a01640cfdbe09ce7ae19f3319b348bb3;p=idzebra-moved-to-github.git diff --git a/rset/rsnull.c b/rset/rsnull.c index 69e1d00..895a244 100644 --- a/rset/rsnull.c +++ b/rset/rsnull.c @@ -1,4 +1,4 @@ -/* $Id: rsnull.c,v 1.16 2004-01-16 15:27:35 heikki Exp $ +/* $Id: rsnull.c,v 1.17 2004-08-03 12:15:45 heikki Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -31,7 +31,7 @@ static RSFD r_open (RSET ct, int flag); static void r_close (RSFD rfd); static void r_delete (RSET ct); static void r_rewind (RSFD rfd); -static int r_count (RSET ct); +/* static int r_count (RSET ct); */ static int r_read (RSFD rfd, void *buf, int *term_index); static int r_write (RSFD rfd, const void *buf); @@ -44,7 +44,7 @@ static const struct rset_control control = r_delete, r_rewind, rset_default_forward, - r_count, + /* r_count, */ r_read, r_write, }; @@ -92,10 +92,12 @@ static void r_rewind (RSFD rfd) logf (LOG_DEBUG, "rsnull_rewind"); } +/* static int r_count (RSET ct) { return 0; } +*/ static int r_read (RSFD rfd, void *buf, int *term_index) {