summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/reent.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-12-17 19:43:43 +0000
committerJeff Johnston <jjohnstn@redhat.com>2009-12-17 19:43:43 +0000
commit8b917fbcdd82d165f1c9908d014696543767b34c (patch)
tree9f03d3c8764cd7fa8c5c5d110685c63e208eb77c /newlib/libc/include/sys/reent.h
parent6fe2eb4c808a670767e63c18abb1d3188a2575d2 (diff)
downloadcygnal-8b917fbcdd82d165f1c9908d014696543767b34c.tar.gz
cygnal-8b917fbcdd82d165f1c9908d014696543767b34c.tar.bz2
cygnal-8b917fbcdd82d165f1c9908d014696543767b34c.zip
2009-12-17 Jerker Back <jerker.back@gmail.com>
* libc/include/_ansi.h: Add new _EXFNPTR macro for using with function pointer arguments. * libc/iconv/lib/conv.h: Use _EXFNPTR rather than _EXPARM macro. * libc/iconv/lib/ucsconv.h: Ditto. * libc/include/stdlib.h: Use new _EXFNPTR macro for function pointers. * libc/include/sys/reent.h: Ditto. * libc/include/sys/unistd.h: Ditto. * libc/search/bsearch.c: Ditto. * libc/stdio/fseek.c: Ditto. * libc/stdio64/fseeko64.c: Ditto. * libc/stdlib/atexit.c: Ditto. * libc/stdlib/on_exit.c: Ditto.
Diffstat (limited to 'newlib/libc/include/sys/reent.h')
-rw-r--r--newlib/libc/include/sys/reent.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h
index ed3d9aa01..12ac6b216 100644
--- a/newlib/libc/include/sys/reent.h
+++ b/newlib/libc/include/sys/reent.h
@@ -182,12 +182,12 @@ struct __sFILE {
/* operations */
_PTR _cookie; /* cookie passed to io functions */
- _READ_WRITE_RETURN_TYPE _EXFUN((*_read),(struct _reent *, _PTR,
+ _READ_WRITE_RETURN_TYPE _EXFNPTR(_read, (struct _reent *, _PTR,
char *, int));
- _READ_WRITE_RETURN_TYPE _EXFUN((*_write),(struct _reent *, _PTR,
+ _READ_WRITE_RETURN_TYPE _EXFNPTR(_write, (struct _reent *, _PTR,
const char *, int));
- _fpos_t _EXFUN((*_seek),(struct _reent *, _PTR, _fpos_t, int));
- int _EXFUN((*_close),(struct _reent *, _PTR));
+ _fpos_t _EXFNPTR(_seek, (struct _reent *, _PTR, _fpos_t, int));
+ int _EXFNPTR(_close, (struct _reent *, _PTR));
/* separate buffer for long sequences of ungetc() */
struct __sbuf _ub; /* ungetc buffer */
@@ -237,12 +237,12 @@ struct __sFILE64 {
/* operations */
_PTR _cookie; /* cookie passed to io functions */
- _READ_WRITE_RETURN_TYPE _EXFUN((*_read),(struct _reent *, _PTR,
+ _READ_WRITE_RETURN_TYPE _EXFNPTR(_read, (struct _reent *, _PTR,
char *, int));
- _READ_WRITE_RETURN_TYPE _EXFUN((*_write),(struct _reent *, _PTR,
+ _READ_WRITE_RETURN_TYPE _EXFNPTR(_write, (struct _reent *, _PTR,
const char *, int));
- _fpos_t _EXFUN((*_seek),(struct _reent *, _PTR, _fpos_t, int));
- int _EXFUN((*_close),(struct _reent *, _PTR));
+ _fpos_t _EXFNPTR(_seek, (struct _reent *, _PTR, _fpos_t, int));
+ int _EXFNPTR(_close, (struct _reent *, _PTR));
/* separate buffer for long sequences of ungetc() */
struct __sbuf _ub; /* ungetc buffer */
@@ -261,7 +261,7 @@ struct __sFILE64 {
int _flags2; /* for future use */
_off64_t _offset; /* current lseek offset */
- _fpos64_t _EXFUN((*_seek64),(struct _reent *, _PTR, _fpos64_t, int));
+ _fpos64_t _EXFNPTR(_seek64, (struct _reent *, _PTR, _fpos64_t, int));
#ifndef __SINGLE_THREAD__
_flock_t _lock; /* for thread-safety locking */
@@ -376,7 +376,7 @@ struct _reent
struct _mprec *_mp;
- void _EXFUN((*__cleanup),(struct _reent *));
+ void _EXFNPTR(__cleanup, (struct _reent *));
int _gamma_signgam;
@@ -593,7 +593,7 @@ struct _reent
int __sdidinit; /* 1 means stdio has been init'd */
- void _EXFUN((*__cleanup),(struct _reent *));
+ void _EXFNPTR(__cleanup, (struct _reent *));
/* used by mprec routines */
struct _Bigint *_result;