diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-12-04 08:45:55 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-12-04 08:45:55 +0530 |
commit | 24b9788285effddba3d52f174d483583cf820d19 (patch) | |
tree | 32cc6135cb09d51203b80869789c8d9591ecf014 /libio/wfileops.c | |
parent | fe8b4d98e9ac371238388469cb74011cb2120343 (diff) | |
download | glibc-24b9788285effddba3d52f174d483583cf820d19.tar glibc-24b9788285effddba3d52f174d483583cf820d19.tar.gz glibc-24b9788285effddba3d52f174d483583cf820d19.tar.bz2 glibc-24b9788285effddba3d52f174d483583cf820d19.zip |
Fix up function definition style
Don't use K&R style for function definitions.
Diffstat (limited to 'libio/wfileops.c')
-rw-r--r-- | libio/wfileops.c | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/libio/wfileops.c b/libio/wfileops.c index 2a003b368d..698ff8f841 100644 --- a/libio/wfileops.c +++ b/libio/wfileops.c @@ -54,10 +54,7 @@ /* Convert TO_DO wide character from DATA to FP. Then mark FP as having empty buffers. */ int -_IO_wdo_write (fp, data, to_do) - _IO_FILE *fp; - const wchar_t *data; - _IO_size_t to_do; +_IO_wdo_write (_IO_FILE *fp, const wchar_t *data, _IO_size_t to_do) { struct _IO_codecvt *cc = fp->_codecvt; @@ -131,8 +128,7 @@ libc_hidden_def (_IO_wdo_write) wint_t -_IO_wfile_underflow (fp) - _IO_FILE *fp; +_IO_wfile_underflow (_IO_FILE *fp) { struct _IO_codecvt *cd; enum __codecvt_result status; @@ -428,9 +424,7 @@ _IO_wfile_underflow_maybe_mmap (_IO_FILE *fp) wint_t -_IO_wfile_overflow (f, wch) - _IO_FILE *f; - wint_t wch; +_IO_wfile_overflow (_IO_FILE *f, wint_t wch) { if (f->_flags & _IO_NO_WRITES) /* SET ERROR */ { @@ -502,8 +496,7 @@ _IO_wfile_overflow (f, wch) libc_hidden_def (_IO_wfile_overflow) wint_t -_IO_wfile_sync (fp) - _IO_FILE *fp; +_IO_wfile_sync (_IO_FILE *fp) { _IO_ssize_t delta; wint_t retval = 0; @@ -767,11 +760,7 @@ do_ftell_wide (_IO_FILE *fp) } _IO_off64_t -_IO_wfile_seekoff (fp, offset, dir, mode) - _IO_FILE *fp; - _IO_off64_t offset; - int dir; - int mode; +_IO_wfile_seekoff (_IO_FILE *fp, _IO_off64_t offset, int dir, int mode) { _IO_off64_t result; _IO_off64_t delta, new_offset; @@ -982,10 +971,7 @@ libc_hidden_def (_IO_wfile_seekoff) _IO_size_t -_IO_wfile_xsputn (f, data, n) - _IO_FILE *f; - const void *data; - _IO_size_t n; +_IO_wfile_xsputn (_IO_FILE *f, const void *data, _IO_size_t n) { const wchar_t *s = (const wchar_t *) data; _IO_size_t to_do = n; |