diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-05-23 13:33:15 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-05-24 23:06:20 +0200 |
commit | d18ea0c5e669dd48ccceccfc90ff458dc333a81f (patch) | |
tree | c983ef90b2cf0abb23a33e704d0a2b7200142ab6 /debug/fgets_chk.c | |
parent | c14874927b499ddfdbb03745bb32bfc778b8595f (diff) | |
download | glibc-d18ea0c5e669dd48ccceccfc90ff458dc333a81f.zip glibc-d18ea0c5e669dd48ccceccfc90ff458dc333a81f.tar.gz glibc-d18ea0c5e669dd48ccceccfc90ff458dc333a81f.tar.bz2 |
Remove use of INTDEF/INTUSE in libio
Diffstat (limited to 'debug/fgets_chk.c')
-rw-r--r-- | debug/fgets_chk.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/debug/fgets_chk.c b/debug/fgets_chk.c index 720ba5d..046ac1d 100644 --- a/debug/fgets_chk.c +++ b/debug/fgets_chk.c @@ -1,5 +1,4 @@ -/* Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2005 - Free Software Foundation, Inc. +/* Copyright (C) 1993-2012 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 @@ -47,7 +46,7 @@ __fgets_chk (buf, size, n, fp) case. We return an error only when there is a new error. */ int old_error = fp->_IO_file_flags & _IO_ERR_SEEN; fp->_IO_file_flags &= ~_IO_ERR_SEEN; - count = INTUSE(_IO_getline) (fp, buf, MIN ((size_t) n - 1, size), '\n', 1); + count = _IO_getline (fp, buf, MIN ((size_t) n - 1, size), '\n', 1); /* If we read in some bytes and errno is EAGAIN, that error will be reported for next read. */ if (count == 0 || ((fp->_IO_file_flags & _IO_ERR_SEEN) |