Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fscanf.c')
-rw-r--r--newlib/libc/stdio/fscanf.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/newlib/libc/stdio/fscanf.c b/newlib/libc/stdio/fscanf.c
index c00a4690e..92fc4ea7e 100644
--- a/newlib/libc/stdio/fscanf.c
+++ b/newlib/libc/stdio/fscanf.c
@@ -16,25 +16,26 @@
*/
#include <_ansi.h>
-#include <reent.h>
#include <stdio.h>
+
#ifdef _HAVE_STDC
#include <stdarg.h>
#else
#include <varargs.h>
#endif
+
#include "local.h"
#ifndef _REENT_ONLY
int
#ifdef _HAVE_STDC
-fscanf(FILE *fp, _CONST char *fmt, ...)
+fscanf (FILE *fp, const char *fmt, ...)
#else
-fscanf(FILE *fp, fmt, va_alist)
- FILE *fp;
- char *fmt;
- va_dcl
+fscanf (FILE *fp, fmt, va_alist)
+ FILE *fp;
+ char *fmt;
+ va_dcl
#endif
{
int ret;
@@ -54,13 +55,13 @@ fscanf(FILE *fp, fmt, va_alist)
int
#ifdef _HAVE_STDC
-_fscanf_r(struct _reent *ptr, FILE *fp, _CONST char *fmt, ...)
+_fscanf_r (struct _reent *ptr, FILE *fp, const char *fmt, ...)
#else
-_fscanf_r(ptr, FILE *fp, fmt, va_alist)
- struct _reent *ptr;
- FILE *fp;
- char *fmt;
- va_dcl
+_fscanf_r (ptr, FILE *fp, fmt, va_alist)
+ struct _reent *ptr;
+ FILE *fp;
+ char *fmt;
+ va_dcl
#endif
{
int ret;