1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Fix up function definition style

Don't use K&R style for function definitions.
This commit is contained in:
Siddhesh Poyarekar
2014-12-04 08:45:55 +05:30
parent fe8b4d98e9
commit 24b9788285
4 changed files with 40 additions and 121 deletions

View File

@ -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);
}