about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/Makefile1
-rw-r--r--stdio-common/getline.c7
-rw-r--r--stdio-common/vfscanf.c1
3 files changed, 4 insertions, 5 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 2970dd3db0..00e34c520e 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -46,4 +46,5 @@ tests := tst-printf tstscanf test_rdwr test-popen tstgetln test-fseek \
 
 include ../Rules
 
+CFLAGS-_itoa.c = -Wno-unused
 CFLAGS-tst-printf.c = -Wno-format
diff --git a/stdio-common/getline.c b/stdio-common/getline.c
index f103979333..7e78547c90 100644
--- a/stdio-common/getline.c
+++ b/stdio-common/getline.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995, 1996 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -16,21 +16,20 @@ License along with the GNU C Library; see the file COPYING.LIB.  If
 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
 Cambridge, MA 02139, USA.  */
 
-#include <ansidecl.h>
 #include <stddef.h>
 #include <stdio.h>
 
 #undef __getline
 
 #ifdef USE_IN_LIBIO
+# include "../libio/libioP.h"
 # define ssize_t _IO_ssize_t
 # define __getdelim _IO_getdelim
 #endif
 
 /* Like getdelim, but always looks for a newline.  */
 ssize_t
-DEFUN(__getline, (lineptr, n, stream),
-      char **lineptr AND size_t *n AND FILE *stream)
+__getline (char **lineptr, size_t *n, FILE *stream)
 {
   return __getdelim (lineptr, n, '\n', stream);
 }
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index d133ef1a02..badaa2f93d 100644
--- a/stdio-common/vfscanf.c
+++ b/stdio-common/vfscanf.c
@@ -16,7 +16,6 @@ License along with the GNU C Library; see the file COPYING.LIB.  If
 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
 Cambridge, MA 02139, USA.  */
 
-#include <ansidecl.h>
 #include "../locale/localeinfo.h"
 #include <errno.h>
 #include <limits.h>