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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user