diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-04-28 18:02:38 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-04-28 18:02:38 +0000 |
commit | 6194cf4a4b63c4c7bf8b2ee12f1d9b033de22171 (patch) | |
tree | 155f0d9cf0422ad17644642d762bb788a2d84a8d /newlib/libc/stdio/fwalk.c | |
parent | 4163fce83f1c7920b8370748c2212fc8dbe79925 (diff) | |
download | cygnal-6194cf4a4b63c4c7bf8b2ee12f1d9b033de22171.tar.gz cygnal-6194cf4a4b63c4c7bf8b2ee12f1d9b033de22171.tar.bz2 cygnal-6194cf4a4b63c4c7bf8b2ee12f1d9b033de22171.zip |
2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* libc/stdio/local.h (_fwalk_reent): Specify prototype of
function pointer argument.
* libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
to specify function pointer arguments.
(__fwalk, __fwalk_reent): Ditto.
Diffstat (limited to 'newlib/libc/stdio/fwalk.c')
-rw-r--r-- | newlib/libc/stdio/fwalk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/stdio/fwalk.c b/newlib/libc/stdio/fwalk.c index 87cebdbfe..bb43cf2f3 100644 --- a/newlib/libc/stdio/fwalk.c +++ b/newlib/libc/stdio/fwalk.c @@ -30,7 +30,7 @@ static char sccsid[] = "%W% (Berkeley) %G%"; static int _DEFUN(__fwalk, (ptr, function), struct _reent *ptr _AND - register int (*function) ()) + register int (*function) (FILE *)) { register FILE *fp; register int n, ret = 0; @@ -54,7 +54,7 @@ _DEFUN(__fwalk, (ptr, function), static int _DEFUN(__fwalk_reent, (ptr, reent_function), struct _reent *ptr _AND - register int (*reent_function) ()) + register int (*reent_function) (struct _reent *, FILE *)) { register FILE *fp; register int n, ret = 0; @@ -76,7 +76,7 @@ _DEFUN(__fwalk_reent, (ptr, reent_function), int _DEFUN(_fwalk, (ptr, function), struct _reent *ptr _AND - register int (*function)()) + register int (*function)(FILE *)) { register int ret = 0; @@ -99,7 +99,7 @@ _DEFUN(_fwalk, (ptr, function), int _DEFUN(_fwalk_reent, (ptr, reent_function), struct _reent *ptr _AND - register int (*reent_function) ()) + register int (*reent_function) (struct _reent *, FILE *)) { register int ret = 0; |