From bf3bcac28b4ef4891293e36c11b9bd5fd526612a Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 3 Jun 2003 19:48:08 +0000 Subject: 2003-06-03 Jeff Johnston * libc/reent/execr.c: Use _DEFUN macro for function declaration. * libc/reent/fcntlr.c: Ditto. * libc/reent/fstat64r.c: Ditto. * libc/reent/linkr.c: Ditto. * libc/reent/lseek64r.c: Ditto. * libc/reent/lseekr.c: Ditto. * libc/reent/openr.c: Ditto. * libc/reent/readr.c: Ditto. * libc/reent/reent.c: Ditto. * libc/reent/sbrkr.c: Ditto. * libc/reent/signalr.c: Ditto. * libc/reent/signgam.c: Ditto. * libc/reent/statr.c: Ditto. * libc/reent/timer.c: Ditto. * libc/reent/unlinkr.c: Ditto. * libc/reent/writer.c: Ditto. * libc/syscalls/sysclose.c: Ditto. * libc/syscalls/sysexecve.c: Ditto. * libc/syscalls/sysfcntl.c: Ditto. * libc/syscalls/sysfork.c: Ditto. * libc/syscalls/sysfstat.c: Ditto. * libc/syscalls/sysgetpid.c: Ditto. * libc/syscalls/sysgettod.c: Ditto. * libc/syscalls/syskill.c: Ditto. * libc/syscalls/syslink.c: Ditto. * libc/syscalls/syslseek.c: Ditto. * libc/syscalls/sysopen.c: Ditto. * libc/syscalls/sysread.c: Ditto. * libc/syscalls/syssbrk.c: Ditto. * libc/syscalls/sysstat.c: Ditto. * libc/syscalls/systimes.c: Ditto. * libc/syscalls/sysunlink.c: Ditto. * libc/syscalls/syswait.c: Ditto. --- newlib/libc/reent/reent.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'newlib/libc/reent/reent.c') diff --git a/newlib/libc/reent/reent.c b/newlib/libc/reent/reent.c index 192796908..9300e8cd0 100644 --- a/newlib/libc/reent/reent.c +++ b/newlib/libc/reent/reent.c @@ -30,9 +30,9 @@ int errno; /* Interim cleanup code */ void -cleanup_glue (ptr, glue) - struct _reent *ptr; - struct _glue *glue; +_DEFUN (cleanup_glue, (ptr, glue), + struct _reent *ptr _AND + struct _glue *glue) { /* Have to reclaim these in reverse order: */ if (glue->_next) @@ -42,8 +42,8 @@ cleanup_glue (ptr, glue) } void -_reclaim_reent (ptr) - struct _reent *ptr; +_DEFUN (_reclaim_reent, (ptr), + struct _reent *ptr) { if (ptr != _impure_ptr) { @@ -121,7 +121,7 @@ _reclaim_reent (ptr) */ void -_wrapup_reent(struct _reent *ptr) +_DEFUN (_wrapup_reent, (ptr), struct _reent *ptr) { register struct _atexit *p; register int n; -- cgit v1.2.3