From 24b9788285effddba3d52f174d483583cf820d19 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 4 Dec 2014 08:45:55 +0530 Subject: Fix up function definition style Don't use K&R style for function definitions. --- libio/iofopen.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'libio/iofopen.c') diff --git a/libio/iofopen.c b/libio/iofopen.c index 4fbf4864de..f2ccc89563 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); } -- cgit v1.2.1