X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=src%2Flstream.c;h=21214e0a0fd413cd859a50780888963a11704711;hb=56c8b099ccef8240d76c6f88c3f31d86ae22cfba;hp=238509bdb3e2dbd50c9f9f8f3577ce341df61d78;hpb=d28db7f744455e7e376e2b7737e0f804456a686d;p=sxemacs diff --git a/src/lstream.c b/src/lstream.c index 238509b..21214e0 100644 --- a/src/lstream.c +++ b/src/lstream.c @@ -102,13 +102,13 @@ void Lstream_fungetc (Lstream *stream, int c) Function equivalents of the above macros. Lstream_data_count Lstream_read (Lstream *stream, void *data, - Lstream_data_count size) + Lstream_data_count size) Read SIZE bytes of DATA from the stream. Return the number of bytes read. 0 means EOF. -1 means an error occurred and no bytes were read. Lstream_data_count Lstream_write (Lstream *stream, void *data, - Lstream_data_count size) + Lstream_data_count size) Write SIZE bytes of DATA to the stream. Return the number of bytes written. -1 means an error occurred and no bytes were written. @@ -237,7 +237,7 @@ static int lstream_type_count; #if defined HAVE_BDWGC && defined EF_USE_BDWGC static void -lstr_finaliser(void *obj, void *UNUSED(data)) +lstr_finaliser(void *obj, void *SXE_UNUSED(data)) { finalize_lstream(obj, 0); return; @@ -983,7 +983,7 @@ make_filedesc_stream_1(int filedesc, int offset, int count, int flags, const char *mode) { Lisp_Object obj = Qnil; - if (filedesc < 0) + if (filedesc < 0) return obj; lstream_t lstr = Lstream_new(lstream_filedesc, mode); filedesc_stream_t fstr = FILEDESC_STREAM_DATA(lstr);