summaryrefslogtreecommitdiffstats
path: root/newlib/libc/reent/reent.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-06-03 19:48:08 +0000
committerJeff Johnston <jjohnstn@redhat.com>2003-06-03 19:48:08 +0000
commitbf3bcac28b4ef4891293e36c11b9bd5fd526612a (patch)
tree35ee7b52e9faceccbf19bc6e63c6f08ea897f7fe /newlib/libc/reent/reent.c
parent702ceb233d9b363278387bdcbac69c86a0b83660 (diff)
downloadcygnal-bf3bcac28b4ef4891293e36c11b9bd5fd526612a.tar.gz
cygnal-bf3bcac28b4ef4891293e36c11b9bd5fd526612a.tar.bz2
cygnal-bf3bcac28b4ef4891293e36c11b9bd5fd526612a.zip
2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
* 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.
Diffstat (limited to 'newlib/libc/reent/reent.c')
-rw-r--r--newlib/libc/reent/reent.c12
1 files changed, 6 insertions, 6 deletions
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;