aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iogetwline.c')
-rw-r--r--libio/iogetwline.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/libio/iogetwline.c b/libio/iogetwline.c
index b668a77e38..15fc0f3737 100644
--- a/libio/iogetwline.c
+++ b/libio/iogetwline.c
@@ -33,12 +33,8 @@
#endif
_IO_size_t
-_IO_getwline (fp, buf, n, delim, extract_delim)
- _IO_FILE *fp;
- wchar_t *buf;
- _IO_size_t n;
- wint_t delim;
- int extract_delim;
+_IO_getwline (_IO_FILE *fp, wchar_t *buf, _IO_size_t n, wint_t delim,
+ int extract_delim)
{
return _IO_getwline_info (fp, buf, n, delim, extract_delim, (wint_t *) 0);
}
@@ -52,13 +48,8 @@ _IO_getwline (fp, buf, n, delim, extract_delim)
If extract_delim > 0, insert delim in output. */
_IO_size_t
-_IO_getwline_info (fp, buf, n, delim, extract_delim, eof)
- _IO_FILE *fp;
- wchar_t *buf;
- _IO_size_t n;
- wint_t delim;
- int extract_delim;
- wint_t *eof;
+_IO_getwline_info (_IO_FILE *fp, wchar_t *buf, _IO_size_t n, wint_t delim,
+ int extract_delim, wint_t *eof)
{
wchar_t *ptr = buf;
if (eof != NULL)