aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/fgetc.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fgetc.c')
-rw-r--r--newlib/libc/stdio/fgetc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/stdio/fgetc.c b/newlib/libc/stdio/fgetc.c
index 45404d3..7d0d484 100644
--- a/newlib/libc/stdio/fgetc.c
+++ b/newlib/libc/stdio/fgetc.c
@@ -85,8 +85,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
#include "local.h"
int
-_DEFUN(_fgetc_r, (ptr, fp),
- struct _reent * ptr,
+_fgetc_r (struct _reent * ptr,
FILE * fp)
{
int result;
@@ -100,8 +99,7 @@ _DEFUN(_fgetc_r, (ptr, fp),
#ifndef _REENT_ONLY
int
-_DEFUN(fgetc, (fp),
- FILE * fp)
+fgetc (FILE * fp)
{
#if !defined(PREFER_SIZE_OVER_SPEED) && !defined(__OPTIMIZE_SIZE__)
int result;