From 1a511d31055bb3fe7638b043d5c5c57d929c51cd Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 15 Dec 2000 16:03:57 +0000 Subject: Update. 2000-12-15 Andreas Jaeger * stdio-common/scanf9.c (main): Reformat and change to avoid warnings. * stdio-common/tstdiomisc.c: Make local functions static. * stdio-common/tst-printf.c: Likewise. * elf/constload2.c: Add prototype declarations to shut up gcc. * elf/dep1.c: Likewise. * elf/dep2.c: Likewise. * elf/dep3.c: Likewise. * elf/dep4.c: Likewise. * elf/ltglobmod2.c: Likewise. * libio/fmemopen.c: Make local functions static. * elf/Makefile (distribute): Added testobj.h. * elf/testobj.h: New file. * elf/testobj1.c: Include testobj.h and move prototype declarations to testobj.h. * elf/testobj2.c: Likewise. * elf/testobj3.c: Likewise. * elf/testobj4.c: Likewise. * elf/testobj5.c: Likewise. * elf/testobj6.c: Likewise. * elf/testobj1_1.c: Likewise. * elf/preloadtest.c: Likewise. --- libio/fmemopen.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libio/fmemopen.c') diff --git a/libio/fmemopen.c b/libio/fmemopen.c index 99670b5c58..a1ad6d8884 100644 --- a/libio/fmemopen.c +++ b/libio/fmemopen.c @@ -87,7 +87,7 @@ struct fmemopen_cookie_struct }; -ssize_t +static ssize_t fmemopen_read (void *cookie, char *b, size_t s) { fmemopen_cookie_t *c; @@ -111,7 +111,7 @@ fmemopen_read (void *cookie, char *b, size_t s) } -ssize_t +static ssize_t fmemopen_write (void *cookie, const char *b, size_t s) { fmemopen_cookie_t *c; @@ -145,7 +145,7 @@ fmemopen_write (void *cookie, const char *b, size_t s) } -int +static int fmemopen_seek (void *cookie, _IO_off64_t *p, int w) { _IO_off64_t np; @@ -180,7 +180,7 @@ fmemopen_seek (void *cookie, _IO_off64_t *p, int w) } -int +static int fmemopen_close (void *cookie) { fmemopen_cookie_t *c; -- cgit 1.4.1