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/iofopen.c | |
parent | fe8b4d98e9ac371238388469cb74011cb2120343 (diff) | |
download | glibc-24b9788285effddba3d52f174d483583cf820d19.zip glibc-24b9788285effddba3d52f174d483583cf820d19.tar.gz glibc-24b9788285effddba3d52f174d483583cf820d19.tar.bz2 |
Fix up function definition style
Don't use K&R style for function definitions.
Diffstat (limited to 'libio/iofopen.c')
-rw-r--r-- | libio/iofopen.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/libio/iofopen.c b/libio/iofopen.c index 4fbf486..f2ccc89 100644 --- a/libio/iofopen.c +++ b/libio/iofopen.c @@ -35,8 +35,7 @@ #endif _IO_FILE * -__fopen_maybe_mmap (fp) - _IO_FILE *fp; +__fopen_maybe_mmap (_IO_FILE *fp) { #ifdef _G_HAVE_MMAP if ((fp->_flags2 & _IO_FLAGS2_MMAP) && (fp->_flags & _IO_NO_WRITES)) @@ -58,10 +57,7 @@ __fopen_maybe_mmap (fp) _IO_FILE * -__fopen_internal (filename, mode, is32) - const char *filename; - const char *mode; - int is32; +__fopen_internal (const char *filename, const char *mode, int is32) { struct locked_FILE { @@ -96,9 +92,7 @@ __fopen_internal (filename, mode, is32) } _IO_FILE * -_IO_new_fopen (filename, mode) - const char *filename; - const char *mode; +_IO_new_fopen (const char *filename, const char *mode) { return __fopen_internal (filename, mode, 1); } |