aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/nano-vfscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/nano-vfscanf.c')
-rw-r--r--newlib/libc/stdio/nano-vfscanf.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/newlib/libc/stdio/nano-vfscanf.c b/newlib/libc/stdio/nano-vfscanf.c
index 15e0a5e..e8a9325 100644
--- a/newlib/libc/stdio/nano-vfscanf.c
+++ b/newlib/libc/stdio/nano-vfscanf.c
@@ -144,8 +144,7 @@ Supporting OS subroutines required:
#ifndef _REENT_ONLY
int
-_DEFUN(VFSCANF, (fp, fmt, ap),
- register FILE *fp,
+VFSCANF (register FILE *fp,
const char *fmt,
va_list ap)
{
@@ -158,8 +157,7 @@ _EXFUN(vfiscanf, (FILE *, const char *, __VALIST)
_ATTRIBUTE ((__alias__("vfscanf"))));
int
-_DEFUN(__SVFSCANF, (fp, fmt0, ap),
- register FILE *fp,
+__SVFSCANF (register FILE *fp,
char const *fmt0,
va_list ap)
{
@@ -169,8 +167,7 @@ _DEFUN(__SVFSCANF, (fp, fmt0, ap),
#endif
int
-_DEFUN(_VFSCANF_R, (data, fp, fmt, ap),
- struct _reent *data,
+_VFSCANF_R (struct _reent *data,
register FILE *fp,
const char *fmt,
va_list ap)
@@ -189,8 +186,7 @@ _EXFUN(_vfiscanf_r, (struct _reent *, FILE *, const char *, __VALIST)
regular ungetc which will drag in file I/O items we don't need.
So, we create our own trimmed-down version. */
int
-_DEFUN(_sungetc_r, (data, fp, ch),
- struct _reent *data,
+_sungetc_r (struct _reent *data,
int c,
register FILE *fp)
{
@@ -238,8 +234,7 @@ _DEFUN(_sungetc_r, (data, fp, ch),
/* String only version of __srefill_r for sscanf family. */
int
-_DEFUN(__ssrefill_r, (ptr, fp),
- struct _reent * ptr,
+__ssrefill_r (struct _reent * ptr,
register FILE * fp)
{
/* Our only hope of further input is the ungetc buffer.
@@ -268,8 +263,7 @@ size_t _EXFUN (_sfread_r, (struct _reent *, void *buf, size_t, size_t, FILE *));
#endif /* !STRING_ONLY. */
int
-_DEFUN(__SVFSCANF_R, (rptr, fp, fmt0, ap),
- struct _reent *rptr,
+__SVFSCANF_R (struct _reent *rptr,
register FILE *fp,
char const *fmt0,
va_list ap)