summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/fprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fprintf.c')
-rw-r--r--newlib/libc/stdio/fprintf.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/newlib/libc/stdio/fprintf.c b/newlib/libc/stdio/fprintf.c
index 8f97a8b28..56a08863a 100644
--- a/newlib/libc/stdio/fprintf.c
+++ b/newlib/libc/stdio/fprintf.c
@@ -17,7 +17,6 @@
#include <_ansi.h>
#include <stdio.h>
-
#ifdef _HAVE_STDC
#include <stdarg.h>
#else
@@ -26,13 +25,13 @@
#ifdef _HAVE_STDC
int
-fprintf (FILE * fp, const char *fmt,...)
+fprintf(FILE * fp, _CONST char *fmt,...)
#else
int
-fprintf (fp, fmt, va_alist)
- FILE *fp;
- char *fmt;
- va_dcl
+fprintf(fp, fmt, va_alist)
+ FILE *fp;
+ char *fmt;
+ va_dcl
#endif
{
int ret;