]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Convert 703 function definitions to prototype style.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 16 Oct 2015 20:21:49 +0000 (20:21 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 16 Oct 2015 20:21:49 +0000 (20:21 +0000)
This automatically-generated patch converts 703 function definitions
in glibc from old-style K&R to prototype-style.

This conversion is deliberately simplistic, excluding any tricky cases
as even a patch covering only simple cases is still very large.
Currently excluded are: sysdeps files (to improve test coverage for
the initial patch); files containing assertions (to avoid line number
changes so that generated libraries can be compared); any cases where
the generated function declaration would involve lines over 79
characters and so need to be wrapped; any cases with array parameters
or other cases where parameter declarators don't end with the
parameter name; any other cases that my script didn't parse.

I didn't try to make the ChangeLog generation indicate when function
definitions are conditional; it just lists the functions changed
without regard to that.

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).

* crypt/cert.c (good_bye): Convert to prototype-style function
definition.
(get8): Likewise.
(put8): Likewise.
* crypt/crypt-entry.c (crypt): Likewise.
(__fcrypt): Likewise.
* crypt/crypt_util.c (_ufc_prbits): Likewise.
(_ufc_set_bits): Likewise.
(_ufc_clearmem): Likewise.
(__init_des_r): Likewise.
(shuffle_sb): Likewise.
(shuffle_sb): Likewise.
(_ufc_setup_salt_r): Likewise.
(_ufc_mk_keytab_r): Likewise.
(_ufc_dofinalperm_r): Likewise.
(encrypt): Likewise.
(__setkey_r): Likewise.
(setkey): Likewise.
* crypt/md5.c (md5_init_ctx): Likewise.
(md5_read_ctx): Likewise.
(md5_finish_ctx): Likewise.
(md5_stream): Likewise.
(md5_buffer): Likewise.
(md5_process_bytes): Likewise.
* crypt/sha256.c (__sha256_init_ctx): Likewise.
(__sha256_finish_ctx): Likewise.
(__sha256_process_bytes): Likewise.
* crypt/sha512.c (__sha512_init_ctx): Likewise.
(__sha512_finish_ctx): Likewise.
(__sha512_process_bytes): Likewise.
* ctype/isctype.c (__isctype): Likewise.
* debug/backtrace.c (__backtrace): Likewise.
* debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
* debug/fgets_chk.c (__fgets_chk): Likewise.
* debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
* debug/memcpy_chk.c (__memcpy_chk): Likewise.
* debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
* debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
* debug/memset_chk.c (__memset_chk): Likewise.
* debug/strcat_chk.c (__strcat_chk): Likewise.
* debug/strncat_chk.c (__strncat_chk): Likewise.
* debug/strncpy_chk.c (__strncpy_chk): Likewise.
* debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
* dirent/dirfd.c (dirfd): Likewise.
* dirent/getdents.c (__getdirentries): Likewise.
* dirent/getdents64.c (getdirentries64): Likewise.
* dirent/rewinddir.c (__rewinddir): Likewise.
* dirent/seekdir.c (seekdir): Likewise.
* dirent/telldir.c (telldir): Likewise.
* elf/sln.c (makesymlinks): Likewise.
(makesymlink): Likewise.
* gmon/gmon.c (__moncontrol): Likewise.
(__monstartup): Likewise.
(write_hist): Likewise.
(write_call_graph): Likewise.
(write_bb_counts): Likewise.
* grp/setgroups.c (setgroups): Likewise.
* inet/inet_lnaof.c (inet_lnaof): Likewise.
* inet/inet_net.c (inet_network): Likewise.
* inet/inet_netof.c (inet_netof): Likewise.
* inet/rcmd.c (rresvport_af): Likewise.
(rresvport): Likewise.
* io/access.c (__access): Likewise.
* io/chdir.c (__chdir): Likewise.
* io/chmod.c (__chmod): Likewise.
* io/chown.c (__chown): Likewise.
* io/close.c (__close): Likewise.
* io/creat.c (creat): Likewise.
* io/creat64.c (creat64): Likewise.
* io/dup.c (__dup): Likewise.
* io/dup2.c (__dup2): Likewise.
* io/dup3.c (__dup3): Likewise.
* io/euidaccess.c (__euidaccess): Likewise.
* io/faccessat.c (faccessat): Likewise.
* io/fchmod.c (__fchmod): Likewise.
* io/fchmodat.c (fchmodat): Likewise.
* io/fchown.c (__fchown): Likewise.
* io/fchownat.c (fchownat): Likewise.
* io/fcntl.c (__fcntl): Likewise.
* io/flock.c (__flock): Likewise.
* io/fts.c (fts_load): Likewise.
(fts_close): Likewise.
(fts_read): Likewise.
(fts_set): Likewise.
(fts_children): Likewise.
(fts_build): Likewise.
(fts_stat): Likewise.
(fts_sort): Likewise.
(fts_alloc): Likewise.
(fts_lfree): Likewise.
(fts_palloc): Likewise.
(fts_padjust): Likewise.
(fts_maxarglen): Likewise.
(fts_safe_changedir): Likewise.
* io/getwd.c (getwd): Likewise.
* io/isatty.c (__isatty): Likewise.
* io/lchown.c (__lchown): Likewise.
* io/link.c (__link): Likewise.
* io/linkat.c (linkat): Likewise.
* io/lseek.c (__libc_lseek): Likewise.
* io/mkdir.c (__mkdir): Likewise.
* io/mkdirat.c (mkdirat): Likewise.
* io/mkfifo.c (mkfifo): Likewise.
* io/mkfifoat.c (mkfifoat): Likewise.
* io/open.c (__libc_open): Likewise.
* io/open64.c (__libc_open64): Likewise.
* io/readlink.c (__readlink): Likewise.
* io/readlinkat.c (readlinkat): Likewise.
* io/rmdir.c (__rmdir): Likewise.
* io/symlink.c (__symlink): Likewise.
* io/symlinkat.c (symlinkat): Likewise.
* io/ttyname.c (ttyname): Likewise.
* io/ttyname_r.c (__ttyname_r): Likewise.
* io/umask.c (__umask): Likewise.
* io/unlink.c (__unlink): Likewise.
* io/unlinkat.c (unlinkat): Likewise.
* io/utime.c (utime): Likewise.
* libio/clearerr.c (clearerr): Likewise.
* libio/clearerr_u.c (clearerr_unlocked): Likewise.
* libio/feof.c (_IO_feof): Likewise.
* libio/feof_u.c (feof_unlocked): Likewise.
* libio/ferror.c (_IO_ferror): Likewise.
* libio/ferror_u.c (ferror_unlocked): Likewise.
* libio/filedoalloc.c (_IO_file_doallocate): Likewise.
* libio/fileno.c (__fileno): Likewise.
* libio/fputc.c (fputc): Likewise.
* libio/fputc_u.c (fputc_unlocked): Likewise.
* libio/fputwc.c (fputwc): Likewise.
* libio/fputwc_u.c (fputwc_unlocked): Likewise.
* libio/freopen.c (freopen): Likewise.
* libio/freopen64.c (freopen64): Likewise.
* libio/fseek.c (fseek): Likewise.
* libio/fseeko.c (fseeko): Likewise.
* libio/fseeko64.c (fseeko64): Likewise.
* libio/ftello.c (__ftello): Likewise.
* libio/ftello64.c (ftello64): Likewise.
* libio/fwide.c (fwide): Likewise.
* libio/genops.c (_IO_un_link): Likewise.
(_IO_link_in): Likewise.
(_IO_least_marker): Likewise.
(_IO_switch_to_main_get_area): Likewise.
(_IO_switch_to_backup_area): Likewise.
(_IO_switch_to_get_mode): Likewise.
(_IO_free_backup_area): Likewise.
(_IO_switch_to_put_mode): Likewise.
(__overflow): Likewise.
(__underflow): Likewise.
(__uflow): Likewise.
(_IO_setb): Likewise.
(_IO_doallocbuf): Likewise.
(_IO_default_underflow): Likewise.
(_IO_default_uflow): Likewise.
(_IO_default_xsputn): Likewise.
(_IO_sgetn): Likewise.
(_IO_default_xsgetn): Likewise.
(_IO_sync): Likewise.
(_IO_default_setbuf): Likewise.
(_IO_default_seekpos): Likewise.
(_IO_default_doallocate): Likewise.
(_IO_init): Likewise.
(_IO_old_init): Likewise.
(_IO_default_sync): Likewise.
(_IO_default_finish): Likewise.
(_IO_default_seekoff): Likewise.
(_IO_sputbackc): Likewise.
(_IO_sungetc): Likewise.
(_IO_set_column): Likewise.
(_IO_set_column): Likewise.
(_IO_adjust_column): Likewise.
(_IO_get_column): Likewise.
(_IO_init_marker): Likewise.
(_IO_remove_marker): Likewise.
(_IO_marker_difference): Likewise.
(_IO_marker_delta): Likewise.
(_IO_seekmark): Likewise.
(_IO_unsave_markers): Likewise.
(_IO_nobackup_pbackfail): Likewise.
(_IO_default_pbackfail): Likewise.
(_IO_default_seek): Likewise.
(_IO_default_stat): Likewise.
(_IO_default_read): Likewise.
(_IO_default_write): Likewise.
(_IO_default_showmanyc): Likewise.
(_IO_default_imbue): Likewise.
(_IO_iter_next): Likewise.
(_IO_iter_file): Likewise.
* libio/getc.c (_IO_getc): Likewise.
* libio/getwc.c (_IO_getwc): Likewise.
* libio/iofclose.c (_IO_new_fclose): Likewise.
* libio/iofdopen.c (_IO_new_fdopen): Likewise.
* libio/iofflush.c (_IO_fflush): Likewise.
* libio/iofflush_u.c (__fflush_unlocked): Likewise.
* libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
* libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
* libio/iofgets.c (_IO_fgets): Likewise.
* libio/iofgets_u.c (__fgets_unlocked): Likewise.
* libio/iofgetws.c (fgetws): Likewise.
* libio/iofgetws_u.c (fgetws_unlocked): Likewise.
* libio/iofopen64.c (_IO_fopen64): Likewise.
* libio/iofopncook.c (_IO_cookie_read): Likewise.
(_IO_cookie_write): Likewise.
(_IO_cookie_seek): Likewise.
(_IO_cookie_close): Likewise.
(_IO_cookie_seekoff): Likewise.
(_IO_old_cookie_seek): Likewise.
* libio/iofputs.c (_IO_fputs): Likewise.
* libio/iofputs_u.c (__fputs_unlocked): Likewise.
* libio/iofputws.c (fputws): Likewise.
* libio/iofputws_u.c (fputws_unlocked): Likewise.
* libio/iofread.c (_IO_fread): Likewise.
* libio/iofread_u.c (__fread_unlocked): Likewise.
* libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
* libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
* libio/ioftell.c (_IO_ftell): Likewise.
* libio/iofwrite.c (_IO_fwrite): Likewise.
* libio/iogetdelim.c (_IO_getdelim): Likewise.
* libio/iogets.c (_IO_gets): Likewise.
* libio/iopadn.c (_IO_padn): Likewise.
* libio/iopopen.c (_IO_new_proc_open): Likewise.
(_IO_new_popen): Likewise.
(_IO_new_proc_close): Likewise.
* libio/ioputs.c (_IO_puts): Likewise.
* libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
(_IO_seekoff): Likewise.
* libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
(_IO_seekpos): Likewise.
* libio/iosetbuffer.c (_IO_setbuffer): Likewise.
* libio/iosetvbuf.c (_IO_setvbuf): Likewise.
* libio/ioungetc.c (_IO_ungetc): Likewise.
* libio/ioungetwc.c (ungetwc): Likewise.
* libio/iovdprintf.c (_IO_vdprintf): Likewise.
* libio/iovsscanf.c (_IO_vsscanf): Likewise.
* libio/iowpadn.c (_IO_wpadn): Likewise.
* libio/libc_fatal.c (__libc_fatal): Likewise.
* libio/memstream.c (__open_memstream): Likewise.
(_IO_mem_sync): Likewise.
(_IO_mem_finish): Likewise.
* libio/oldfileops.c (_IO_old_file_init): Likewise.
(_IO_old_file_close_it): Likewise.
(_IO_old_file_finish): Likewise.
(_IO_old_file_fopen): Likewise.
(_IO_old_file_attach): Likewise.
(_IO_old_file_setbuf): Likewise.
(_IO_old_do_write): Likewise.
(old_do_write): Likewise.
(_IO_old_file_underflow): Likewise.
(_IO_old_file_overflow): Likewise.
(_IO_old_file_sync): Likewise.
(_IO_old_file_seekoff): Likewise.
(_IO_old_file_write): Likewise.
(_IO_old_file_xsputn): Likewise.
* libio/oldiofclose.c (_IO_old_fclose): Likewise.
* libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
* libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
* libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
* libio/oldiofopen.c (_IO_old_fopen): Likewise.
* libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
* libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
* libio/oldiopopen.c (_IO_old_proc_open): Likewise.
(_IO_old_popen): Likewise.
(_IO_old_proc_close): Likewise.
* libio/oldpclose.c (__old_pclose): Likewise.
* libio/pclose.c (__new_pclose): Likewise.
* libio/peekc.c (_IO_peekc_locked): Likewise.
* libio/putc.c (_IO_putc): Likewise.
* libio/putc_u.c (putc_unlocked): Likewise.
* libio/putchar.c (putchar): Likewise.
* libio/putchar_u.c (putchar_unlocked): Likewise.
* libio/putwc.c (putwc): Likewise.
* libio/putwc_u.c (putwc_unlocked): Likewise.
* libio/putwchar.c (putwchar): Likewise.
* libio/putwchar_u.c (putwchar_unlocked): Likewise.
* libio/rewind.c (rewind): Likewise.
* libio/setbuf.c (setbuf): Likewise.
* libio/setlinebuf.c (setlinebuf): Likewise.
* libio/vasprintf.c (_IO_vasprintf): Likewise.
* libio/vscanf.c (_IO_vscanf): Likewise.
* libio/vsnprintf.c (_IO_strn_overflow): Likewise.
* libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
* libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
* libio/wgenops.c (_IO_least_wmarker): Likewise.
(_IO_switch_to_main_wget_area): Likewise.
(_IO_switch_to_wbackup_area): Likewise.
(_IO_wsetb): Likewise.
(_IO_wdefault_pbackfail): Likewise.
(_IO_wdefault_finish): Likewise.
(_IO_wdefault_uflow): Likewise.
(__woverflow): Likewise.
(__wuflow): Likewise.
(__wunderflow): Likewise.
(_IO_wdefault_xsputn): Likewise.
(_IO_wdefault_xsgetn): Likewise.
(_IO_wdoallocbuf): Likewise.
(_IO_wdefault_doallocate): Likewise.
(_IO_switch_to_wget_mode): Likewise.
(_IO_free_wbackup_area): Likewise.
(_IO_switch_to_wput_mode): Likewise.
(_IO_sputbackwc): Likewise.
(_IO_sungetwc): Likewise.
(_IO_adjust_wcolumn): Likewise.
(_IO_init_wmarker): Likewise.
(_IO_wmarker_delta): Likewise.
(_IO_seekwmark): Likewise.
(_IO_unsave_wmarkers): Likewise.
* libio/wmemstream.c (open_wmemstream): Likewise.
(_IO_wmem_sync): Likewise.
(_IO_wmem_finish): Likewise.
* locale/nl_langinfo.c (nl_langinfo): Likewise.
* locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
* locale/programs/simple-hash.c (init_hash): Likewise.
(delete_hash): Likewise.
(insert_entry): Likewise.
(set_entry): Likewise.
(next_prime): Likewise.
(is_prime): Likewise.
* locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
(xmalloc): Likewise.
(xrealloc): Likewise.
* locale/programs/xstrdup.c (xstrdup): Likewise.
* localedata/collate-test.c (xstrcoll): Likewise.
* localedata/xfrm-test.c (xstrcmp): Likewise.
* login/getlogin_r.c (__getlogin_r): Likewise.
* login/getpt.c (__posix_openpt): Likewise.
* login/login_tty.c (login_tty): Likewise.
* login/setlogin.c (setlogin): Likewise.
* mach/msg-destroy.c (__mach_msg_destroy): Likewise.
(mach_msg_destroy_port): Likewise.
(mach_msg_destroy_memory): Likewise.
* malloc/mcheck.c (flood): Likewise.
* misc/acct.c (acct): Likewise.
* misc/brk.c (__brk): Likewise.
* misc/chflags.c (chflags): Likewise.
* misc/chroot.c (chroot): Likewise.
* misc/fchflags.c (fchflags): Likewise.
* misc/fstab.c (getfsspec): Likewise.
(getfsfile): Likewise.
* misc/fsync.c (fsync): Likewise.
* misc/ftruncate.c (__ftruncate): Likewise.
* misc/ftruncate64.c (__ftruncate64): Likewise.
* misc/getdomain.c (getdomainname): Likewise.
(getdomainname): Likewise.
* misc/gethostname.c (__gethostname): Likewise.
* misc/getpass.c (getpass): Likewise.
* misc/getttyent.c (skip): Likewise.
(value): Likewise.
* misc/gtty.c (gtty): Likewise.
* misc/hsearch.c (hsearch): Likewise.
(hcreate): Likewise.
* misc/hsearch_r.c (__hcreate_r): Likewise.
(__hdestroy_r): Likewise.
* misc/ioctl.c (__ioctl): Likewise.
* misc/mkdtemp.c (mkdtemp): Likewise.
* misc/mkostemp.c (mkostemp): Likewise.
* misc/mkostemp64.c (mkostemp64): Likewise.
* misc/mkostemps.c (mkostemps): Likewise.
* misc/mkostemps64.c (mkostemps64): Likewise.
* misc/mkstemp.c (mkstemp): Likewise.
* misc/mkstemp64.c (mkstemp64): Likewise.
* misc/mkstemps.c (mkstemps): Likewise.
* misc/mkstemps64.c (mkstemps64): Likewise.
* misc/mktemp.c (__mktemp): Likewise.
* misc/preadv.c (preadv): Likewise.
* misc/preadv64.c (preadv64): Likewise.
* misc/pwritev.c (pwritev): Likewise.
* misc/pwritev64.c (pwritev64): Likewise.
* misc/readv.c (__readv): Likewise.
* misc/revoke.c (revoke): Likewise.
* misc/setdomain.c (setdomainname): Likewise.
* misc/setegid.c (setegid): Likewise.
* misc/seteuid.c (seteuid): Likewise.
* misc/sethostid.c (sethostid): Likewise.
* misc/sethostname.c (sethostname): Likewise.
* misc/setregid.c (__setregid): Likewise.
* misc/setreuid.c (__setreuid): Likewise.
* misc/sstk.c (sstk): Likewise.
* misc/stty.c (stty): Likewise.
* misc/syscall.c (syscall): Likewise.
* misc/syslog.c (setlogmask): Likewise.
* misc/truncate.c (__truncate): Likewise.
* misc/truncate64.c (truncate64): Likewise.
* misc/ualarm.c (ualarm): Likewise.
* misc/usleep.c (usleep): Likewise.
* misc/ustat.c (ustat): Likewise.
* misc/writev.c (__writev): Likewise.
* nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
* nptl/old_pthread_cond_broadcast.c
(__pthread_cond_broadcast_2_0): Likewise.
* nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
Likewise.
* nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
Likewise.
* nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
Likewise.
* nptl/pt-raise.c (raise): Likewise.
* nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
Likewise.
* nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
* nptl/pthread_barrierattr_destroy.c
(pthread_barrierattr_destroy): Likewise.
* nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
Likewise.
* nptl/pthread_barrierattr_setpshared.c
(pthread_barrierattr_setpshared): Likewise.
* nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
Likewise.
* nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
* nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
* nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
* nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
Likewise.
* nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
Likewise.
* nptl/pthread_condattr_getpshared.c
(pthread_condattr_getpshared): Likewise.
* nptl/pthread_condattr_init.c (__pthread_condattr_init):
Likewise.
* nptl/pthread_condattr_setpshared.c
(pthread_condattr_setpshared): Likewise.
* nptl/pthread_detach.c (pthread_detach): Likewise.
* nptl/pthread_equal.c (__pthread_equal): Likewise.
* nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
* nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
* nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
* nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
Likewise.
* nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
Likewise.
* nptl/pthread_mutex_getprioceiling.c
(pthread_mutex_getprioceiling): Likewise.
* nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
Likewise.
* nptl/pthread_mutexattr_getprotocol.c
(pthread_mutexattr_getprotocol): Likewise.
* nptl/pthread_mutexattr_getpshared.c
(pthread_mutexattr_getpshared): Likewise.
* nptl/pthread_mutexattr_getrobust.c
(pthread_mutexattr_getrobust): Likewise.
* nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
Likewise.
* nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
Likewise.
* nptl/pthread_mutexattr_setprioceiling.c
(pthread_mutexattr_setprioceiling): Likewise.
* nptl/pthread_mutexattr_setprotocol.c
(pthread_mutexattr_setprotocol): Likewise.
* nptl/pthread_mutexattr_setpshared.c
(pthread_mutexattr_setpshared): Likewise.
* nptl/pthread_mutexattr_setrobust.c
(pthread_mutexattr_setrobust): Likewise.
* nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
Likewise.
* nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
Likewise.
* nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
Likewise.
* nptl/pthread_rwlockattr_getkind_np.c
(pthread_rwlockattr_getkind_np): Likewise.
* nptl/pthread_rwlockattr_getpshared.c
(pthread_rwlockattr_getpshared): Likewise.
* nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
Likewise.
* nptl/pthread_rwlockattr_setkind_np.c
(pthread_rwlockattr_setkind_np): Likewise.
* nptl/pthread_rwlockattr_setpshared.c
(pthread_rwlockattr_setpshared): Likewise.
* nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
Likewise.
* nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
Likewise.
* nptl/pthread_setconcurrency.c (pthread_setconcurrency):
Likewise.
* nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
* nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
* nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
* nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
* nptl/sem_close.c (sem_close): Likewise.
* nptl/sem_destroy.c (__new_sem_destroy): Likewise.
* nptl/sem_init.c (__old_sem_init): Likewise.
* nptl/sigaction.c (__sigaction): Likewise.
* nptl/unregister-atfork.c (__unregister_atfork): Likewise.
* posix/_exit.c (_exit): Likewise.
* posix/alarm.c (alarm): Likewise.
* posix/confstr.c (confstr): Likewise.
* posix/fpathconf.c (__fpathconf): Likewise.
* posix/getgroups.c (__getgroups): Likewise.
* posix/getpgid.c (__getpgid): Likewise.
* posix/group_member.c (__group_member): Likewise.
* posix/pathconf.c (__pathconf): Likewise.
* posix/sched_getaffinity.c (sched_getaffinity): Likewise.
* posix/sched_setaffinity.c (sched_setaffinity): Likewise.
* posix/setgid.c (__setgid): Likewise.
* posix/setpgid.c (__setpgid): Likewise.
* posix/setuid.c (__setuid): Likewise.
* posix/sleep.c (__sleep): Likewise.
* posix/sysconf.c (__sysconf): Likewise.
* posix/times.c (__times): Likewise.
* posix/uname.c (__uname): Likewise.
* posix/waitid.c (__waitid): Likewise.
* pwd/getpw.c (__getpw): Likewise.
* resolv/base64.c (b64_pton): Likewise.
* resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
* resolv/gethnamaddr.c (Dprintf): Likewise.
(gethostbyname): Likewise.
(gethostbyname2): Likewise.
(gethostbyaddr): Likewise.
(_sethtent): Likewise.
(_gethtbyname): Likewise.
(_gethtbyname2): Likewise.
(_gethtbyaddr): Likewise.
(map_v4v6_address): Likewise.
(map_v4v6_hostent): Likewise.
(addrsort): Likewise.
(ht_sethostent): Likewise.
(ht_gethostbyname): Likewise.
(ht_gethostbyaddr): Likewise.
* resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
(inet_net_ntop_ipv4): Likewise.
* resolv/inet_neta.c (inet_neta): Likewise.
* resolv/inet_ntop.c (inet_ntop): Likewise.
(inet_ntop4): Likewise.
(inet_ntop6): Likewise.
* resolv/inet_pton.c (__inet_pton): Likewise.
(inet_pton4): Likewise.
(inet_pton6): Likewise.
* resolv/res_debug.c (loc_aton): Likewise.
(loc_ntoa): Likewise.
* resource/getpriority.c (__getpriority): Likewise.
* resource/getrusage.c (__getrusage): Likewise.
* resource/nice.c (nice): Likewise.
* resource/setpriority.c (__setpriority): Likewise.
* resource/setrlimit64.c (setrlimit64): Likewise.
* resource/vlimit.c (vlimit): Likewise.
* resource/vtimes.c (vtimes): Likewise.
* rt/aio_error.c (aio_error): Likewise.
* rt/aio_return.c (aio_return): Likewise.
* rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
* signal/kill.c (__kill): Likewise.
* signal/killpg.c (killpg): Likewise.
* signal/raise.c (raise): Likewise.
* signal/sigaction.c (__sigaction): Likewise.
* signal/sigaddset.c (sigaddset): Likewise.
* signal/sigaltstack.c (sigaltstack): Likewise.
* signal/sigandset.c (sigandset): Likewise.
* signal/sigblock.c (__sigblock): Likewise.
* signal/sigdelset.c (sigdelset): Likewise.
* signal/sigempty.c (sigemptyset): Likewise.
* signal/sigfillset.c (sigfillset): Likewise.
* signal/sighold.c (sighold): Likewise.
* signal/sigignore.c (sigignore): Likewise.
* signal/sigintr.c (siginterrupt): Likewise.
* signal/sigisempty.c (sigisemptyset): Likewise.
* signal/sigismem.c (sigismember): Likewise.
* signal/signal.c (signal): Likewise.
* signal/sigorset.c (sigorset): Likewise.
* signal/sigpause.c (__sigpause): Likewise.
* signal/sigpending.c (sigpending): Likewise.
* signal/sigprocmask.c (__sigprocmask): Likewise.
* signal/sigrelse.c (sigrelse): Likewise.
* signal/sigreturn.c (__sigreturn): Likewise.
* signal/sigset.c (sigset): Likewise.
* signal/sigsetmask.c (__sigsetmask): Likewise.
* signal/sigstack.c (sigstack): Likewise.
* signal/sigsuspend.c (__sigsuspend): Likewise.
* signal/sigvec.c (sigvec_wrapper_handler): Likewise.
* signal/sysv_signal.c (__sysv_signal): Likewise.
* socket/accept.c (accept): Likewise.
* socket/accept4.c (__libc_accept4): Likewise.
* socket/bind.c (__bind): Likewise.
* socket/connect.c (__connect): Likewise.
* socket/getpeername.c (getpeername): Likewise.
* socket/getsockname.c (__getsockname): Likewise.
* socket/getsockopt.c (getsockopt): Likewise.
* socket/listen.c (__listen): Likewise.
* socket/recv.c (__recv): Likewise.
* socket/recvmsg.c (__recvmsg): Likewise.
* socket/send.c (__send): Likewise.
* socket/sendmsg.c (__sendmsg): Likewise.
* socket/shutdown.c (shutdown): Likewise.
* socket/sockatmark.c (sockatmark): Likewise.
* socket/socket.c (__socket): Likewise.
* stdio-common/ctermid.c (ctermid): Likewise.
* stdio-common/cuserid.c (cuserid): Likewise.
* stdio-common/printf-prs.c (parse_printf_format): Likewise.
* stdio-common/remove.c (remove): Likewise.
* stdio-common/rename.c (rename): Likewise.
* stdio-common/renameat.c (renameat): Likewise.
* stdio-common/tempname.c (__gen_tempname): Likewise.
* stdio-common/xbug.c (InitBuffer): Likewise.
(AppendToBuffer): Likewise.
(ReadFile): Likewise.
* stdlib/a64l.c (a64l): Likewise.
* stdlib/drand48_r.c (drand48_r): Likewise.
* stdlib/getcontext.c (getcontext): Likewise.
* stdlib/getenv.c (getenv): Likewise.
* stdlib/l64a.c (l64a): Likewise.
* stdlib/llabs.c (llabs): Likewise.
* stdlib/lldiv.c (lldiv): Likewise.
* stdlib/lrand48_r.c (lrand48_r): Likewise.
* stdlib/mrand48_r.c (mrand48_r): Likewise.
* stdlib/putenv.c (putenv): Likewise.
* stdlib/random.c (__srandom): Likewise.
(__initstate): Likewise.
(__setstate): Likewise.
* stdlib/random_r.c (__srandom_r): Likewise.
(__setstate_r): Likewise.
(__random_r): Likewise.
* stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
* stdlib/setcontext.c (setcontext): Likewise.
* stdlib/setenv.c (setenv): Likewise.
(unsetenv): Likewise.
* stdlib/srand48.c (srand48): Likewise.
* stdlib/srand48_r.c (__srand48_r): Likewise.
* stdlib/swapcontext.c (swapcontext): Likewise.
* stdlib/system.c (__libc_system): Likewise.
* stdlib/tst-strtod.c (expand): Likewise.
* stdlib/tst-strtol.c (expand): Likewise.
* stdlib/tst-strtoll.c (expand): Likewise.
* streams/fattach.c (fattach): Likewise.
* streams/fdetach.c (fdetach): Likewise.
* streams/getmsg.c (getmsg): Likewise.
* streams/isastream.c (isastream): Likewise.
* string/ffs.c (__ffs): Likewise.
* string/ffsll.c (ffsll): Likewise.
* string/memcmp.c (memcmp_common_alignment): Likewise.
(memcmp_not_common_alignment): Likewise.
(MEMCMP): Likewise.
* string/memcpy.c (memcpy): Likewise.
* string/memmove.c (MEMMOVE): Likewise.
* string/memset.c (memset): Likewise.
* string/rawmemchr.c (RAWMEMCHR): Likewise.
* string/strchrnul.c (STRCHRNUL): Likewise.
* string/strerror.c (strerror): Likewise.
* string/strndup.c (__strndup): Likewise.
* string/strverscmp.c (__strverscmp): Likewise.
* sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
* sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
(clnttcp_freeres): Likewise.
* sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
* sunrpc/pmap_prot.c (xdr_pmap): Likewise.
* sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
* sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
* sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
(xdr_callhdr): Likewise.
* sunrpc/rpcinfo.c (udpping): Likewise.
(tcpping): Likewise.
(pstatus): Likewise.
(pmapdump): Likewise.
(brdcst): Likewise.
(deletereg): Likewise.
(getprognum): Likewise.
(getvers): Likewise.
(get_inet_address): Likewise.
* sunrpc/svc_raw.c (svcraw_recv): Likewise.
* sunrpc/svc_udp.c (svcudp_create): Likewise.
(svcudp_stat): Likewise.
(svcudp_recv): Likewise.
(svcudp_reply): Likewise.
(svcudp_getargs): Likewise.
(svcudp_freeargs): Likewise.
(svcudp_destroy): Likewise.
* sunrpc/xdr.c (xdr_bytes): Likewise.
(xdr_netobj): Likewise.
(xdr_string): Likewise.
(xdr_wrapstring): Likewise.
* sunrpc/xdr_float.c (xdr_float): Likewise.
(xdr_double): Likewise.
* sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
* sunrpc/xdr_ref.c (xdr_pointer): Likewise.
* sysvipc/ftok.c (ftok): Likewise.
* sysvipc/msgctl.c (msgctl): Likewise.
* sysvipc/msgget.c (msgget): Likewise.
* sysvipc/msgrcv.c (msgrcv): Likewise.
* sysvipc/msgsnd.c (msgsnd): Likewise.
* sysvipc/semget.c (semget): Likewise.
* sysvipc/semop.c (semop): Likewise.
* sysvipc/shmat.c (shmat): Likewise.
* sysvipc/shmctl.c (shmctl): Likewise.
* sysvipc/shmdt.c (shmdt): Likewise.
* sysvipc/shmget.c (shmget): Likewise.
* termios/cfmakeraw.c (cfmakeraw): Likewise.
* termios/speed.c (cfgetospeed): Likewise.
(cfgetispeed): Likewise.
(cfsetospeed): Likewise.
(cfsetispeed): Likewise.
* termios/tcflow.c (tcflow): Likewise.
* termios/tcflush.c (tcflush): Likewise.
* termios/tcgetattr.c (__tcgetattr): Likewise.
* termios/tcgetpgrp.c (tcgetpgrp): Likewise.
* termios/tcgetsid.c (tcgetsid): Likewise.
* termios/tcsendbrk.c (tcsendbreak): Likewise.
* termios/tcsetpgrp.c (tcsetpgrp): Likewise.
* time/adjtime.c (__adjtime): Likewise.
* time/dysize.c (dysize): Likewise.
* time/ftime.c (ftime): Likewise.
* time/getitimer.c (__getitimer): Likewise.
* time/gettimeofday.c (__gettimeofday): Likewise.
* time/gmtime.c (__gmtime_r): Likewise.
(gmtime): Likewise.
* time/localtime.c (__localtime_r): Likewise.
(localtime): Likewise.
* time/offtime.c (__offtime): Likewise.
* time/settimeofday.c (__settimeofday): Likewise.
* time/stime.c (stime): Likewise.
* time/strftime_l.c (tm_diff): Likewise.
(iso_week_days): Likewise.
* time/strptime.c (strptime): Likewise.
* time/time.c (time): Likewise.
* time/timespec_get.c (timespec_get): Likewise.
* time/tzset.c (tzset_internal): Likewise.
(compute_change): Likewise.
(__tz_compute): Likewise.
* wcsmbs/btowc.c (__btowc): Likewise.
* wcsmbs/mbrlen.c (__mbrlen): Likewise.
* wcsmbs/mbsinit.c (__mbsinit): Likewise.
* wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
* wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
* wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
* wcsmbs/wcscat.c (__wcscat): Likewise.
* wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
* wcsmbs/wcscmp.c (WCSCMP): Likewise.
* wcsmbs/wcscpy.c (WCSCPY): Likewise.
* wcsmbs/wcscspn.c (wcscspn): Likewise.
* wcsmbs/wcsdup.c (wcsdup): Likewise.
* wcsmbs/wcslen.c (__wcslen): Likewise.
* wcsmbs/wcsncat.c (WCSNCAT): Likewise.
* wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
* wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
* wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
* wcsmbs/wcspbrk.c (wcspbrk): Likewise.
* wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
* wcsmbs/wcsspn.c (wcsspn): Likewise.
* wcsmbs/wcsstr.c (wcsstr): Likewise.
* wcsmbs/wcstok.c (wcstok): Likewise.
* wcsmbs/wctob.c (wctob): Likewise.
* wcsmbs/wmemchr.c (__wmemchr): Likewise.
* wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
* wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
* wcsmbs/wmemmove.c (__wmemmove): Likewise.
* wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
* wcsmbs/wmemset.c (__wmemset): Likewise.
* wctype/wcfuncs.c (__towlower): Likewise.
(__towupper): Likewise.

492 files changed:
ChangeLog
crypt/cert.c
crypt/crypt-entry.c
crypt/crypt_util.c
crypt/md5.c
crypt/sha256.c
crypt/sha512.c
ctype/isctype.c
debug/backtrace.c
debug/backtracesymsfd.c
debug/fgets_chk.c
debug/fgets_u_chk.c
debug/memcpy_chk.c
debug/memmove_chk.c
debug/mempcpy_chk.c
debug/memset_chk.c
debug/strcat_chk.c
debug/strncat_chk.c
debug/strncpy_chk.c
debug/vsprintf_chk.c
dirent/dirfd.c
dirent/getdents.c
dirent/getdents64.c
dirent/rewinddir.c
dirent/seekdir.c
dirent/telldir.c
elf/sln.c
gmon/gmon.c
grp/setgroups.c
inet/inet_lnaof.c
inet/inet_net.c
inet/inet_netof.c
inet/rcmd.c
io/access.c
io/chdir.c
io/chmod.c
io/chown.c
io/close.c
io/creat.c
io/creat64.c
io/dup.c
io/dup2.c
io/dup3.c
io/euidaccess.c
io/faccessat.c
io/fchmod.c
io/fchmodat.c
io/fchown.c
io/fchownat.c
io/fcntl.c
io/flock.c
io/fts.c
io/getwd.c
io/isatty.c
io/lchown.c
io/link.c
io/linkat.c
io/lseek.c
io/mkdir.c
io/mkdirat.c
io/mkfifo.c
io/mkfifoat.c
io/open.c
io/open64.c
io/readlink.c
io/readlinkat.c
io/rmdir.c
io/symlink.c
io/symlinkat.c
io/ttyname.c
io/ttyname_r.c
io/umask.c
io/unlink.c
io/unlinkat.c
io/utime.c
libio/clearerr.c
libio/clearerr_u.c
libio/feof.c
libio/feof_u.c
libio/ferror.c
libio/ferror_u.c
libio/filedoalloc.c
libio/fileno.c
libio/fputc.c
libio/fputc_u.c
libio/fputwc.c
libio/fputwc_u.c
libio/freopen.c
libio/freopen64.c
libio/fseek.c
libio/fseeko.c
libio/fseeko64.c
libio/ftello.c
libio/ftello64.c
libio/fwide.c
libio/genops.c
libio/getc.c
libio/getwc.c
libio/iofclose.c
libio/iofdopen.c
libio/iofflush.c
libio/iofflush_u.c
libio/iofgetpos.c
libio/iofgetpos64.c
libio/iofgets.c
libio/iofgets_u.c
libio/iofgetws.c
libio/iofgetws_u.c
libio/iofopen64.c
libio/iofopncook.c
libio/iofputs.c
libio/iofputs_u.c
libio/iofputws.c
libio/iofputws_u.c
libio/iofread.c
libio/iofread_u.c
libio/iofsetpos.c
libio/iofsetpos64.c
libio/ioftell.c
libio/iofwrite.c
libio/iogetdelim.c
libio/iogets.c
libio/iopadn.c
libio/iopopen.c
libio/ioputs.c
libio/ioseekoff.c
libio/ioseekpos.c
libio/iosetbuffer.c
libio/iosetvbuf.c
libio/ioungetc.c
libio/ioungetwc.c
libio/iovdprintf.c
libio/iovsscanf.c
libio/iowpadn.c
libio/libc_fatal.c
libio/memstream.c
libio/oldfileops.c
libio/oldiofclose.c
libio/oldiofdopen.c
libio/oldiofgetpos.c
libio/oldiofgetpos64.c
libio/oldiofopen.c
libio/oldiofsetpos.c
libio/oldiofsetpos64.c
libio/oldiopopen.c
libio/oldpclose.c
libio/pclose.c
libio/peekc.c
libio/putc.c
libio/putc_u.c
libio/putchar.c
libio/putchar_u.c
libio/putwc.c
libio/putwc_u.c
libio/putwchar.c
libio/putwchar_u.c
libio/rewind.c
libio/setbuf.c
libio/setlinebuf.c
libio/vasprintf.c
libio/vscanf.c
libio/vsnprintf.c
libio/vswprintf.c
libio/wfiledoalloc.c
libio/wgenops.c
libio/wmemstream.c
locale/nl_langinfo.c
locale/nl_langinfo_l.c
locale/programs/simple-hash.c
locale/programs/xmalloc.c
locale/programs/xstrdup.c
localedata/collate-test.c
localedata/xfrm-test.c
login/getlogin_r.c
login/getpt.c
login/login_tty.c
login/setlogin.c
mach/msg-destroy.c
malloc/mcheck.c
misc/acct.c
misc/brk.c
misc/chflags.c
misc/chroot.c
misc/fchflags.c
misc/fstab.c
misc/fsync.c
misc/ftruncate.c
misc/ftruncate64.c
misc/getdomain.c
misc/gethostname.c
misc/getpass.c
misc/getttyent.c
misc/gtty.c
misc/hsearch.c
misc/hsearch_r.c
misc/ioctl.c
misc/mkdtemp.c
misc/mkostemp.c
misc/mkostemp64.c
misc/mkostemps.c
misc/mkostemps64.c
misc/mkstemp.c
misc/mkstemp64.c
misc/mkstemps.c
misc/mkstemps64.c
misc/mktemp.c
misc/preadv.c
misc/preadv64.c
misc/pwritev.c
misc/pwritev64.c
misc/readv.c
misc/revoke.c
misc/setdomain.c
misc/setegid.c
misc/seteuid.c
misc/sethostid.c
misc/sethostname.c
misc/setregid.c
misc/setreuid.c
misc/sstk.c
misc/stty.c
misc/syscall.c
misc/syslog.c
misc/truncate.c
misc/truncate64.c
misc/ualarm.c
misc/usleep.c
misc/ustat.c
misc/writev.c
nptl/cleanup_compat.c
nptl/old_pthread_cond_broadcast.c
nptl/old_pthread_cond_destroy.c
nptl/old_pthread_cond_signal.c
nptl/old_pthread_cond_wait.c
nptl/pt-raise.c
nptl/pthread_barrier_destroy.c
nptl/pthread_barrier_wait.c
nptl/pthread_barrierattr_destroy.c
nptl/pthread_barrierattr_init.c
nptl/pthread_barrierattr_setpshared.c
nptl/pthread_cond_broadcast.c
nptl/pthread_cond_destroy.c
nptl/pthread_cond_init.c
nptl/pthread_cond_signal.c
nptl/pthread_condattr_destroy.c
nptl/pthread_condattr_getclock.c
nptl/pthread_condattr_getpshared.c
nptl/pthread_condattr_init.c
nptl/pthread_condattr_setpshared.c
nptl/pthread_detach.c
nptl/pthread_equal.c
nptl/pthread_getcpuclockid.c
nptl/pthread_getspecific.c
nptl/pthread_key_delete.c
nptl/pthread_mutex_consistent.c
nptl/pthread_mutex_destroy.c
nptl/pthread_mutex_getprioceiling.c
nptl/pthread_mutexattr_destroy.c
nptl/pthread_mutexattr_getprotocol.c
nptl/pthread_mutexattr_getpshared.c
nptl/pthread_mutexattr_getrobust.c
nptl/pthread_mutexattr_gettype.c
nptl/pthread_mutexattr_init.c
nptl/pthread_mutexattr_setprioceiling.c
nptl/pthread_mutexattr_setprotocol.c
nptl/pthread_mutexattr_setpshared.c
nptl/pthread_mutexattr_setrobust.c
nptl/pthread_mutexattr_settype.c
nptl/pthread_rwlock_destroy.c
nptl/pthread_rwlockattr_destroy.c
nptl/pthread_rwlockattr_getkind_np.c
nptl/pthread_rwlockattr_getpshared.c
nptl/pthread_rwlockattr_init.c
nptl/pthread_rwlockattr_setkind_np.c
nptl/pthread_rwlockattr_setpshared.c
nptl/pthread_setcancelstate.c
nptl/pthread_setcanceltype.c
nptl/pthread_setconcurrency.c
nptl/pthread_setschedprio.c
nptl/pthread_setspecific.c
nptl/pthread_spin_destroy.c
nptl/pthread_tryjoin.c
nptl/sem_close.c
nptl/sem_destroy.c
nptl/sem_init.c
nptl/sigaction.c
nptl/unregister-atfork.c
posix/_exit.c
posix/alarm.c
posix/confstr.c
posix/fpathconf.c
posix/getgroups.c
posix/getpgid.c
posix/group_member.c
posix/pathconf.c
posix/sched_getaffinity.c
posix/sched_setaffinity.c
posix/setgid.c
posix/setpgid.c
posix/setuid.c
posix/sleep.c
posix/sysconf.c
posix/times.c
posix/uname.c
posix/waitid.c
pwd/getpw.c
resolv/base64.c
resolv/gai_sigqueue.c
resolv/gethnamaddr.c
resolv/inet_net_ntop.c
resolv/inet_neta.c
resolv/inet_ntop.c
resolv/inet_pton.c
resolv/res_debug.c
resource/getpriority.c
resource/getrusage.c
resource/nice.c
resource/setpriority.c
resource/setrlimit64.c
resource/vlimit.c
resource/vtimes.c
rt/aio_error.c
rt/aio_return.c
rt/aio_sigqueue.c
signal/kill.c
signal/killpg.c
signal/raise.c
signal/sigaction.c
signal/sigaddset.c
signal/sigaltstack.c
signal/sigandset.c
signal/sigblock.c
signal/sigdelset.c
signal/sigempty.c
signal/sigfillset.c
signal/sighold.c
signal/sigignore.c
signal/sigintr.c
signal/sigisempty.c
signal/sigismem.c
signal/signal.c
signal/sigorset.c
signal/sigpause.c
signal/sigpending.c
signal/sigprocmask.c
signal/sigrelse.c
signal/sigreturn.c
signal/sigset.c
signal/sigsetmask.c
signal/sigstack.c
signal/sigsuspend.c
signal/sigvec.c
signal/sysv_signal.c
socket/accept.c
socket/accept4.c
socket/bind.c
socket/connect.c
socket/getpeername.c
socket/getsockname.c
socket/getsockopt.c
socket/listen.c
socket/recv.c
socket/recvmsg.c
socket/send.c
socket/sendmsg.c
socket/shutdown.c
socket/sockatmark.c
socket/socket.c
stdio-common/ctermid.c
stdio-common/cuserid.c
stdio-common/printf-prs.c
stdio-common/remove.c
stdio-common/rename.c
stdio-common/renameat.c
stdio-common/tempname.c
stdio-common/xbug.c
stdlib/a64l.c
stdlib/drand48_r.c
stdlib/getcontext.c
stdlib/getenv.c
stdlib/l64a.c
stdlib/llabs.c
stdlib/lldiv.c
stdlib/lrand48_r.c
stdlib/mrand48_r.c
stdlib/putenv.c
stdlib/random.c
stdlib/random_r.c
stdlib/secure-getenv.c
stdlib/setcontext.c
stdlib/setenv.c
stdlib/srand48.c
stdlib/srand48_r.c
stdlib/swapcontext.c
stdlib/system.c
stdlib/tst-strtod.c
stdlib/tst-strtol.c
stdlib/tst-strtoll.c
streams/fattach.c
streams/fdetach.c
streams/getmsg.c
streams/isastream.c
string/ffs.c
string/ffsll.c
string/memcmp.c
string/memcpy.c
string/memmove.c
string/memset.c
string/rawmemchr.c
string/strchrnul.c
string/strerror.c
string/strndup.c
string/strverscmp.c
sunrpc/clnt_raw.c
sunrpc/clnt_tcp.c
sunrpc/clnt_unix.c
sunrpc/pmap_prot.c
sunrpc/pmap_prot2.c
sunrpc/pmap_rmt.c
sunrpc/rpc_prot.c
sunrpc/rpcinfo.c
sunrpc/svc_raw.c
sunrpc/svc_udp.c
sunrpc/xdr.c
sunrpc/xdr_float.c
sunrpc/xdr_mem.c
sunrpc/xdr_ref.c
sysvipc/ftok.c
sysvipc/msgctl.c
sysvipc/msgget.c
sysvipc/msgrcv.c
sysvipc/msgsnd.c
sysvipc/semget.c
sysvipc/semop.c
sysvipc/shmat.c
sysvipc/shmctl.c
sysvipc/shmdt.c
sysvipc/shmget.c
termios/cfmakeraw.c
termios/speed.c
termios/tcflow.c
termios/tcflush.c
termios/tcgetattr.c
termios/tcgetpgrp.c
termios/tcgetsid.c
termios/tcsendbrk.c
termios/tcsetpgrp.c
time/adjtime.c
time/dysize.c
time/ftime.c
time/getitimer.c
time/gettimeofday.c
time/gmtime.c
time/localtime.c
time/offtime.c
time/settimeofday.c
time/stime.c
time/strftime_l.c
time/strptime.c
time/time.c
time/timespec_get.c
time/tzset.c
wcsmbs/btowc.c
wcsmbs/mbrlen.c
wcsmbs/mbsinit.c
wcsmbs/mbsrtowcs.c
wcsmbs/wcpcpy.c
wcsmbs/wcpncpy.c
wcsmbs/wcscat.c
wcsmbs/wcschrnul.c
wcsmbs/wcscmp.c
wcsmbs/wcscpy.c
wcsmbs/wcscspn.c
wcsmbs/wcsdup.c
wcsmbs/wcslen.c
wcsmbs/wcsncat.c
wcsmbs/wcsncmp.c
wcsmbs/wcsncpy.c
wcsmbs/wcsnlen.c
wcsmbs/wcspbrk.c
wcsmbs/wcsrchr.c
wcsmbs/wcsspn.c
wcsmbs/wcsstr.c
wcsmbs/wcstok.c
wcsmbs/wctob.c
wcsmbs/wmemchr.c
wcsmbs/wmemcmp.c
wcsmbs/wmemcpy.c
wcsmbs/wmemmove.c
wcsmbs/wmempcpy.c
wcsmbs/wmemset.c
wctype/wcfuncs.c

index 3e35f81abdec83a9e09268e2c7ded93b3ee004b4..2de4c4652ebb4d31e1cb79313ae5c529dd1957ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,748 @@
 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
 
+       * crypt/cert.c (good_bye): Convert to prototype-style function
+       definition.
+       (get8): Likewise.
+       (put8): Likewise.
+       * crypt/crypt-entry.c (crypt): Likewise.
+       (__fcrypt): Likewise.
+       * crypt/crypt_util.c (_ufc_prbits): Likewise.
+       (_ufc_set_bits): Likewise.
+       (_ufc_clearmem): Likewise.
+       (__init_des_r): Likewise.
+       (shuffle_sb): Likewise.
+       (shuffle_sb): Likewise.
+       (_ufc_setup_salt_r): Likewise.
+       (_ufc_mk_keytab_r): Likewise.
+       (_ufc_dofinalperm_r): Likewise.
+       (encrypt): Likewise.
+       (__setkey_r): Likewise.
+       (setkey): Likewise.
+       * crypt/md5.c (md5_init_ctx): Likewise.
+       (md5_read_ctx): Likewise.
+       (md5_finish_ctx): Likewise.
+       (md5_stream): Likewise.
+       (md5_buffer): Likewise.
+       (md5_process_bytes): Likewise.
+       * crypt/sha256.c (__sha256_init_ctx): Likewise.
+       (__sha256_finish_ctx): Likewise.
+       (__sha256_process_bytes): Likewise.
+       * crypt/sha512.c (__sha512_init_ctx): Likewise.
+       (__sha512_finish_ctx): Likewise.
+       (__sha512_process_bytes): Likewise.
+       * ctype/isctype.c (__isctype): Likewise.
+       * debug/backtrace.c (__backtrace): Likewise.
+       * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
+       * debug/fgets_chk.c (__fgets_chk): Likewise.
+       * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
+       * debug/memcpy_chk.c (__memcpy_chk): Likewise.
+       * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
+       * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
+       * debug/memset_chk.c (__memset_chk): Likewise.
+       * debug/strcat_chk.c (__strcat_chk): Likewise.
+       * debug/strncat_chk.c (__strncat_chk): Likewise.
+       * debug/strncpy_chk.c (__strncpy_chk): Likewise.
+       * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
+       * dirent/dirfd.c (dirfd): Likewise.
+       * dirent/getdents.c (__getdirentries): Likewise.
+       * dirent/getdents64.c (getdirentries64): Likewise.
+       * dirent/rewinddir.c (__rewinddir): Likewise.
+       * dirent/seekdir.c (seekdir): Likewise.
+       * dirent/telldir.c (telldir): Likewise.
+       * elf/sln.c (makesymlinks): Likewise.
+       (makesymlink): Likewise.
+       * gmon/gmon.c (__moncontrol): Likewise.
+       (__monstartup): Likewise.
+       (write_hist): Likewise.
+       (write_call_graph): Likewise.
+       (write_bb_counts): Likewise.
+       * grp/setgroups.c (setgroups): Likewise.
+       * inet/inet_lnaof.c (inet_lnaof): Likewise.
+       * inet/inet_net.c (inet_network): Likewise.
+       * inet/inet_netof.c (inet_netof): Likewise.
+       * inet/rcmd.c (rresvport_af): Likewise.
+       (rresvport): Likewise.
+       * io/access.c (__access): Likewise.
+       * io/chdir.c (__chdir): Likewise.
+       * io/chmod.c (__chmod): Likewise.
+       * io/chown.c (__chown): Likewise.
+       * io/close.c (__close): Likewise.
+       * io/creat.c (creat): Likewise.
+       * io/creat64.c (creat64): Likewise.
+       * io/dup.c (__dup): Likewise.
+       * io/dup2.c (__dup2): Likewise.
+       * io/dup3.c (__dup3): Likewise.
+       * io/euidaccess.c (__euidaccess): Likewise.
+       * io/faccessat.c (faccessat): Likewise.
+       * io/fchmod.c (__fchmod): Likewise.
+       * io/fchmodat.c (fchmodat): Likewise.
+       * io/fchown.c (__fchown): Likewise.
+       * io/fchownat.c (fchownat): Likewise.
+       * io/fcntl.c (__fcntl): Likewise.
+       * io/flock.c (__flock): Likewise.
+       * io/fts.c (fts_load): Likewise.
+       (fts_close): Likewise.
+       (fts_read): Likewise.
+       (fts_set): Likewise.
+       (fts_children): Likewise.
+       (fts_build): Likewise.
+       (fts_stat): Likewise.
+       (fts_sort): Likewise.
+       (fts_alloc): Likewise.
+       (fts_lfree): Likewise.
+       (fts_palloc): Likewise.
+       (fts_padjust): Likewise.
+       (fts_maxarglen): Likewise.
+       (fts_safe_changedir): Likewise.
+       * io/getwd.c (getwd): Likewise.
+       * io/isatty.c (__isatty): Likewise.
+       * io/lchown.c (__lchown): Likewise.
+       * io/link.c (__link): Likewise.
+       * io/linkat.c (linkat): Likewise.
+       * io/lseek.c (__libc_lseek): Likewise.
+       * io/mkdir.c (__mkdir): Likewise.
+       * io/mkdirat.c (mkdirat): Likewise.
+       * io/mkfifo.c (mkfifo): Likewise.
+       * io/mkfifoat.c (mkfifoat): Likewise.
+       * io/open.c (__libc_open): Likewise.
+       * io/open64.c (__libc_open64): Likewise.
+       * io/readlink.c (__readlink): Likewise.
+       * io/readlinkat.c (readlinkat): Likewise.
+       * io/rmdir.c (__rmdir): Likewise.
+       * io/symlink.c (__symlink): Likewise.
+       * io/symlinkat.c (symlinkat): Likewise.
+       * io/ttyname.c (ttyname): Likewise.
+       * io/ttyname_r.c (__ttyname_r): Likewise.
+       * io/umask.c (__umask): Likewise.
+       * io/unlink.c (__unlink): Likewise.
+       * io/unlinkat.c (unlinkat): Likewise.
+       * io/utime.c (utime): Likewise.
+       * libio/clearerr.c (clearerr): Likewise.
+       * libio/clearerr_u.c (clearerr_unlocked): Likewise.
+       * libio/feof.c (_IO_feof): Likewise.
+       * libio/feof_u.c (feof_unlocked): Likewise.
+       * libio/ferror.c (_IO_ferror): Likewise.
+       * libio/ferror_u.c (ferror_unlocked): Likewise.
+       * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
+       * libio/fileno.c (__fileno): Likewise.
+       * libio/fputc.c (fputc): Likewise.
+       * libio/fputc_u.c (fputc_unlocked): Likewise.
+       * libio/fputwc.c (fputwc): Likewise.
+       * libio/fputwc_u.c (fputwc_unlocked): Likewise.
+       * libio/freopen.c (freopen): Likewise.
+       * libio/freopen64.c (freopen64): Likewise.
+       * libio/fseek.c (fseek): Likewise.
+       * libio/fseeko.c (fseeko): Likewise.
+       * libio/fseeko64.c (fseeko64): Likewise.
+       * libio/ftello.c (__ftello): Likewise.
+       * libio/ftello64.c (ftello64): Likewise.
+       * libio/fwide.c (fwide): Likewise.
+       * libio/genops.c (_IO_un_link): Likewise.
+       (_IO_link_in): Likewise.
+       (_IO_least_marker): Likewise.
+       (_IO_switch_to_main_get_area): Likewise.
+       (_IO_switch_to_backup_area): Likewise.
+       (_IO_switch_to_get_mode): Likewise.
+       (_IO_free_backup_area): Likewise.
+       (_IO_switch_to_put_mode): Likewise.
+       (__overflow): Likewise.
+       (__underflow): Likewise.
+       (__uflow): Likewise.
+       (_IO_setb): Likewise.
+       (_IO_doallocbuf): Likewise.
+       (_IO_default_underflow): Likewise.
+       (_IO_default_uflow): Likewise.
+       (_IO_default_xsputn): Likewise.
+       (_IO_sgetn): Likewise.
+       (_IO_default_xsgetn): Likewise.
+       (_IO_sync): Likewise.
+       (_IO_default_setbuf): Likewise.
+       (_IO_default_seekpos): Likewise.
+       (_IO_default_doallocate): Likewise.
+       (_IO_init): Likewise.
+       (_IO_old_init): Likewise.
+       (_IO_default_sync): Likewise.
+       (_IO_default_finish): Likewise.
+       (_IO_default_seekoff): Likewise.
+       (_IO_sputbackc): Likewise.
+       (_IO_sungetc): Likewise.
+       (_IO_set_column): Likewise.
+       (_IO_set_column): Likewise.
+       (_IO_adjust_column): Likewise.
+       (_IO_get_column): Likewise.
+       (_IO_init_marker): Likewise.
+       (_IO_remove_marker): Likewise.
+       (_IO_marker_difference): Likewise.
+       (_IO_marker_delta): Likewise.
+       (_IO_seekmark): Likewise.
+       (_IO_unsave_markers): Likewise.
+       (_IO_nobackup_pbackfail): Likewise.
+       (_IO_default_pbackfail): Likewise.
+       (_IO_default_seek): Likewise.
+       (_IO_default_stat): Likewise.
+       (_IO_default_read): Likewise.
+       (_IO_default_write): Likewise.
+       (_IO_default_showmanyc): Likewise.
+       (_IO_default_imbue): Likewise.
+       (_IO_iter_next): Likewise.
+       (_IO_iter_file): Likewise.
+       * libio/getc.c (_IO_getc): Likewise.
+       * libio/getwc.c (_IO_getwc): Likewise.
+       * libio/iofclose.c (_IO_new_fclose): Likewise.
+       * libio/iofdopen.c (_IO_new_fdopen): Likewise.
+       * libio/iofflush.c (_IO_fflush): Likewise.
+       * libio/iofflush_u.c (__fflush_unlocked): Likewise.
+       * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
+       * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
+       * libio/iofgets.c (_IO_fgets): Likewise.
+       * libio/iofgets_u.c (__fgets_unlocked): Likewise.
+       * libio/iofgetws.c (fgetws): Likewise.
+       * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
+       * libio/iofopen64.c (_IO_fopen64): Likewise.
+       * libio/iofopncook.c (_IO_cookie_read): Likewise.
+       (_IO_cookie_write): Likewise.
+       (_IO_cookie_seek): Likewise.
+       (_IO_cookie_close): Likewise.
+       (_IO_cookie_seekoff): Likewise.
+       (_IO_old_cookie_seek): Likewise.
+       * libio/iofputs.c (_IO_fputs): Likewise.
+       * libio/iofputs_u.c (__fputs_unlocked): Likewise.
+       * libio/iofputws.c (fputws): Likewise.
+       * libio/iofputws_u.c (fputws_unlocked): Likewise.
+       * libio/iofread.c (_IO_fread): Likewise.
+       * libio/iofread_u.c (__fread_unlocked): Likewise.
+       * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
+       * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
+       * libio/ioftell.c (_IO_ftell): Likewise.
+       * libio/iofwrite.c (_IO_fwrite): Likewise.
+       * libio/iogetdelim.c (_IO_getdelim): Likewise.
+       * libio/iogets.c (_IO_gets): Likewise.
+       * libio/iopadn.c (_IO_padn): Likewise.
+       * libio/iopopen.c (_IO_new_proc_open): Likewise.
+       (_IO_new_popen): Likewise.
+       (_IO_new_proc_close): Likewise.
+       * libio/ioputs.c (_IO_puts): Likewise.
+       * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
+       (_IO_seekoff): Likewise.
+       * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
+       (_IO_seekpos): Likewise.
+       * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
+       * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
+       * libio/ioungetc.c (_IO_ungetc): Likewise.
+       * libio/ioungetwc.c (ungetwc): Likewise.
+       * libio/iovdprintf.c (_IO_vdprintf): Likewise.
+       * libio/iovsscanf.c (_IO_vsscanf): Likewise.
+       * libio/iowpadn.c (_IO_wpadn): Likewise.
+       * libio/libc_fatal.c (__libc_fatal): Likewise.
+       * libio/memstream.c (__open_memstream): Likewise.
+       (_IO_mem_sync): Likewise.
+       (_IO_mem_finish): Likewise.
+       * libio/oldfileops.c (_IO_old_file_init): Likewise.
+       (_IO_old_file_close_it): Likewise.
+       (_IO_old_file_finish): Likewise.
+       (_IO_old_file_fopen): Likewise.
+       (_IO_old_file_attach): Likewise.
+       (_IO_old_file_setbuf): Likewise.
+       (_IO_old_do_write): Likewise.
+       (old_do_write): Likewise.
+       (_IO_old_file_underflow): Likewise.
+       (_IO_old_file_overflow): Likewise.
+       (_IO_old_file_sync): Likewise.
+       (_IO_old_file_seekoff): Likewise.
+       (_IO_old_file_write): Likewise.
+       (_IO_old_file_xsputn): Likewise.
+       * libio/oldiofclose.c (_IO_old_fclose): Likewise.
+       * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
+       * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
+       * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
+       * libio/oldiofopen.c (_IO_old_fopen): Likewise.
+       * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
+       * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
+       * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
+       (_IO_old_popen): Likewise.
+       (_IO_old_proc_close): Likewise.
+       * libio/oldpclose.c (__old_pclose): Likewise.
+       * libio/pclose.c (__new_pclose): Likewise.
+       * libio/peekc.c (_IO_peekc_locked): Likewise.
+       * libio/putc.c (_IO_putc): Likewise.
+       * libio/putc_u.c (putc_unlocked): Likewise.
+       * libio/putchar.c (putchar): Likewise.
+       * libio/putchar_u.c (putchar_unlocked): Likewise.
+       * libio/putwc.c (putwc): Likewise.
+       * libio/putwc_u.c (putwc_unlocked): Likewise.
+       * libio/putwchar.c (putwchar): Likewise.
+       * libio/putwchar_u.c (putwchar_unlocked): Likewise.
+       * libio/rewind.c (rewind): Likewise.
+       * libio/setbuf.c (setbuf): Likewise.
+       * libio/setlinebuf.c (setlinebuf): Likewise.
+       * libio/vasprintf.c (_IO_vasprintf): Likewise.
+       * libio/vscanf.c (_IO_vscanf): Likewise.
+       * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
+       * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
+       * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
+       * libio/wgenops.c (_IO_least_wmarker): Likewise.
+       (_IO_switch_to_main_wget_area): Likewise.
+       (_IO_switch_to_wbackup_area): Likewise.
+       (_IO_wsetb): Likewise.
+       (_IO_wdefault_pbackfail): Likewise.
+       (_IO_wdefault_finish): Likewise.
+       (_IO_wdefault_uflow): Likewise.
+       (__woverflow): Likewise.
+       (__wuflow): Likewise.
+       (__wunderflow): Likewise.
+       (_IO_wdefault_xsputn): Likewise.
+       (_IO_wdefault_xsgetn): Likewise.
+       (_IO_wdoallocbuf): Likewise.
+       (_IO_wdefault_doallocate): Likewise.
+       (_IO_switch_to_wget_mode): Likewise.
+       (_IO_free_wbackup_area): Likewise.
+       (_IO_switch_to_wput_mode): Likewise.
+       (_IO_sputbackwc): Likewise.
+       (_IO_sungetwc): Likewise.
+       (_IO_adjust_wcolumn): Likewise.
+       (_IO_init_wmarker): Likewise.
+       (_IO_wmarker_delta): Likewise.
+       (_IO_seekwmark): Likewise.
+       (_IO_unsave_wmarkers): Likewise.
+       * libio/wmemstream.c (open_wmemstream): Likewise.
+       (_IO_wmem_sync): Likewise.
+       (_IO_wmem_finish): Likewise.
+       * locale/nl_langinfo.c (nl_langinfo): Likewise.
+       * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
+       * locale/programs/simple-hash.c (init_hash): Likewise.
+       (delete_hash): Likewise.
+       (insert_entry): Likewise.
+       (set_entry): Likewise.
+       (next_prime): Likewise.
+       (is_prime): Likewise.
+       * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
+       (xmalloc): Likewise.
+       (xrealloc): Likewise.
+       * locale/programs/xstrdup.c (xstrdup): Likewise.
+       * localedata/collate-test.c (xstrcoll): Likewise.
+       * localedata/xfrm-test.c (xstrcmp): Likewise.
+       * login/getlogin_r.c (__getlogin_r): Likewise.
+       * login/getpt.c (__posix_openpt): Likewise.
+       * login/login_tty.c (login_tty): Likewise.
+       * login/setlogin.c (setlogin): Likewise.
+       * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
+       (mach_msg_destroy_port): Likewise.
+       (mach_msg_destroy_memory): Likewise.
+       * malloc/mcheck.c (flood): Likewise.
+       * misc/acct.c (acct): Likewise.
+       * misc/brk.c (__brk): Likewise.
+       * misc/chflags.c (chflags): Likewise.
+       * misc/chroot.c (chroot): Likewise.
+       * misc/fchflags.c (fchflags): Likewise.
+       * misc/fstab.c (getfsspec): Likewise.
+       (getfsfile): Likewise.
+       * misc/fsync.c (fsync): Likewise.
+       * misc/ftruncate.c (__ftruncate): Likewise.
+       * misc/ftruncate64.c (__ftruncate64): Likewise.
+       * misc/getdomain.c (getdomainname): Likewise.
+       (getdomainname): Likewise.
+       * misc/gethostname.c (__gethostname): Likewise.
+       * misc/getpass.c (getpass): Likewise.
+       * misc/getttyent.c (skip): Likewise.
+       (value): Likewise.
+       * misc/gtty.c (gtty): Likewise.
+       * misc/hsearch.c (hsearch): Likewise.
+       (hcreate): Likewise.
+       * misc/hsearch_r.c (__hcreate_r): Likewise.
+       (__hdestroy_r): Likewise.
+       * misc/ioctl.c (__ioctl): Likewise.
+       * misc/mkdtemp.c (mkdtemp): Likewise.
+       * misc/mkostemp.c (mkostemp): Likewise.
+       * misc/mkostemp64.c (mkostemp64): Likewise.
+       * misc/mkostemps.c (mkostemps): Likewise.
+       * misc/mkostemps64.c (mkostemps64): Likewise.
+       * misc/mkstemp.c (mkstemp): Likewise.
+       * misc/mkstemp64.c (mkstemp64): Likewise.
+       * misc/mkstemps.c (mkstemps): Likewise.
+       * misc/mkstemps64.c (mkstemps64): Likewise.
+       * misc/mktemp.c (__mktemp): Likewise.
+       * misc/preadv.c (preadv): Likewise.
+       * misc/preadv64.c (preadv64): Likewise.
+       * misc/pwritev.c (pwritev): Likewise.
+       * misc/pwritev64.c (pwritev64): Likewise.
+       * misc/readv.c (__readv): Likewise.
+       * misc/revoke.c (revoke): Likewise.
+       * misc/setdomain.c (setdomainname): Likewise.
+       * misc/setegid.c (setegid): Likewise.
+       * misc/seteuid.c (seteuid): Likewise.
+       * misc/sethostid.c (sethostid): Likewise.
+       * misc/sethostname.c (sethostname): Likewise.
+       * misc/setregid.c (__setregid): Likewise.
+       * misc/setreuid.c (__setreuid): Likewise.
+       * misc/sstk.c (sstk): Likewise.
+       * misc/stty.c (stty): Likewise.
+       * misc/syscall.c (syscall): Likewise.
+       * misc/syslog.c (setlogmask): Likewise.
+       * misc/truncate.c (__truncate): Likewise.
+       * misc/truncate64.c (truncate64): Likewise.
+       * misc/ualarm.c (ualarm): Likewise.
+       * misc/usleep.c (usleep): Likewise.
+       * misc/ustat.c (ustat): Likewise.
+       * misc/writev.c (__writev): Likewise.
+       * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
+       * nptl/old_pthread_cond_broadcast.c
+       (__pthread_cond_broadcast_2_0): Likewise.
+       * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
+       Likewise.
+       * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
+       Likewise.
+       * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
+       Likewise.
+       * nptl/pt-raise.c (raise): Likewise.
+       * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
+       Likewise.
+       * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
+       * nptl/pthread_barrierattr_destroy.c
+       (pthread_barrierattr_destroy): Likewise.
+       * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
+       Likewise.
+       * nptl/pthread_barrierattr_setpshared.c
+       (pthread_barrierattr_setpshared): Likewise.
+       * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
+       Likewise.
+       * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
+       * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
+       * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
+       * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
+       Likewise.
+       * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
+       Likewise.
+       * nptl/pthread_condattr_getpshared.c
+       (pthread_condattr_getpshared): Likewise.
+       * nptl/pthread_condattr_init.c (__pthread_condattr_init):
+       Likewise.
+       * nptl/pthread_condattr_setpshared.c
+       (pthread_condattr_setpshared): Likewise.
+       * nptl/pthread_detach.c (pthread_detach): Likewise.
+       * nptl/pthread_equal.c (__pthread_equal): Likewise.
+       * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
+       * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
+       * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
+       * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
+       Likewise.
+       * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
+       Likewise.
+       * nptl/pthread_mutex_getprioceiling.c
+       (pthread_mutex_getprioceiling): Likewise.
+       * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
+       Likewise.
+       * nptl/pthread_mutexattr_getprotocol.c
+       (pthread_mutexattr_getprotocol): Likewise.
+       * nptl/pthread_mutexattr_getpshared.c
+       (pthread_mutexattr_getpshared): Likewise.
+       * nptl/pthread_mutexattr_getrobust.c
+       (pthread_mutexattr_getrobust): Likewise.
+       * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
+       Likewise.
+       * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
+       Likewise.
+       * nptl/pthread_mutexattr_setprioceiling.c
+       (pthread_mutexattr_setprioceiling): Likewise.
+       * nptl/pthread_mutexattr_setprotocol.c
+       (pthread_mutexattr_setprotocol): Likewise.
+       * nptl/pthread_mutexattr_setpshared.c
+       (pthread_mutexattr_setpshared): Likewise.
+       * nptl/pthread_mutexattr_setrobust.c
+       (pthread_mutexattr_setrobust): Likewise.
+       * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
+       Likewise.
+       * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
+       Likewise.
+       * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
+       Likewise.
+       * nptl/pthread_rwlockattr_getkind_np.c
+       (pthread_rwlockattr_getkind_np): Likewise.
+       * nptl/pthread_rwlockattr_getpshared.c
+       (pthread_rwlockattr_getpshared): Likewise.
+       * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
+       Likewise.
+       * nptl/pthread_rwlockattr_setkind_np.c
+       (pthread_rwlockattr_setkind_np): Likewise.
+       * nptl/pthread_rwlockattr_setpshared.c
+       (pthread_rwlockattr_setpshared): Likewise.
+       * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
+       Likewise.
+       * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
+       Likewise.
+       * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
+       Likewise.
+       * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
+       * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
+       * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
+       * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
+       * nptl/sem_close.c (sem_close): Likewise.
+       * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
+       * nptl/sem_init.c (__old_sem_init): Likewise.
+       * nptl/sigaction.c (__sigaction): Likewise.
+       * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
+       * posix/_exit.c (_exit): Likewise.
+       * posix/alarm.c (alarm): Likewise.
+       * posix/confstr.c (confstr): Likewise.
+       * posix/fpathconf.c (__fpathconf): Likewise.
+       * posix/getgroups.c (__getgroups): Likewise.
+       * posix/getpgid.c (__getpgid): Likewise.
+       * posix/group_member.c (__group_member): Likewise.
+       * posix/pathconf.c (__pathconf): Likewise.
+       * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
+       * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
+       * posix/setgid.c (__setgid): Likewise.
+       * posix/setpgid.c (__setpgid): Likewise.
+       * posix/setuid.c (__setuid): Likewise.
+       * posix/sleep.c (__sleep): Likewise.
+       * posix/sysconf.c (__sysconf): Likewise.
+       * posix/times.c (__times): Likewise.
+       * posix/uname.c (__uname): Likewise.
+       * posix/waitid.c (__waitid): Likewise.
+       * pwd/getpw.c (__getpw): Likewise.
+       * resolv/base64.c (b64_pton): Likewise.
+       * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
+       * resolv/gethnamaddr.c (Dprintf): Likewise.
+       (gethostbyname): Likewise.
+       (gethostbyname2): Likewise.
+       (gethostbyaddr): Likewise.
+       (_sethtent): Likewise.
+       (_gethtbyname): Likewise.
+       (_gethtbyname2): Likewise.
+       (_gethtbyaddr): Likewise.
+       (map_v4v6_address): Likewise.
+       (map_v4v6_hostent): Likewise.
+       (addrsort): Likewise.
+       (ht_sethostent): Likewise.
+       (ht_gethostbyname): Likewise.
+       (ht_gethostbyaddr): Likewise.
+       * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
+       (inet_net_ntop_ipv4): Likewise.
+       * resolv/inet_neta.c (inet_neta): Likewise.
+       * resolv/inet_ntop.c (inet_ntop): Likewise.
+       (inet_ntop4): Likewise.
+       (inet_ntop6): Likewise.
+       * resolv/inet_pton.c (__inet_pton): Likewise.
+       (inet_pton4): Likewise.
+       (inet_pton6): Likewise.
+       * resolv/res_debug.c (loc_aton): Likewise.
+       (loc_ntoa): Likewise.
+       * resource/getpriority.c (__getpriority): Likewise.
+       * resource/getrusage.c (__getrusage): Likewise.
+       * resource/nice.c (nice): Likewise.
+       * resource/setpriority.c (__setpriority): Likewise.
+       * resource/setrlimit64.c (setrlimit64): Likewise.
+       * resource/vlimit.c (vlimit): Likewise.
+       * resource/vtimes.c (vtimes): Likewise.
+       * rt/aio_error.c (aio_error): Likewise.
+       * rt/aio_return.c (aio_return): Likewise.
+       * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
+       * signal/kill.c (__kill): Likewise.
+       * signal/killpg.c (killpg): Likewise.
+       * signal/raise.c (raise): Likewise.
+       * signal/sigaction.c (__sigaction): Likewise.
+       * signal/sigaddset.c (sigaddset): Likewise.
+       * signal/sigaltstack.c (sigaltstack): Likewise.
+       * signal/sigandset.c (sigandset): Likewise.
+       * signal/sigblock.c (__sigblock): Likewise.
+       * signal/sigdelset.c (sigdelset): Likewise.
+       * signal/sigempty.c (sigemptyset): Likewise.
+       * signal/sigfillset.c (sigfillset): Likewise.
+       * signal/sighold.c (sighold): Likewise.
+       * signal/sigignore.c (sigignore): Likewise.
+       * signal/sigintr.c (siginterrupt): Likewise.
+       * signal/sigisempty.c (sigisemptyset): Likewise.
+       * signal/sigismem.c (sigismember): Likewise.
+       * signal/signal.c (signal): Likewise.
+       * signal/sigorset.c (sigorset): Likewise.
+       * signal/sigpause.c (__sigpause): Likewise.
+       * signal/sigpending.c (sigpending): Likewise.
+       * signal/sigprocmask.c (__sigprocmask): Likewise.
+       * signal/sigrelse.c (sigrelse): Likewise.
+       * signal/sigreturn.c (__sigreturn): Likewise.
+       * signal/sigset.c (sigset): Likewise.
+       * signal/sigsetmask.c (__sigsetmask): Likewise.
+       * signal/sigstack.c (sigstack): Likewise.
+       * signal/sigsuspend.c (__sigsuspend): Likewise.
+       * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
+       * signal/sysv_signal.c (__sysv_signal): Likewise.
+       * socket/accept.c (accept): Likewise.
+       * socket/accept4.c (__libc_accept4): Likewise.
+       * socket/bind.c (__bind): Likewise.
+       * socket/connect.c (__connect): Likewise.
+       * socket/getpeername.c (getpeername): Likewise.
+       * socket/getsockname.c (__getsockname): Likewise.
+       * socket/getsockopt.c (getsockopt): Likewise.
+       * socket/listen.c (__listen): Likewise.
+       * socket/recv.c (__recv): Likewise.
+       * socket/recvmsg.c (__recvmsg): Likewise.
+       * socket/send.c (__send): Likewise.
+       * socket/sendmsg.c (__sendmsg): Likewise.
+       * socket/shutdown.c (shutdown): Likewise.
+       * socket/sockatmark.c (sockatmark): Likewise.
+       * socket/socket.c (__socket): Likewise.
+       * stdio-common/ctermid.c (ctermid): Likewise.
+       * stdio-common/cuserid.c (cuserid): Likewise.
+       * stdio-common/printf-prs.c (parse_printf_format): Likewise.
+       * stdio-common/remove.c (remove): Likewise.
+       * stdio-common/rename.c (rename): Likewise.
+       * stdio-common/renameat.c (renameat): Likewise.
+       * stdio-common/tempname.c (__gen_tempname): Likewise.
+       * stdio-common/xbug.c (InitBuffer): Likewise.
+       (AppendToBuffer): Likewise.
+       (ReadFile): Likewise.
+       * stdlib/a64l.c (a64l): Likewise.
+       * stdlib/drand48_r.c (drand48_r): Likewise.
+       * stdlib/getcontext.c (getcontext): Likewise.
+       * stdlib/getenv.c (getenv): Likewise.
+       * stdlib/l64a.c (l64a): Likewise.
+       * stdlib/llabs.c (llabs): Likewise.
+       * stdlib/lldiv.c (lldiv): Likewise.
+       * stdlib/lrand48_r.c (lrand48_r): Likewise.
+       * stdlib/mrand48_r.c (mrand48_r): Likewise.
+       * stdlib/putenv.c (putenv): Likewise.
+       * stdlib/random.c (__srandom): Likewise.
+       (__initstate): Likewise.
+       (__setstate): Likewise.
+       * stdlib/random_r.c (__srandom_r): Likewise.
+       (__setstate_r): Likewise.
+       (__random_r): Likewise.
+       * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
+       * stdlib/setcontext.c (setcontext): Likewise.
+       * stdlib/setenv.c (setenv): Likewise.
+       (unsetenv): Likewise.
+       * stdlib/srand48.c (srand48): Likewise.
+       * stdlib/srand48_r.c (__srand48_r): Likewise.
+       * stdlib/swapcontext.c (swapcontext): Likewise.
+       * stdlib/system.c (__libc_system): Likewise.
+       * stdlib/tst-strtod.c (expand): Likewise.
+       * stdlib/tst-strtol.c (expand): Likewise.
+       * stdlib/tst-strtoll.c (expand): Likewise.
+       * streams/fattach.c (fattach): Likewise.
+       * streams/fdetach.c (fdetach): Likewise.
+       * streams/getmsg.c (getmsg): Likewise.
+       * streams/isastream.c (isastream): Likewise.
+       * string/ffs.c (__ffs): Likewise.
+       * string/ffsll.c (ffsll): Likewise.
+       * string/memcmp.c (memcmp_common_alignment): Likewise.
+       (memcmp_not_common_alignment): Likewise.
+       (MEMCMP): Likewise.
+       * string/memcpy.c (memcpy): Likewise.
+       * string/memmove.c (MEMMOVE): Likewise.
+       * string/memset.c (memset): Likewise.
+       * string/rawmemchr.c (RAWMEMCHR): Likewise.
+       * string/strchrnul.c (STRCHRNUL): Likewise.
+       * string/strerror.c (strerror): Likewise.
+       * string/strndup.c (__strndup): Likewise.
+       * string/strverscmp.c (__strverscmp): Likewise.
+       * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
+       * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
+       (clnttcp_freeres): Likewise.
+       * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
+       * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
+       * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
+       * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
+       * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
+       (xdr_callhdr): Likewise.
+       * sunrpc/rpcinfo.c (udpping): Likewise.
+       (tcpping): Likewise.
+       (pstatus): Likewise.
+       (pmapdump): Likewise.
+       (brdcst): Likewise.
+       (deletereg): Likewise.
+       (getprognum): Likewise.
+       (getvers): Likewise.
+       (get_inet_address): Likewise.
+       * sunrpc/svc_raw.c (svcraw_recv): Likewise.
+       * sunrpc/svc_udp.c (svcudp_create): Likewise.
+       (svcudp_stat): Likewise.
+       (svcudp_recv): Likewise.
+       (svcudp_reply): Likewise.
+       (svcudp_getargs): Likewise.
+       (svcudp_freeargs): Likewise.
+       (svcudp_destroy): Likewise.
+       * sunrpc/xdr.c (xdr_bytes): Likewise.
+       (xdr_netobj): Likewise.
+       (xdr_string): Likewise.
+       (xdr_wrapstring): Likewise.
+       * sunrpc/xdr_float.c (xdr_float): Likewise.
+       (xdr_double): Likewise.
+       * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
+       * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
+       * sysvipc/ftok.c (ftok): Likewise.
+       * sysvipc/msgctl.c (msgctl): Likewise.
+       * sysvipc/msgget.c (msgget): Likewise.
+       * sysvipc/msgrcv.c (msgrcv): Likewise.
+       * sysvipc/msgsnd.c (msgsnd): Likewise.
+       * sysvipc/semget.c (semget): Likewise.
+       * sysvipc/semop.c (semop): Likewise.
+       * sysvipc/shmat.c (shmat): Likewise.
+       * sysvipc/shmctl.c (shmctl): Likewise.
+       * sysvipc/shmdt.c (shmdt): Likewise.
+       * sysvipc/shmget.c (shmget): Likewise.
+       * termios/cfmakeraw.c (cfmakeraw): Likewise.
+       * termios/speed.c (cfgetospeed): Likewise.
+       (cfgetispeed): Likewise.
+       (cfsetospeed): Likewise.
+       (cfsetispeed): Likewise.
+       * termios/tcflow.c (tcflow): Likewise.
+       * termios/tcflush.c (tcflush): Likewise.
+       * termios/tcgetattr.c (__tcgetattr): Likewise.
+       * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
+       * termios/tcgetsid.c (tcgetsid): Likewise.
+       * termios/tcsendbrk.c (tcsendbreak): Likewise.
+       * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
+       * time/adjtime.c (__adjtime): Likewise.
+       * time/dysize.c (dysize): Likewise.
+       * time/ftime.c (ftime): Likewise.
+       * time/getitimer.c (__getitimer): Likewise.
+       * time/gettimeofday.c (__gettimeofday): Likewise.
+       * time/gmtime.c (__gmtime_r): Likewise.
+       (gmtime): Likewise.
+       * time/localtime.c (__localtime_r): Likewise.
+       (localtime): Likewise.
+       * time/offtime.c (__offtime): Likewise.
+       * time/settimeofday.c (__settimeofday): Likewise.
+       * time/stime.c (stime): Likewise.
+       * time/strftime_l.c (tm_diff): Likewise.
+       (iso_week_days): Likewise.
+       * time/strptime.c (strptime): Likewise.
+       * time/time.c (time): Likewise.
+       * time/timespec_get.c (timespec_get): Likewise.
+       * time/tzset.c (tzset_internal): Likewise.
+       (compute_change): Likewise.
+       (__tz_compute): Likewise.
+       * wcsmbs/btowc.c (__btowc): Likewise.
+       * wcsmbs/mbrlen.c (__mbrlen): Likewise.
+       * wcsmbs/mbsinit.c (__mbsinit): Likewise.
+       * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
+       * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
+       * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
+       * wcsmbs/wcscat.c (__wcscat): Likewise.
+       * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
+       * wcsmbs/wcscmp.c (WCSCMP): Likewise.
+       * wcsmbs/wcscpy.c (WCSCPY): Likewise.
+       * wcsmbs/wcscspn.c (wcscspn): Likewise.
+       * wcsmbs/wcsdup.c (wcsdup): Likewise.
+       * wcsmbs/wcslen.c (__wcslen): Likewise.
+       * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
+       * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
+       * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
+       * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
+       * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
+       * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
+       * wcsmbs/wcsspn.c (wcsspn): Likewise.
+       * wcsmbs/wcsstr.c (wcsstr): Likewise.
+       * wcsmbs/wcstok.c (wcstok): Likewise.
+       * wcsmbs/wctob.c (wctob): Likewise.
+       * wcsmbs/wmemchr.c (__wmemchr): Likewise.
+       * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
+       * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
+       * wcsmbs/wmemmove.c (__wmemmove): Likewise.
+       * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
+       * wcsmbs/wmemset.c (__wmemset): Likewise.
+       * wctype/wcfuncs.c (__towlower): Likewise.
+       (__towupper): Likewise.
+
        * sysdeps/unix/sysv/linux/i386/lowlevellock.h
        (lll_unlock_elision): Add adapt_count parameter.
 
index 8c838e919ac9fd389e133fc72f776e98291c2eb0..d651108860f0052a8e48548536a338fcd5c46899 100644 (file)
@@ -17,7 +17,8 @@ void get8 (char *cp);
 void put8 (char *cp);
 void good_bye (void) __attribute__ ((noreturn));
 
-void good_bye ()
+void
+good_bye (void)
 {
   if(totfails == 0) {
     printf("Passed DES validation suite\n");
@@ -80,8 +81,7 @@ main(argc, argv)
        good_bye();
 }
 void
-get8(cp)
-char *cp;
+get8 (char *cp)
 {
        int i,j,t;
 
@@ -95,8 +95,7 @@ char *cp;
        }
 }
 void
-put8(cp)
-char *cp;
+put8 (char *cp)
 {
        int i,j,t;
 
index 7e655badfb3d7ad867c22f88f04238a3cadfdaf6..73b369c8c176976878c6b072fbc2921967a98e2e 100644 (file)
@@ -148,9 +148,7 @@ __crypt_r (key, salt, data)
 weak_alias (__crypt_r, crypt_r)
 
 char *
-crypt (key, salt)
-     const char *key;
-     const char *salt;
+crypt (const char *key, const char *salt)
 {
 #ifdef _LIBC
   /* Try to find out whether we have to use MD5 encryption replacement.  */
@@ -180,9 +178,7 @@ crypt (key, salt)
 weak_alias (crypt, fcrypt)
 #else
 char *
-__fcrypt (key, salt)
-     const char *key;
-     const char *salt;
+__fcrypt (const char *key, const char *salt)
 {
   return crypt (key, salt);
 }
index b96ecc8b6c46889471f36154e8643014fff7af94..33d894a968be20236a46f88e582a56a19e944fd9 100644 (file)
@@ -261,9 +261,7 @@ __libc_lock_define_initialized (static, _ufc_tables_lock)
 #ifdef DEBUG
 
 void
-_ufc_prbits(a, n)
-     ufc_long *a;
-     int n;
+_ufc_prbits (ufc_long *a, int n)
 {
   ufc_long i, j, t, tmp;
   n /= 8;
@@ -279,9 +277,7 @@ _ufc_prbits(a, n)
 }
 
 static void
-_ufc_set_bits(v, b)
-     ufc_long v;
-     ufc_long *b;
+_ufc_set_bits (ufc_long v, ufc_long *b)
 {
   ufc_long i;
   *b = 0;
@@ -301,9 +297,7 @@ _ufc_set_bits(v, b)
  */
 
 void
-_ufc_clearmem(start, cnt)
-     char *start;
-     int cnt;
+_ufc_clearmem (char *start, int cnt)
 {
   while(cnt--)
     *start++ = '\0';
@@ -332,8 +326,7 @@ _ufc_copymem(from, to, cnt)
  */
 
 void
-__init_des_r(__data)
-     struct crypt_data * __restrict __data;
+__init_des_r (struct crypt_data * __restrict __data)
 {
   int comes_from_bit;
   int bit, sg;
@@ -558,9 +551,7 @@ __init_des (void)
 
 #ifdef _UFC_32_
 STATIC void
-shuffle_sb(k, saltbits)
-     long32 *k;
-     ufc_long saltbits;
+shuffle_sb (long32 *k, ufc_long saltbits)
 {
   ufc_long j;
   long32 x;
@@ -574,9 +565,7 @@ shuffle_sb(k, saltbits)
 
 #ifdef _UFC_64_
 STATIC void
-shuffle_sb(k, saltbits)
-     long64 *k;
-     ufc_long saltbits;
+shuffle_sb (long64 *k, ufc_long saltbits)
 {
   ufc_long j;
   long64 x;
@@ -614,9 +603,7 @@ bad_for_salt (char c)
  */
 
 bool
-_ufc_setup_salt_r(s, __data)
-     const char *s;
-     struct crypt_data * __restrict __data;
+_ufc_setup_salt_r (const char *s, struct crypt_data * __restrict __data)
 {
   ufc_long i, j, saltbits;
   char s0, s1;
@@ -675,9 +662,7 @@ _ufc_setup_salt_r(s, __data)
 }
 
 void
-_ufc_mk_keytab_r(key, __data)
-     const char *key;
-     struct crypt_data * __restrict __data;
+_ufc_mk_keytab_r (const char *key, struct crypt_data * __restrict __data)
 {
   ufc_long v1, v2, *k1;
   int i;
@@ -735,9 +720,7 @@ _ufc_mk_keytab_r(key, __data)
  */
 
 void
-_ufc_dofinalperm_r(res, __data)
-     ufc_long *res;
-     struct crypt_data * __restrict __data;
+_ufc_dofinalperm_r (ufc_long *res, struct crypt_data * __restrict __data)
 {
   ufc_long v1, v2, x;
   ufc_long l1,l2,r1,r2;
@@ -910,9 +893,7 @@ __encrypt_r(__block, __edflag, __data)
 weak_alias (__encrypt_r, encrypt_r)
 
 void
-encrypt(__block, __edflag)
-     char *__block;
-     int __edflag;
+encrypt (char *__block, int __edflag)
 {
   __encrypt_r(__block, __edflag, &_ufc_foobar);
 }
@@ -924,9 +905,7 @@ encrypt(__block, __edflag)
  */
 
 void
-__setkey_r(__key, __data)
-     const char *__key;
-     struct crypt_data * __restrict __data;
+__setkey_r (const char *__key, struct crypt_data * __restrict __data)
 {
   int i,j;
   unsigned char c;
@@ -944,8 +923,7 @@ __setkey_r(__key, __data)
 weak_alias (__setkey_r, setkey_r)
 
 void
-setkey(__key)
-     const char *__key;
+setkey (const char *__key)
 {
   __setkey_r(__key, &_ufc_foobar);
 }
index 3c447c5d43bfa6f28ae965a4c6334ef0e2984f36..5c48f52a4c5235ad94d4c583ca85b6ffd6660022 100644 (file)
@@ -67,8 +67,7 @@ static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ...  */ };
 /* Initialize structure containing state of computation.
    (RFC 1321, 3.3: Step 3)  */
 void
-md5_init_ctx (ctx)
-     struct md5_ctx *ctx;
+md5_init_ctx (struct md5_ctx *ctx)
 {
   ctx->A = 0x67452301;
   ctx->B = 0xefcdab89;
@@ -85,9 +84,7 @@ md5_init_ctx (ctx)
    IMPORTANT: On some systems it is required that RESBUF is correctly
    aligned for a 32 bits value.  */
 void *
-md5_read_ctx (ctx, resbuf)
-     const struct md5_ctx *ctx;
-     void *resbuf;
+md5_read_ctx (const struct md5_ctx *ctx, void *resbuf)
 {
   ((md5_uint32 *) resbuf)[0] = SWAP (ctx->A);
   ((md5_uint32 *) resbuf)[1] = SWAP (ctx->B);
@@ -103,9 +100,7 @@ md5_read_ctx (ctx, resbuf)
    IMPORTANT: On some systems it is required that RESBUF is correctly
    aligned for a 32 bits value.  */
 void *
-md5_finish_ctx (ctx, resbuf)
-     struct md5_ctx *ctx;
-     void *resbuf;
+md5_finish_ctx (struct md5_ctx *ctx, void *resbuf)
 {
   /* Take yet unprocessed bytes into account.  */
   md5_uint32 bytes = ctx->buflen;
@@ -134,9 +129,7 @@ md5_finish_ctx (ctx, resbuf)
    resulting message digest number will be written into the 16 bytes
    beginning at RESBLOCK.  */
 int
-md5_stream (stream, resblock)
-     FILE *stream;
-     void *resblock;
+md5_stream (FILE *stream, void *resblock)
 {
   /* Important: BLOCKSIZE must be a multiple of 64.  */
 #define BLOCKSIZE 4096
@@ -191,10 +184,7 @@ md5_stream (stream, resblock)
    output yields to the wanted ASCII representation of the message
    digest.  */
 void *
-md5_buffer (buffer, len, resblock)
-     const char *buffer;
-     size_t len;
-     void *resblock;
+md5_buffer (const char *buffer, size_t len, void *resblock)
 {
   struct md5_ctx ctx;
 
@@ -210,10 +200,7 @@ md5_buffer (buffer, len, resblock)
 
 
 void
-md5_process_bytes (buffer, len, ctx)
-     const void *buffer;
-     size_t len;
-     struct md5_ctx *ctx;
+md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx)
 {
   /* When we already have some bits in our internal buffer concatenate
      both inputs first.  */
index b6db8b2867065b4ff8df367e3a93e87a518926d6..8241de5c199aab7833dc2bbe1c037fd0ffd93a7b 100644 (file)
@@ -87,8 +87,7 @@ sha256_process_block (const void *, size_t, struct sha256_ctx *);
 /* Initialize structure containing state of computation.
    (FIPS 180-2:5.3.2)  */
 void
-__sha256_init_ctx (ctx)
-     struct sha256_ctx *ctx;
+__sha256_init_ctx (struct sha256_ctx *ctx)
 {
   ctx->H[0] = 0x6a09e667;
   ctx->H[1] = 0xbb67ae85;
@@ -110,9 +109,7 @@ __sha256_init_ctx (ctx)
    IMPORTANT: On some systems it is required that RESBUF is correctly
    aligned for a 32 bits value.  */
 void *
-__sha256_finish_ctx (ctx, resbuf)
-     struct sha256_ctx *ctx;
-     void *resbuf;
+__sha256_finish_ctx (struct sha256_ctx *ctx, void *resbuf)
 {
   /* Take yet unprocessed bytes into account.  */
   uint32_t bytes = ctx->buflen;
@@ -145,10 +142,7 @@ __sha256_finish_ctx (ctx, resbuf)
 
 
 void
-__sha256_process_bytes (buffer, len, ctx)
-     const void *buffer;
-     size_t len;
-     struct sha256_ctx *ctx;
+__sha256_process_bytes (const void *buffer, size_t len, struct sha256_ctx *ctx)
 {
   /* When we already have some bits in our internal buffer concatenate
      both inputs first.  */
index 608de82daa06b792a8aed91b2948cd3b3ee3ed98..8aa3d0b1b77680adc5d70c6f03139964b88bd36b 100644 (file)
@@ -107,8 +107,7 @@ sha512_process_block (const void *buffer, size_t len, struct sha512_ctx *ctx);
 /* Initialize structure containing state of computation.
    (FIPS 180-2:5.3.3)  */
 void
-__sha512_init_ctx (ctx)
-     struct sha512_ctx *ctx;
+__sha512_init_ctx (struct sha512_ctx *ctx)
 {
   ctx->H[0] = UINT64_C (0x6a09e667f3bcc908);
   ctx->H[1] = UINT64_C (0xbb67ae8584caa73b);
@@ -130,9 +129,7 @@ __sha512_init_ctx (ctx)
    IMPORTANT: On some systems it is required that RESBUF is correctly
    aligned for a 32 bits value.  */
 void *
-__sha512_finish_ctx (ctx, resbuf)
-     struct sha512_ctx *ctx;
-     void *resbuf;
+__sha512_finish_ctx (struct sha512_ctx *ctx, void *resbuf)
 {
   /* Take yet unprocessed bytes into account.  */
   uint64_t bytes = ctx->buflen;
@@ -167,10 +164,7 @@ __sha512_finish_ctx (ctx, resbuf)
 
 
 void
-__sha512_process_bytes (buffer, len, ctx)
-     const void *buffer;
-     size_t len;
-     struct sha512_ctx *ctx;
+__sha512_process_bytes (const void *buffer, size_t len, struct sha512_ctx *ctx)
 {
   /* When we already have some bits in our internal buffer concatenate
      both inputs first.  */
index 39a2f32be2d4818f814de5822b1f868af97850e3..355152a72cc1cfdfd155a11139ccad9137304271 100644 (file)
@@ -20,9 +20,7 @@
 #undef __isctype
 
 int
-__isctype (ch, mask)
-     int ch;
-     int mask;
+__isctype (int ch, int mask)
 {
   return (((uint16_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_CLASS) + 128)
          [(int) (ch)] & mask);
index 062f69837074692361cd7e715dbd4080d7a6c418..8a301d021d541d0306d000ca8b44eb1f7201e2cd 100644 (file)
@@ -58,9 +58,7 @@
 #endif
 
 int
-__backtrace (array, size)
-     void **array;
-     int size;
+__backtrace (void **array, int size)
 {
   struct layout *current;
   void *top_frame;
index c554dfe9be248dfa422edecbed143b030ecaac1e..8a8beb77b46db9773255e5fe688b7ee5e7245128 100644 (file)
 
 
 void
-__backtrace_symbols_fd (array, size, fd)
-     void *const *array;
-     int size;
-     int fd;
+__backtrace_symbols_fd (void *const *array, int size, int fd)
 {
   struct iovec iov[9];
   int cnt;
index 10aaf48cc17be5cd21f52fd7f1331e79a0fea2bf..b0685c07ec8de4fdaa7094a684039dff2a66aa67 100644 (file)
 #include <sys/param.h>
 
 char *
-__fgets_chk (buf, size, n, fp)
-     char *buf;
-     size_t size;
-     int n;
-     _IO_FILE *fp;
+__fgets_chk (char *buf, size_t size, int n, _IO_FILE *fp)
 {
   _IO_size_t count;
   char *result;
index 2480964260f1e50f4ba34ae6aafb5c2d4851632e..580e3965b3fd33d08b398f18bb0e2dea67ec8d82 100644 (file)
 #include <sys/param.h>
 
 char *
-__fgets_unlocked_chk (buf, size, n, fp)
-     char *buf;
-     size_t size;
-     int n;
-     _IO_FILE *fp;
+__fgets_unlocked_chk (char *buf, size_t size, int n, _IO_FILE *fp)
 {
   _IO_size_t count;
   char *result;
index b240bf560fb73549c9d28ae138be3eccc7bdad0f..a08eb314f4e8300052f05ae2b44b0185dd05ac0b 100644 (file)
 #include <memcopy.h>
 
 void *
-__memcpy_chk (dstpp, srcpp, len, dstlen)
-     void *dstpp;
-     const void *srcpp;
-     size_t len;
-     size_t dstlen;
+__memcpy_chk (void *dstpp, const void *srcpp, size_t len, size_t dstlen)
 {
   if (__glibc_unlikely (dstlen < len))
     __chk_fail ();
index 3cd9e0b962746c4c883be426ec0f73dd2e33b0cc..45efab5ce45e4f0156c47f172561dd0a292b408c 100644 (file)
 #endif
 
 void *
-MEMMOVE_CHK (dest, src, len, destlen)
-     void *dest;
-     const void *src;
-     size_t len;
-     size_t destlen;
+MEMMOVE_CHK (void *dest, const void *src, size_t len, size_t destlen)
 {
   if (__glibc_unlikely (destlen < len))
     __chk_fail ();
index 00a242ac47b06d68e4d162ed586a20607c920159..a0780a929ac0de81b6b69c1b44d4e733aa75b208 100644 (file)
 #include <memcopy.h>
 
 void *
-__mempcpy_chk (dstpp, srcpp, len, dstlen)
-     void *dstpp;
-     const void *srcpp;
-     size_t len;
-     size_t dstlen;
+__mempcpy_chk (void *dstpp, const void *srcpp, size_t len, size_t dstlen)
 {
   if (__glibc_unlikely (dstlen < len))
     __chk_fail ();
index 293172f920f2d6868a96a07792b61e56594f7ebe..43003b57bf48fbcaa931770104e71311fbceaf7d 100644 (file)
 #include <memcopy.h>
 
 void *
-__memset_chk (dstpp, c, len, dstlen)
-     void *dstpp;
-     int c;
-     size_t len;
-     size_t dstlen;
+__memset_chk (void *dstpp, int c, size_t len, size_t dstlen)
 {
   if (__glibc_unlikely (dstlen < len))
     __chk_fail ();
index 8d7359facafa0281c4450909ebbc42707d742c97..3efca275f8e9211fdc747e7b7eb1dba81b3a383d 100644 (file)
 
 /* Append SRC on the end of DEST.  */
 char *
-__strcat_chk (dest, src, destlen)
-     char *dest;
-     const char *src;
-     size_t destlen;
+__strcat_chk (char *dest, const char *src, size_t destlen)
 {
   char *s1 = dest;
   const char *s2 = src;
index 2951d05f68cf401ac7fda242d6f1f1a31fb26d1c..f12a812a8ae174effcf4117db691cb6d1754bb7f 100644 (file)
 
 
 char *
-__strncat_chk (s1, s2, n, s1len)
-     char *s1;
-     const char *s2;
-     size_t n;
-     size_t s1len;
+__strncat_chk (char *s1, const char *s2, size_t n, size_t s1len)
 {
   char c;
   char *s = s1;
index 98e703da5e91e170065223bd4e7b58bad7a18041..02b866c87be36acc6670a4a8f80c87e70075a31a 100644 (file)
 
 
 char *
-__strncpy_chk (s1, s2, n, s1len)
-     char *s1;
-     const char *s2;
-     size_t n;
-     size_t s1len;
+__strncpy_chk (char *s1, const char *s2, size_t n, size_t s1len)
 {
   if (__builtin_expect (s1len < n, 0))
     __chk_fail ();
index 1ec67b5495e2a21f34db904c9cc0c149beb68abf..bf243df71e0a420fc7a012b6ad37e18a625ba742 100644 (file)
@@ -24,9 +24,7 @@
 static int _IO_str_chk_overflow (_IO_FILE *fp, int c) __THROW;
 
 static int
-_IO_str_chk_overflow (fp, c)
-     _IO_FILE *fp;
-     int c;
+_IO_str_chk_overflow (_IO_FILE *fp, int c)
 {
   /* When we come to here this means the user supplied buffer is
      filled.  */
index 516f886be8f1dc226348640bbe0ead6b58687b91..0dd5115923df60a5ea17cd06b10988cae03e2276 100644 (file)
@@ -21,8 +21,7 @@
 #include <errno.h>
 
 int
-dirfd (dirp)
-     DIR *dirp;
+dirfd (DIR *dirp)
 {
   __set_errno (ENOSYS);
   return -1;
index 0766265f4e3f3d7983c648e6fd249b3703115b82..836af147e7fae69016a1734c76a4877578a491e1 100644 (file)
 #include <dirent.h>
 
 ssize_t
-__getdirentries (fd, buf, nbytes, basep)
-     int fd;
-     char *buf;
-     size_t nbytes;
-     off_t *basep;
+__getdirentries (int fd, char *buf, size_t nbytes, off_t *basep)
 {
   __set_errno (ENOSYS);
   return -1;
index 1d317cc5ac5b90d43e4249608764d7dbd1e0425d..a9d4663e06c7c1ba79a8101d8efd288dc189f17d 100644 (file)
 #include <dirent.h>
 
 ssize_t
-getdirentries64 (fd, buf, nbytes, basep)
-     int fd;
-     char *buf;
-     size_t nbytes;
-     off64_t *basep;
+getdirentries64 (int fd, char *buf, size_t nbytes, off64_t *basep)
 {
   __set_errno (ENOSYS);
   return -1;
index e7a345a46871004b8f47b2c82fde5947d3981990..75ea2663ab09cddb9069ec341ba046aba905b065 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Rewind DIRP to the beginning of the directory.  */
 void
-__rewinddir (dirp)
-     DIR *dirp;
+__rewinddir (DIR *dirp)
 {
   __set_errno (ENOSYS);
   /* No way to indicate failure.       */
index e4a725b1496d4c59e8a1d36e3e78b2e435a1111e..eb2993c095750f48206b408ab65f5c6ae4f536e6 100644 (file)
@@ -22,9 +22,7 @@
 
 /* Seek to position POS in DIRP.  */
 void
-seekdir (dirp, pos)
-     DIR *dirp;
-     long int pos;
+seekdir (DIR *dirp, long int pos)
 {
   if (dirp == NULL)
     {
index fdb56cffeb6f9ace83702ccd5fc463a716aa983f..504404d4f15273b4a0d8cab12cf1a0c360967748 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Return the current position of DIRP.  */
 long int
-telldir (dirp)
-     DIR *dirp;
+telldir (DIR *dirp)
 {
   if (dirp == NULL)
     {
index 1a7d24e6dc1418d03b220ef181c91931e80102cc..38651395044255d7ebc8f53c0fc12ec5c87a0fcf 100644 (file)
--- a/elf/sln.c
+++ b/elf/sln.c
@@ -87,8 +87,7 @@ usage (void)
 }
 
 static int
-makesymlinks (file)
-     const char *file;
+makesymlinks (const char *file)
 {
 #ifndef PATH_MAX
 #define PATH_MAX 4095
@@ -163,9 +162,7 @@ makesymlinks (file)
 }
 
 static int
-makesymlink (src, dest)
-     const char *src;
-     const char *dest;
+makesymlink (const char *src, const char *dest)
 {
   struct stat stats;
   const char *error;
index 9774d57ccced20793e8950d8ff0d46b7ad456061..e9988c06c4d3a5691848d41d03dc7ef391edaf59 100644 (file)
@@ -72,8 +72,7 @@ static void write_bb_counts (int fd) internal_function;
  *     all the data structures are ready.
  */
 void
-__moncontrol (mode)
-     int mode;
+__moncontrol (int mode)
 {
   struct gmonparam *p = &_gmonparam;
 
@@ -98,9 +97,7 @@ weak_alias (__moncontrol, moncontrol)
 
 
 void
-__monstartup (lowpc, highpc)
-     u_long lowpc;
-     u_long highpc;
+__monstartup (u_long lowpc, u_long highpc)
 {
   int o;
   char *cp;
@@ -175,8 +172,7 @@ weak_alias (__monstartup, monstartup)
 
 static void
 internal_function
-write_hist (fd)
-     int fd;
+write_hist (int fd)
 {
   u_char tag = GMON_TAG_TIME_HIST;
 
@@ -227,8 +223,7 @@ write_hist (fd)
 
 static void
 internal_function
-write_call_graph (fd)
-     int fd;
+write_call_graph (int fd)
 {
 #define NARCS_PER_WRITEV       32
   u_char tag = GMON_TAG_CG_ARC;
@@ -290,8 +285,7 @@ write_call_graph (fd)
 
 static void
 internal_function
-write_bb_counts (fd)
-     int fd;
+write_bb_counts (int fd)
 {
   struct __bb *grp;
   u_char tag = GMON_TAG_BB_COUNT;
index 4d2c1e3eaeda22424f0f4fae1d5490cbe23dd562..1203fcebe8ae5db09eadf4f130c9be6a1f7f67e5 100644 (file)
@@ -21,9 +21,7 @@
 
 /* Set the group set for the current user to GROUPS (N of them).  */
 int
-setgroups (n, groups)
-     size_t n;
-     const gid_t *groups;
+setgroups (size_t n, const gid_t *groups)
 {
   __set_errno (ENOSYS);
   return -1;
index c993c8b8471f42153685576812640c17af830fe6..8fd759ccbb01557cf4636d8451eb21e61829d1c0 100644 (file)
@@ -41,8 +41,7 @@ static char sccsid[] = "@(#)inet_lnaof.c      8.1 (Berkeley) 6/4/93";
  * number formats.
  */
 in_addr_t
-inet_lnaof(in)
-       struct in_addr in;
+inet_lnaof (struct in_addr in)
 {
        u_int32_t i = ntohl(in.s_addr);
 
index b28fdb11900cca5d0e10db258e47c1479f1e2f72..1bce06d673189af5011b114db757eead00e0c7c3 100644 (file)
@@ -60,8 +60,7 @@ static char sccsid[] = "@(#)inet_network.c    8.1 (Berkeley) 6/4/93";
  * network numbers.
  */
 u_int32_t
-inet_network(cp)
-       const char *cp;
+inet_network (const char *cp)
 {
        u_int32_t val, base, n, i;
        char c;
index 9b0aed992e9ba65f0efc47c60ccc190f430e5fcd..0f048e6c46edff7ac6b795f361521f3359338d47 100644 (file)
@@ -40,8 +40,7 @@ static char sccsid[] = "@(#)inet_netof.c      8.1 (Berkeley) 6/4/93";
  * address; handles class a/b/c network #'s.
  */
 in_addr_t
-inet_netof(in)
-       struct in_addr in;
+inet_netof (struct in_addr in)
 {
        u_int32_t i = ntohl(in.s_addr);
 
index 035cb0d87d80df2932b23b01ab8abb91bf0624ed..d3fe3c57fc3ed1074b4a7e86c4673d1d13ed2af6 100644 (file)
@@ -370,9 +370,7 @@ rcmd(ahost, rport, locuser, remuser, cmd, fd2p)
 }
 
 int
-rresvport_af(alport, family)
-       int *alport;
-       sa_family_t family;
+rresvport_af (int *alport, sa_family_t family)
 {
        union {
                struct sockaddr generic;
@@ -431,8 +429,7 @@ rresvport_af(alport, family)
 libc_hidden_def (rresvport_af)
 
 int
-rresvport(alport)
-       int *alport;
+rresvport (int *alport)
 {
        return rresvport_af(alport, AF_INET);
 }
index 43445a1a5585c8d247c2462cf15c0de6e1d9b60f..210e2cdd299ed6982adeb77e31701bd1daaffb09 100644 (file)
@@ -21,9 +21,7 @@
 
 /* Test for access to FILE.  */
 int
-__access (file, type)
-     const char *file;
-     int type;
+__access (const char *file, int type)
 {
   if (file == NULL || (type & ~(R_OK|W_OK|X_OK|F_OK)) != 0)
     {
index 1003b9d2001646265af4caeb3831ae0e7363709c..cb3a90246e86dbd45140da4de5334e2feb9ada05 100644 (file)
@@ -21,8 +21,7 @@
 
 /* Change the current directory to PATH.  */
 int
-__chdir (path)
-     const char *path;
+__chdir (const char *path)
 {
   if (path == NULL)
     {
index 3dcc8937b0e89a4e4ffab4773bb3297c9e4dcbd6..d2c8a2b7e52fd31d5f16350fe62e9d76d5106387 100644 (file)
@@ -22,9 +22,7 @@
 
 /* Change the protections of FILE to MODE.  */
 int
-__chmod (file, mode)
-     const char *file;
-     mode_t mode;
+__chmod (const char *file, mode_t mode)
 {
   if (file == NULL)
     {
index 280f2c1d59a386df85820868c9a6d6a399248d6c..16cadd0e260ef87b5b29f7135a6715963e3a62fb 100644 (file)
 
 /* Change the owner and group of FILE.  */
 int
-__chown (file, owner, group)
-     const char *file;
-     uid_t owner;
-     gid_t group;
+__chown (const char *file, uid_t owner, gid_t group)
 {
   if (file == NULL)
     {
index 267cfbc7e979bcb06fda8b0bc8e30f830a4883f1..b3224671fb9ef9570fd785c53e71c58994b499d6 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Close the file descriptor FD.  */
 int
-__close (fd)
-     int fd;
+__close (int fd)
 {
   if (fd < 0)
     {
index c03810d962a93ca5d2903f56c68a143489ebc737..b281fa2ba46155839d05fa3cafa3f93014ac28b2 100644 (file)
@@ -23,9 +23,7 @@
 
 /* Create FILE with protections MODE.  */
 int
-creat (file, mode)
-     const char *file;
-     mode_t mode;
+creat (const char *file, mode_t mode)
 {
   return __open (file, O_WRONLY|O_CREAT|O_TRUNC, mode);
 }
index 6be8a7737456035114f56c3ea3ff030fc9e0f520..b99b19d19f002c77fda49347fc419cdb26dae43d 100644 (file)
@@ -22,9 +22,7 @@
 
 /* Create FILE with protections MODE.  */
 int
-creat64 (file, mode)
-     const char *file;
-     mode_t mode;
+creat64 (const char *file, mode_t mode)
 {
   return __open64 (file, O_WRONLY|O_CREAT|O_TRUNC, mode);
 }
index a461a42f6859769d820b4e8512e57d933db76785..b501d22fc5d4cfa61b30548ec279f78e39106982 100644 (file)
--- a/io/dup.c
+++ b/io/dup.c
@@ -21,8 +21,7 @@
 
 /* Duplicate FD, returning a new file descriptor open on the same file.  */
 int
-__dup (fd)
-     int fd;
+__dup (int fd)
 {
   __set_errno (ENOSYS);
   return -1;
index fa3c5d59a54f93bbe9d7dfe71ccb680fad11ef4f..d175572ee9b9216a51287e554271d0557fec2e90 100644 (file)
--- a/io/dup2.c
+++ b/io/dup2.c
@@ -23,9 +23,7 @@
 /* Duplicate FD to FD2, closing the old FD2 and making FD2 be
    open the same file as FD is.  Return FD2 or -1.  */
 int
-__dup2 (fd, fd2)
-     int fd;
-     int fd2;
+__dup2 (int fd, int fd2)
 {
   if (fd < 0 || fd2 < 0)
     {
index 1f7f093204776dc4dad044845147e6868ab9e4b6..78eba2f4af8566da1b3d6fe482506b531540173c 100644 (file)
--- a/io/dup3.c
+++ b/io/dup3.c
    open the same file as FD is which setting flags according to
    FLAGS.  Return FD2 or -1.  */
 int
-__dup3 (fd, fd2, flags)
-     int fd;
-     int fd2;
-     int flags;
+__dup3 (int fd, int fd2, int flags)
 {
   if (fd < 0 || fd2 < 0)
     {
index 0adead8d7d944e0c93fd776e839d9e8e78ec1696..c89bceddaeab4fee2dbf061ae15da99858727f17 100644 (file)
@@ -21,9 +21,7 @@
 #include <unistd.h>
 
 int
-__euidaccess (file, type)
-     const char *file;
-     int type;
+__euidaccess (const char *file, int type)
 {
   if (file == NULL || (type & ~(R_OK|W_OK|X_OK|F_OK)) != 0)
     {
index 3bf8b79035e3c5fb178c0c568610b43a465db96e..8aa13f15b27eb12e00f489f399655fc13fc17f12 100644 (file)
 #include <sys/types.h>
 
 int
-faccessat (fd, file, type, flag)
-     int fd;
-     const char *file;
-     int type;
-     int flag;
+faccessat (int fd, const char *file, int type, int flag)
 {
   if (file == NULL || (flag & ~(AT_SYMLINK_NOFOLLOW | AT_EACCESS)) != 0
       || (type & ~(R_OK|W_OK|X_OK|F_OK)) != 0)
index f0aac92225bcdcf3491937fedbff6123a613d5e0..99148fee947a3a3663d608d2a9ac2d345d4207a6 100644 (file)
@@ -22,9 +22,7 @@
 
 /* Change the permissions of the file referenced by FD to MODE.  */
 int
-__fchmod (fd, mode)
-     int fd;
-     mode_t mode;
+__fchmod (int fd, mode_t mode)
 {
   if (fd < 0)
     {
index 1cd794bf73e5b528e71455b6eb7ff217ea9ef156..7a588839fd85ba017d528b2f83583b2d1911df5e 100644 (file)
 #include <sys/stat.h>
 
 int
-fchmodat (fd, file, mode, flag)
-     int fd;
-     const char *file;
-     mode_t mode;
-     int flag;
+fchmodat (int fd, const char *file, mode_t mode, int flag)
 {
   if (file == NULL || (flag & ~AT_SYMLINK_NOFOLLOW) != 0)
     {
index 441e55953cf8eefb416e8ed9c5fbc2ff387bd46b..4f9837ecb4687b6eadce7d37c819e6d488410bcd 100644 (file)
 
 /* Change the owner and group of the file referred to by FD.  */
 int
-__fchown (fd, owner, group)
-     int fd;
-     uid_t owner;
-     gid_t group;
+__fchown (int fd, uid_t owner, gid_t group)
 {
   if (fd < 0)
     {
index e9e3bd6ffe4b09678edeaed4833161d85f00c5e8..4c53fa8184d5037657f88ef5b643fd03d7189b3c 100644 (file)
 
 /* Change the owner and group of FILE.  */
 int
-fchownat (fd, file, owner, group, flag)
-     int fd;
-     const char *file;
-     uid_t owner;
-     gid_t group;
-     int flag;
+fchownat (int fd, const char *file, uid_t owner, gid_t group, int flag)
 {
   if (file == NULL || (flag & ~AT_SYMLINK_NOFOLLOW) != 0)
     {
index 5b1156d301ea6657550b397cb024c887997a2380..996a0d5863e322678bc18da42e6945f191a4d062 100644 (file)
@@ -20,9 +20,7 @@
 
 /* Perform file control operations on FD.  */
 int
-__fcntl (fd, cmd)
-     int fd;
-     int cmd;
+__fcntl (int fd, int cmd)
 {
   if (fd < 0)
     {
index fc999ade77ab503f699d6df4c1f97d6eb59d5dea..084c1234a3c910f86fe0cab17d084a330d1c1ecc 100644 (file)
@@ -21,9 +21,7 @@
 /* Apply or remove an advisory lock, according to OPERATION,
    on the file FD refers to.  */
 int
-__flock (fd, operation)
-     int fd;
-     int operation;
+__flock (int fd, int operation)
 {
   __set_errno (ENOSYS);
   return -1;
index 46cbb725713cb1cd527b635753ff1bdf72149f30..ac1d340da843cdee08a23419896d4b4e85b8b2c1 100644 (file)
--- a/io/fts.c
+++ b/io/fts.c
@@ -202,9 +202,7 @@ mem1:       free(sp);
 
 static void
 internal_function
-fts_load(sp, p)
-       FTS *sp;
-       FTSENT *p;
+fts_load (FTS *sp, FTSENT *p)
 {
        int len;
        char *cp;
@@ -228,8 +226,7 @@ fts_load(sp, p)
 }
 
 int
-fts_close(sp)
-       FTS *sp;
+fts_close (FTS *sp)
 {
        FTSENT *freep, *p;
        int saved_errno;
@@ -282,8 +279,7 @@ fts_close(sp)
            ? p->fts_pathlen - 1 : p->fts_pathlen)
 
 FTSENT *
-fts_read(sp)
-       FTS *sp;
+fts_read (FTS *sp)
 {
        FTSENT *p, *tmp;
        int instr;
@@ -479,10 +475,7 @@ name:              t = sp->fts_path + NAPPEND(p->fts_parent);
  */
 /* ARGSUSED */
 int
-fts_set(sp, p, instr)
-       FTS *sp;
-       FTSENT *p;
-       int instr;
+fts_set (FTS *sp, FTSENT *p, int instr)
 {
        if (instr != 0 && instr != FTS_AGAIN && instr != FTS_FOLLOW &&
            instr != FTS_NOINSTR && instr != FTS_SKIP) {
@@ -494,9 +487,7 @@ fts_set(sp, p, instr)
 }
 
 FTSENT *
-fts_children(sp, instr)
-       FTS *sp;
-       int instr;
+fts_children (FTS *sp, int instr)
 {
        FTSENT *p;
        int fd;
@@ -587,9 +578,7 @@ dirent_not_directory(const struct dirent *dp)
  */
 static FTSENT *
 internal_function
-fts_build(sp, type)
-       FTS *sp;
-       int type;
+fts_build (FTS *sp, int type)
 {
        struct dirent *dp;
        FTSENT *p, *head;
@@ -852,10 +841,7 @@ mem1:                              saved_errno = errno;
 
 static u_short
 internal_function
-fts_stat(sp, p, follow)
-       FTS *sp;
-       FTSENT *p;
-       int follow;
+fts_stat (FTS *sp, FTSENT *p, int follow)
 {
        FTSENT *t;
        dev_t dev;
@@ -936,10 +922,7 @@ err:               memset(sbp, 0, sizeof(struct stat));
 
 static FTSENT *
 internal_function
-fts_sort(sp, head, nitems)
-       FTS *sp;
-       FTSENT *head;
-       int nitems;
+fts_sort (FTS *sp, FTSENT *head, int nitems)
 {
        FTSENT **ap, *p;
 
@@ -974,10 +957,7 @@ fts_sort(sp, head, nitems)
 
 static FTSENT *
 internal_function
-fts_alloc(sp, name, namelen)
-       FTS *sp;
-       const char *name;
-       size_t namelen;
+fts_alloc (FTS *sp, const char *name, size_t namelen)
 {
        FTSENT *p;
        size_t len;
@@ -1014,8 +994,7 @@ fts_alloc(sp, name, namelen)
 
 static void
 internal_function
-fts_lfree(head)
-       FTSENT *head;
+fts_lfree (FTSENT *head)
 {
        FTSENT *p;
 
@@ -1034,9 +1013,7 @@ fts_lfree(head)
  */
 static int
 internal_function
-fts_palloc(sp, more)
-       FTS *sp;
-       size_t more;
+fts_palloc (FTS *sp, size_t more)
 {
        char *p;
 
@@ -1068,9 +1045,7 @@ fts_palloc(sp, more)
  */
 static void
 internal_function
-fts_padjust(sp, head)
-       FTS *sp;
-       FTSENT *head;
+fts_padjust (FTS *sp, FTSENT *head)
 {
        FTSENT *p;
        char *addr = sp->fts_path;
@@ -1095,8 +1070,7 @@ fts_padjust(sp, head)
 
 static size_t
 internal_function
-fts_maxarglen(argv)
-       char * const *argv;
+fts_maxarglen (char * const *argv)
 {
        size_t len, max;
 
@@ -1113,11 +1087,7 @@ fts_maxarglen(argv)
  */
 static int
 internal_function
-fts_safe_changedir(sp, p, fd, path)
-       FTS *sp;
-       FTSENT *p;
-       int fd;
-       const char *path;
+fts_safe_changedir (FTS *sp, FTSENT *p, int fd, const char *path)
 {
        int ret, oerrno, newfd;
        struct stat64 sb;
index bbda67c6e2da1b3bd6a5899cedfc1b4ccd1bbaba..2a9fc734d3e16ac954109a1931b20445098ccbe5 100644 (file)
@@ -23,8 +23,7 @@
 
 
 char *
-getwd (buf)
-     char *buf;
+getwd (char *buf)
 {
 #ifndef PATH_MAX
 #define PATH_MAX 1024
index ea68464d2b44d92d3efb9b599802380aa8790672..cf397740a8be8a1af83c922f96482b6d926eac1e 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Return 1 if FD is a terminal, 0 if not.  */
 int
-__isatty (fd)
-     int fd;
+__isatty (int fd)
 {
   __set_errno (ENOSYS);
   return -1;
index eceaf62ad271fa202e1c593d34e9b26615c1b491..6dbb9af48ca0f46348790dc48caa12d9d873c740 100644 (file)
 
 /* Change the owner and group of FILE.  */
 int
-__lchown (file, owner, group)
-     const char *file;
-     uid_t owner;
-     gid_t group;
+__lchown (const char *file, uid_t owner, gid_t group)
 {
   if (file == NULL)
     {
index 1a42557dbcd4e5a025ad26b3cc967cf33c42c910..9eeb4a4b68f3f4b527765872c2b8264b1348870c 100644 (file)
--- a/io/link.c
+++ b/io/link.c
@@ -22,9 +22,7 @@
 
 /* Make a link to FROM called TO.  */
 int
-__link (from, to)
-     const char *from;
-     const char *to;
+__link (const char *from, const char *to)
 {
   if (from == NULL || to == NULL)
     {
index b999f24d735372308672eed53f6e87d283f55b7f..99d47ee64b3b96046ca4b4c066a01fa7fdc7d1ef 100644 (file)
 
 /* Make a link to FROM relative to FROMFD called TO relative to TOFD.  */
 int
-linkat (fromfd, from, tofd, to, flags)
-     int fromfd;
-     const char *from;
-     int tofd;
-     const char *to;
-     int flags;
+linkat (int fromfd, const char *from, int tofd, const char *to, int flags)
 {
   if (from == NULL || to == NULL)
     {
index ac9048386261eceafc16c7b19370622fba4b4241..7ab5f290dc155d92c2fd8bcb9aaa4f8363b7f9b3 100644 (file)
 
 /* Seek to OFFSET on FD, starting from WHENCE.  */
 off_t
-__libc_lseek (fd, offset, whence)
-     int fd;
-     off_t offset;
-     int whence;
+__libc_lseek (int fd, off_t offset, int whence)
 {
   if (fd < 0)
     {
index e1dfe8400e410316499810f0b1d4fe662534e050..cb2735043dae68eed4db6131376a73c8ffd38e52 100644 (file)
@@ -23,9 +23,7 @@
 
 /* Create a directory named PATH with protections MODE.  */
 int
-__mkdir (path, mode)
-     const char *path;
-     mode_t mode;
+__mkdir (const char *path, mode_t mode)
 {
   if (path == NULL)
     {
index 7ba3145d1b770efcdbe147b84ca56274c6ea379e..4b14e33dff027a9b2d324bf003aabfc58aacb8ad 100644 (file)
 
 /* Create a directory named PATH relative to FD with protections MODE.  */
 int
-mkdirat (fd, path, mode)
-     int fd;
-     const char *path;
-     mode_t mode;
+mkdirat (int fd, const char *path, mode_t mode)
 {
   if (path == NULL)
     {
index fddd6c97b8a8e3b75b07d280e0c6bfc70c0b4908..c2d2774fc11d013e21c4cedb39e850f5bbcd56e6 100644 (file)
@@ -23,9 +23,7 @@
 
 /* Create a named pipe (FIFO) named PATH with protections MODE.  */
 int
-mkfifo (path, mode)
-     const char *path;
-     mode_t mode;
+mkfifo (const char *path, mode_t mode)
 {
   if (path == NULL)
     {
index 311e0097b0a6e94d2392f4ff4775db8a843cb780..5e82cb074512c10e5ec4fb5eb28d9bc54f8ae384 100644 (file)
 /* Create a named pipe (FIFO) named PATH relative to FD with
    protections MODE.  */
 int
-mkfifoat (fd, path, mode)
-     int fd;
-     const char *path;
-     mode_t mode;
+mkfifoat (int fd, const char *path, mode_t mode)
 {
   if (path == NULL)
     {
index c0000bacd6e87baa439c233e017e82f1767eba7c..a1c8866222f5797815cc751390659383d9d19020 100644 (file)
--- a/io/open.c
+++ b/io/open.c
@@ -26,9 +26,7 @@
 /* Open FILE with access OFLAG.  If O_CREAT or O_TMPFILE is in OFLAG,
    a third argument is the file protection.  */
 int
-__libc_open (file, oflag)
-     const char *file;
-     int oflag;
+__libc_open (const char *file, int oflag)
 {
   int mode;
 
index f87ee570995355a31d5dc082aae9a6fd1fba19a0..5b94b8a9c7869da7c985374f2d04edf99dcddebf 100644 (file)
@@ -24,9 +24,7 @@
 /* Open FILE with access OFLAG.  If O_CREAT or O_TMPFILE is in OFLAG,
    a third argument is the file protection.  */
 int
-__libc_open64 (file, oflag)
-     const char *file;
-     int oflag;
+__libc_open64 (const char *file, int oflag)
 {
   int mode;
 
index 4516e6401cb6ddbe361459fec53cda612c51ec42..197e94ef7aaa001986153cf2606a403e8efc430d 100644 (file)
    LEN bytes of BUF.  The contents are not null-terminated.
    Returns the number of characters read, or -1 for errors.  */
 ssize_t
-__readlink (path, buf, len)
-     const char *path;
-     char *buf;
-     size_t len;
+__readlink (const char *path, char *buf, size_t len)
 {
   __set_errno (ENOSYS);
   return -1;
index 63b48ea1fe45aef80185225cb75e3a35ebb53486..359ce3ac7d499e618527648ebd5d21dde2eba6c4 100644 (file)
    more than LEN bytes of BUF.  The contents are not null-terminated.
    Returns the number of characters read, or -1 for errors.  */
 ssize_t
-readlinkat (fd, path, buf, len)
-     int fd;
-     const char *path;
-     char *buf;
-     size_t len;
+readlinkat (int fd, const char *path, char *buf, size_t len)
 {
   if (path == NULL)
     {
index f4ad1662b5e47f80e1a887ee1c74e2a46e753ac8..596bca1d283d72858b023dfa904f4747c5e6ea1a 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Remove the directory PATH.  */
 int
-__rmdir (path)
-     const char *path;
+__rmdir (const char *path)
 {
   if (path == NULL)
     {
index 77d12030071d68ff63700acee6c5a87b3542dc5b..b5f2f60f039d62ff74a0b6f8c9c9a61da1a63bbe 100644 (file)
@@ -22,9 +22,7 @@
 
 /* Make a link to FROM called TO.  */
 int
-__symlink (from, to)
-     const char *from;
-     const char *to;
+__symlink (const char *from, const char *to)
 {
   if (from == NULL || to == NULL)
     {
index 0c8747d3c23259703e54f5ac5d85be654dddee9d..70bf9a226de34e4a8b4b794e86ffda06fc62eb89 100644 (file)
 
 /* Make a link to FROM called TO relative to FD.  */
 int
-symlinkat (from, fd, to)
-     const char *from;
-     int fd;
-     const char *to;
+symlinkat (const char *from, int fd, const char *to)
 {
   if (from == NULL || to == NULL)
     {
index 6332d29916423402a4714c59a18cde5226545d2b..f70ebd12f0a66c9419e768f2b1068faf6f492952 100644 (file)
@@ -25,8 +25,7 @@ char *__ttyname = NULL;
 /* Return the pathname of the terminal FD is open on, or NULL on errors.
    The returned storage is good only until the next call to this function.  */
 char *
-ttyname (fd)
-     int fd;
+ttyname (int fd)
 {
   __set_errno (ENOSYS);
   return NULL;
index 50dbd67467d86cc507428d25505efe20d137b159..a57b932b94b8399df890e3ced353c1dfa30c981d 100644 (file)
 /* Store at most BUFLEN characters the pathname of the terminal FD is
    open on in BUF.  Return 0 on success,  otherwise an error number.  */
 int
-__ttyname_r (fd, buf, buflen)
-     int fd;
-     char *buf;
-     size_t buflen;
+__ttyname_r (int fd, char *buf, size_t buflen)
 {
   __set_errno (ENOSYS);
   return ENOSYS;
index 2afb8372c3042ff0dfe66f38e40b5e520f92b9dc..0e9a73870820a02bd7ef455ad7dd5e1fc1fe58ca 100644 (file)
@@ -21,8 +21,7 @@
 
 /* Set the file creation mask to MASK, returning the old mask.  */
 mode_t
-__umask (mask)
-     mode_t mask;
+__umask (mode_t mask)
 {
   __set_errno (ENOSYS);
   return -1;
index 65ec5c66ca6d4bb6290a333cb2c1891571d4c3db..42ed33c8f2f695e790dcb15bbe17479bdf0a4eca 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Remove the link named NAME.  */
 int
-__unlink (name)
-     const char *name;
+__unlink (const char *name)
 {
   if (name == NULL)
     {
index 9122d73c413c9e60662af1216ed661e860870732..e77d1de3986561e05fc03390fd243dfd7a39c697 100644 (file)
 
 /* Remove the link named NAME.  */
 int
-unlinkat (fd, name, flag)
-     int fd;
-     const char *name;
-     int flag;
+unlinkat (int fd, const char *name, int flag)
 {
   if (name == NULL || (flag & AT_REMOVEDIR) != 0)
     {
index 830d3414e95e7162e7fd45a48da57bf605bcbff4..faac909cce309c3fa49adb3ad0eef381d1780cc7 100644 (file)
@@ -23,9 +23,7 @@
 /* Set the access and modification times of FILE to those given in TIMES.
    If TIMES is NULL, set them to the current time.  */
 int
-utime (file, times)
-     const char *file;
-     const struct utimbuf *times;
+utime (const char *file, const struct utimbuf *times)
 {
   if (file == NULL)
     {
index 0a52e05ce3af40bbcbf751ff0004afb026805b93..1a610a6d05c2001fdf26d3939c5b678c2c9b95e0 100644 (file)
@@ -19,8 +19,7 @@
 #include "stdio.h"
 
 void
-clearerr (fp)
-     FILE *fp;
+clearerr (FILE *fp)
 {
   CHECK_FILE (fp, /*nothing*/);
   _IO_flockfile (fp);
index 73b5bc30cf3cf654f9699fe8b19891e368191e22..d0452b23f0164781fa57db33c4d2e07a135ed82b 100644 (file)
@@ -19,8 +19,7 @@
 #include "stdio.h"
 
 void
-clearerr_unlocked (fp)
-     FILE *fp;
+clearerr_unlocked (FILE *fp)
 {
   CHECK_FILE (fp, /*nothing*/);
   _IO_clearerr (fp);
index c89182c2881b5a576d83ec9ace3086919b4c59da..febf1069f4b0252b53d01859f464e7917a9f68a3 100644 (file)
@@ -28,8 +28,7 @@
 #include "stdio.h"
 
 int
-_IO_feof (fp)
-     _IO_FILE* fp;
+_IO_feof (_IO_FILE *fp)
 {
   int result;
   CHECK_FILE (fp, EOF);
index 4f552caa9d35fbc10ec54606c25ddb7c1902c67d..a5820932123ca7b7a93dcfdab0574813d963243e 100644 (file)
@@ -30,8 +30,7 @@
 #undef feof_unlocked
 
 int
-feof_unlocked (fp)
-     _IO_FILE* fp;
+feof_unlocked (_IO_FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_feof_unlocked (fp);
index 3f73e761d10a1e5e1977c13f4c70864cdd024464..90a3b6949625e3b6e913c8705434872a9a8fb94b 100644 (file)
@@ -28,8 +28,7 @@
 #include "stdio.h"
 
 int
-_IO_ferror (fp)
-     _IO_FILE* fp;
+_IO_ferror (_IO_FILE *fp)
 {
   int result;
   CHECK_FILE (fp, EOF);
index 08831a0205fd4420f918a6f697a931e7c5a8a80b..f182cb2edd9ecead661302f63f4da782683fcdd4 100644 (file)
@@ -30,8 +30,7 @@
 #undef ferror_unlocked
 
 int
-ferror_unlocked (fp)
-     _IO_FILE* fp;
+ferror_unlocked (_IO_FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_ferror_unlocked (fp);
index 78aa3d52360ba92d939e67cb1475c5aa69279808..81d2da62b0616853134b1c6a7d363877bffae210 100644 (file)
@@ -91,8 +91,7 @@ local_isatty (int fd)
  */
 
 int
-_IO_file_doallocate (fp)
-     _IO_FILE *fp;
+_IO_file_doallocate (_IO_FILE *fp)
 {
   _IO_size_t size;
   char *p;
index c1b02d5f0d79f49c9ea304cea34a8756861108e0..fbf86aa3d3c8e7bf3d10a6e5a09541f20e20476a 100644 (file)
@@ -28,8 +28,7 @@
 #include <stdio.h>
 
 int
-__fileno (fp)
-     _IO_FILE* fp;
+__fileno (_IO_FILE *fp)
 {
   CHECK_FILE (fp, EOF);
 
index 1d52c8042c6f827251f5e660d058a238e1494edb..bd271d03822c7e4076a01e19de553bb2978e668c 100644 (file)
@@ -28,9 +28,7 @@
 #include "stdio.h"
 
 int
-fputc (c, fp)
-     int c;
-     _IO_FILE *fp;
+fputc (int c, _IO_FILE *fp)
 {
   int result;
   CHECK_FILE (fp, EOF);
index c8c15cafd76190d262eaafc9282e539a77216a62..9b275f2722df605534b7785f0fb60bfaa3623edf 100644 (file)
@@ -30,9 +30,7 @@
 #undef fputc_unlocked
 
 int
-fputc_unlocked (c, fp)
-     int c;
-     _IO_FILE *fp;
+fputc_unlocked (int c, _IO_FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_putc_unlocked (c, fp);
index 3781af0d410be6ab0b09555db46fad5a66b16671..48b8243f5271c553d69b8dc58072e3355492d401 100644 (file)
@@ -28,9 +28,7 @@
 #include <wchar.h>
 
 wint_t
-fputwc (wc, fp)
-     wchar_t wc;
-     _IO_FILE *fp;
+fputwc (wchar_t wc, _IO_FILE *fp)
 {
   wint_t result;
   CHECK_FILE (fp, EOF);
index 86e10590d20b58ff63f3d1115763fb2fc5e3bab7..5f247bb84295d743d32228b8513cec9d3236e1fa 100644 (file)
@@ -30,9 +30,7 @@
 #undef fputwc_unlocked
 
 wint_t
-fputwc_unlocked (wc, fp)
-     wchar_t wc;
-     _IO_FILE *fp;
+fputwc_unlocked (wchar_t wc, _IO_FILE *fp)
 {
   CHECK_FILE (fp, WEOF);
   if (_IO_fwide (fp, 1) < 0)
index 035fa1fa792ea1b6365b40c05cc50441a51d1d71..30691cbcb5f6dfe1dac3932e7b19203dd9ba6c43 100644 (file)
 
 #include <kernel-features.h>
 
-FILE*
-freopen (filename, mode, fp)
-     const char* filename;
-     const char* mode;
-     FILE* fp;
+FILE *
+freopen (const char *filename, const char *mode, FILE *fp)
 {
   FILE *result;
   CHECK_FILE (fp, NULL);
index fc6ccb12f0d447c5c49d4eab6e0f99a510181f63..cdb3ec1a026f1cb8f5d219b03b5039f8c5633050 100644 (file)
 #include <kernel-features.h>
 
 FILE *
-freopen64 (filename, mode, fp)
-     const char* filename;
-     const char* mode;
-     FILE *fp;
+freopen64 (const char *filename, const char *mode, FILE *fp)
 {
   FILE *result;
   CHECK_FILE (fp, NULL);
index 1ee89bac1ec32774429f0a5fef7d4ce6c8b91430..c643ff3a8698c1401489bfd71b1cc62756c08508 100644 (file)
 #include <stdio.h>
 
 int
-fseek (fp, offset, whence)
-     _IO_FILE* fp;
-     long int offset;
-     int whence;
+fseek (_IO_FILE *fp, long int offset, int whence)
 {
   int result;
   CHECK_FILE (fp, -1);
index 304bb423df97bec8db9496bfd8138e946b63899d..fa1e2a940caeaea56f68f5b300bfa65a59098425 100644 (file)
 #include "stdio.h"
 
 int
-fseeko (fp, offset, whence)
-     _IO_FILE* fp;
-     off_t offset;
-     int whence;
+fseeko (_IO_FILE *fp, off_t offset, int whence)
 {
   int result;
   CHECK_FILE (fp, -1);
index 8dc57cb579fd4fc61855245b56dc490cf1dd5e55..2d7b4d7df915249c2547c7da94340d16c0ec76f2 100644 (file)
 #ifndef __OFF_T_MATCHES_OFF64_T
 
 int
-fseeko64 (fp, offset, whence)
-     _IO_FILE* fp;
-     __off64_t offset;
-     int whence;
+fseeko64 (_IO_FILE *fp, __off64_t offset, int whence)
 {
   int result;
   CHECK_FILE (fp, -1);
index fc56f7c60192e24aba09215b3e77348cd540562b..1c1c1a3a714d425dea9e3703ab2c5bcfd50a990a 100644 (file)
@@ -31,8 +31,7 @@
 
 
 off_t
-__ftello (fp)
-     _IO_FILE *fp;
+__ftello (_IO_FILE *fp)
 {
   _IO_off64_t pos;
   CHECK_FILE (fp, -1L);
index 998fc15e25d028f5c91b7f547a87f4a4c725f616..0e6a0778fcfe987abb108b54352d41092075a338 100644 (file)
@@ -32,8 +32,7 @@
 #ifndef __OFF_T_MATCHES_OFF64_T
 
 off64_t
-ftello64 (fp)
-     _IO_FILE *fp;
+ftello64 (_IO_FILE *fp)
 {
   _IO_off64_t pos;
   CHECK_FILE (fp, -1L);
index 1a93e74c2ec04d083c4c2a599c25d6a6faff7f88..fee98bdbc6a76f5f1a12068097c9926e00228da0 100644 (file)
@@ -29,9 +29,7 @@
 #include <wchar.h>
 
 int
-fwide (fp, mode)
-     _IO_FILE *fp;
-     int mode;
+fwide (_IO_FILE *fp, int mode)
 {
   int result;
 
index 45c9d41c89ff2cc01ba905cbd935d084e72fcafb..873bd77c3a6f4d9624a164cb18fc0ae1fea5d505 100644 (file)
@@ -55,8 +55,7 @@ flush_cleanup (void *not_used)
 #endif
 
 void
-_IO_un_link (fp)
-     struct _IO_FILE_plus *fp;
+_IO_un_link (struct _IO_FILE_plus *fp)
 {
   if (fp->file._flags & _IO_LINKED)
     {
@@ -94,8 +93,7 @@ _IO_un_link (fp)
 libc_hidden_def (_IO_un_link)
 
 void
-_IO_link_in (fp)
-     struct _IO_FILE_plus *fp;
+_IO_link_in (struct _IO_FILE_plus *fp)
 {
   if ((fp->file._flags & _IO_LINKED) == 0)
     {
@@ -124,9 +122,7 @@ libc_hidden_def (_IO_link_in)
 _IO_ssize_t _IO_least_marker (_IO_FILE *fp, char *end_p);
 
 _IO_ssize_t
-_IO_least_marker (fp, end_p)
-     _IO_FILE *fp;
-     char *end_p;
+_IO_least_marker (_IO_FILE *fp, char *end_p)
 {
   _IO_ssize_t least_so_far = end_p - fp->_IO_read_base;
   struct _IO_marker *mark;
@@ -139,8 +135,7 @@ _IO_least_marker (fp, end_p)
 /* Switch current get area from backup buffer to (start of) main get area. */
 
 void
-_IO_switch_to_main_get_area (fp)
-     _IO_FILE *fp;
+_IO_switch_to_main_get_area (_IO_FILE *fp)
 {
   char *tmp;
   fp->_flags &= ~_IO_IN_BACKUP;
@@ -159,8 +154,7 @@ _IO_switch_to_main_get_area (fp)
 /* Switch current get area from main get area to (end of) backup area. */
 
 void
-_IO_switch_to_backup_area (fp)
-     _IO_FILE *fp;
+_IO_switch_to_backup_area (_IO_FILE *fp)
 {
   char *tmp;
   fp->_flags |= _IO_IN_BACKUP;
@@ -177,8 +171,7 @@ _IO_switch_to_backup_area (fp)
 }
 
 int
-_IO_switch_to_get_mode (fp)
-     _IO_FILE *fp;
+_IO_switch_to_get_mode (_IO_FILE *fp)
 {
   if (fp->_IO_write_ptr > fp->_IO_write_base)
     if (_IO_OVERFLOW (fp, EOF) == EOF)
@@ -201,8 +194,7 @@ _IO_switch_to_get_mode (fp)
 libc_hidden_def (_IO_switch_to_get_mode)
 
 void
-_IO_free_backup_area (fp)
-     _IO_FILE *fp;
+_IO_free_backup_area (_IO_FILE *fp)
 {
   if (_IO_in_backup (fp))
     _IO_switch_to_main_get_area (fp);  /* Just in case. */
@@ -215,8 +207,7 @@ libc_hidden_def (_IO_free_backup_area)
 
 #if 0
 int
-_IO_switch_to_put_mode (fp)
-     _IO_FILE *fp;
+_IO_switch_to_put_mode (_IO_FILE *fp)
 {
   fp->_IO_write_base = fp->_IO_read_ptr;
   fp->_IO_write_ptr = fp->_IO_read_ptr;
@@ -233,9 +224,7 @@ _IO_switch_to_put_mode (fp)
 #endif
 
 int
-__overflow (f, ch)
-     _IO_FILE *f;
-     int ch;
+__overflow (_IO_FILE *f, int ch)
 {
   /* This is a single-byte stream.  */
   if (f->_mode == 0)
@@ -325,8 +314,7 @@ save_for_backup (fp, end_p)
 }
 
 int
-__underflow (fp)
-     _IO_FILE *fp;
+__underflow (_IO_FILE *fp)
 {
 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
   if (_IO_vtable_offset (fp) == 0 && _IO_fwide (fp, -1) != -1)
@@ -358,8 +346,7 @@ __underflow (fp)
 libc_hidden_def (__underflow)
 
 int
-__uflow (fp)
-     _IO_FILE *fp;
+__uflow (_IO_FILE *fp)
 {
 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
   if (_IO_vtable_offset (fp) == 0 && _IO_fwide (fp, -1) != -1)
@@ -391,11 +378,7 @@ __uflow (fp)
 libc_hidden_def (__uflow)
 
 void
-_IO_setb (f, b, eb, a)
-     _IO_FILE *f;
-     char *b;
-     char *eb;
-     int a;
+_IO_setb (_IO_FILE *f, char *b, char *eb, int a)
 {
   if (f->_IO_buf_base && !(f->_flags & _IO_USER_BUF))
     free (f->_IO_buf_base);
@@ -409,8 +392,7 @@ _IO_setb (f, b, eb, a)
 libc_hidden_def (_IO_setb)
 
 void
-_IO_doallocbuf (fp)
-     _IO_FILE *fp;
+_IO_doallocbuf (_IO_FILE *fp)
 {
   if (fp->_IO_buf_base)
     return;
@@ -422,15 +404,13 @@ _IO_doallocbuf (fp)
 libc_hidden_def (_IO_doallocbuf)
 
 int
-_IO_default_underflow (fp)
-     _IO_FILE *fp;
+_IO_default_underflow (_IO_FILE *fp)
 {
   return EOF;
 }
 
 int
-_IO_default_uflow (fp)
-     _IO_FILE *fp;
+_IO_default_uflow (_IO_FILE *fp)
 {
   int ch = _IO_UNDERFLOW (fp);
   if (ch == EOF)
@@ -440,10 +420,7 @@ _IO_default_uflow (fp)
 libc_hidden_def (_IO_default_uflow)
 
 _IO_size_t
-_IO_default_xsputn (f, data, n)
-     _IO_FILE *f;
-     const void *data;
-     _IO_size_t n;
+_IO_default_xsputn (_IO_FILE *f, const void *data, _IO_size_t n)
 {
   const char *s = (char *) data;
   _IO_size_t more = n;
@@ -486,10 +463,7 @@ _IO_default_xsputn (f, data, n)
 libc_hidden_def (_IO_default_xsputn)
 
 _IO_size_t
-_IO_sgetn (fp, data, n)
-     _IO_FILE *fp;
-     void *data;
-     _IO_size_t n;
+_IO_sgetn (_IO_FILE *fp, void *data, _IO_size_t n)
 {
   /* FIXME handle putback buffer here! */
   return _IO_XSGETN (fp, data, n);
@@ -497,10 +471,7 @@ _IO_sgetn (fp, data, n)
 libc_hidden_def (_IO_sgetn)
 
 _IO_size_t
-_IO_default_xsgetn (fp, data, n)
-     _IO_FILE *fp;
-     void *data;
-     _IO_size_t n;
+_IO_default_xsgetn (_IO_FILE *fp, void *data, _IO_size_t n)
 {
   _IO_size_t more = n;
   char *s = (char*) data;
@@ -542,18 +513,14 @@ libc_hidden_def (_IO_default_xsgetn)
 #if 0
 /* Seems not to be needed. --drepper */
 int
-_IO_sync (fp)
-     _IO_FILE *fp;
+_IO_sync (_IO_FILE *fp)
 {
   return 0;
 }
 #endif
 
 _IO_FILE *
-_IO_default_setbuf (fp, p, len)
-     _IO_FILE *fp;
-     char *p;
-     _IO_ssize_t len;
+_IO_default_setbuf (_IO_FILE *fp, char *p, _IO_ssize_t len)
 {
     if (_IO_SYNC (fp) == EOF)
        return NULL;
@@ -573,17 +540,13 @@ _IO_default_setbuf (fp, p, len)
 }
 
 _IO_off64_t
-_IO_default_seekpos (fp, pos, mode)
-     _IO_FILE *fp;
-     _IO_off64_t pos;
-     int mode;
+_IO_default_seekpos (_IO_FILE *fp, _IO_off64_t pos, int mode)
 {
   return _IO_SEEKOFF (fp, pos, 0, mode);
 }
 
 int
-_IO_default_doallocate (fp)
-     _IO_FILE *fp;
+_IO_default_doallocate (_IO_FILE *fp)
 {
   char *buf;
 
@@ -597,18 +560,14 @@ _IO_default_doallocate (fp)
 libc_hidden_def (_IO_default_doallocate)
 
 void
-_IO_init (fp, flags)
-     _IO_FILE *fp;
-     int flags;
+_IO_init (_IO_FILE *fp, int flags)
 {
   _IO_no_init (fp, flags, -1, NULL, NULL);
 }
 libc_hidden_def (_IO_init)
 
 void
-_IO_old_init (fp, flags)
-     _IO_FILE *fp;
-     int flags;
+_IO_old_init (_IO_FILE *fp, int flags)
 {
   fp->_flags = _IO_MAGIC|flags;
   fp->_flags2 = 0;
@@ -673,8 +632,7 @@ _IO_no_init (fp, flags, orientation, wd, jmp)
 }
 
 int
-_IO_default_sync (fp)
-     _IO_FILE *fp;
+_IO_default_sync (_IO_FILE *fp)
 {
   return 0;
 }
@@ -683,9 +641,7 @@ _IO_default_sync (fp)
    current implementation, this function can get called twice! */
 
 void
-_IO_default_finish (fp, dummy)
-     _IO_FILE *fp;
-     int dummy;
+_IO_default_finish (_IO_FILE *fp, int dummy)
 {
   struct _IO_marker *mark;
   if (fp->_IO_buf_base && !(fp->_flags & _IO_USER_BUF))
@@ -713,19 +669,13 @@ _IO_default_finish (fp, dummy)
 libc_hidden_def (_IO_default_finish)
 
 _IO_off64_t
-_IO_default_seekoff (fp, offset, dir, mode)
-     _IO_FILE *fp;
-     _IO_off64_t offset;
-     int dir;
-     int mode;
+_IO_default_seekoff (_IO_FILE *fp, _IO_off64_t offset, int dir, int mode)
 {
   return _IO_pos_BAD;
 }
 
 int
-_IO_sputbackc (fp, c)
-     _IO_FILE *fp;
-     int c;
+_IO_sputbackc (_IO_FILE *fp, int c)
 {
   int result;
 
@@ -746,8 +696,7 @@ _IO_sputbackc (fp, c)
 libc_hidden_def (_IO_sputbackc)
 
 int
-_IO_sungetc (fp)
-     _IO_FILE *fp;
+_IO_sungetc (_IO_FILE *fp)
 {
   int result;
 
@@ -769,9 +718,7 @@ _IO_sungetc (fp)
 /* Seems not to be needed.  */
 #if 0
 void
-_IO_set_column (fp, c)
-     _IO_FILE *fp;
-     int c;
+_IO_set_column (_IO_FILE *fp, int c)
 {
   if (c == -1)
     fp->_column = -1;
@@ -780,9 +727,7 @@ _IO_set_column (fp, c)
 }
 #else
 int
-_IO_set_column (fp, i)
-     _IO_FILE *fp;
-     int i;
+_IO_set_column (_IO_FILE *fp, int i)
 {
   fp->_cur_column = i + 1;
   return 0;
@@ -792,10 +737,7 @@ _IO_set_column (fp, i)
 
 
 unsigned
-_IO_adjust_column (start, line, count)
-     unsigned start;
-     const char *line;
-     int count;
+_IO_adjust_column (unsigned start, const char *line, int count)
 {
   const char *ptr = line + count;
   while (ptr > line)
@@ -808,8 +750,7 @@ libc_hidden_def (_IO_adjust_column)
 #if 0
 /* Seems not to be needed. --drepper */
 int
-_IO_get_column (fp)
-     _IO_FILE *fp;
+_IO_get_column (_IO_FILE *fp)
 {
   if (fp->_cur_column)
     return _IO_adjust_column (fp->_cur_column - 1,
@@ -1029,9 +970,7 @@ _IO_cleanup (void)
 
 
 void
-_IO_init_marker (marker, fp)
-     struct _IO_marker *marker;
-     _IO_FILE *fp;
+_IO_init_marker (struct _IO_marker *marker, _IO_FILE *fp)
 {
   marker->_sbuf = fp;
   if (_IO_in_put_mode (fp))
@@ -1047,8 +986,7 @@ _IO_init_marker (marker, fp)
 }
 
 void
-_IO_remove_marker (marker)
-     struct _IO_marker *marker;
+_IO_remove_marker (struct _IO_marker *marker)
 {
   /* Unlink from sb's chain. */
   struct _IO_marker **ptr = &marker->_sbuf->_markers;
@@ -1071,17 +1009,14 @@ _IO_remove_marker (marker)
 #define BAD_DELTA EOF
 
 int
-_IO_marker_difference (mark1, mark2)
-     struct _IO_marker *mark1;
-     struct _IO_marker *mark2;
+_IO_marker_difference (struct _IO_marker *mark1, struct _IO_marker *mark2)
 {
   return mark1->_pos - mark2->_pos;
 }
 
 /* Return difference between MARK and current position of MARK's stream. */
 int
-_IO_marker_delta (mark)
-     struct _IO_marker *mark;
+_IO_marker_delta (struct _IO_marker *mark)
 {
   int cur_pos;
   if (mark->_sbuf == NULL)
@@ -1094,10 +1029,7 @@ _IO_marker_delta (mark)
 }
 
 int
-_IO_seekmark (fp, mark, delta)
-     _IO_FILE *fp;
-     struct _IO_marker *mark;
-     int delta;
+_IO_seekmark (_IO_FILE *fp, struct _IO_marker *mark, int delta)
 {
   if (mark->_sbuf != fp)
     return EOF;
@@ -1117,8 +1049,7 @@ _IO_seekmark (fp, mark, delta)
 }
 
 void
-_IO_unsave_markers (fp)
-     _IO_FILE *fp;
+_IO_unsave_markers (_IO_FILE *fp)
 {
   struct _IO_marker *mark = fp->_markers;
   if (mark)
@@ -1148,9 +1079,7 @@ libc_hidden_def (_IO_unsave_markers)
 #if 0
 /* Seems not to be needed. --drepper */
 int
-_IO_nobackup_pbackfail (fp, c)
-     _IO_FILE *fp;
-     int c;
+_IO_nobackup_pbackfail (_IO_FILE *fp, int c)
 {
   if (fp->_IO_read_ptr > fp->_IO_read_base)
        fp->_IO_read_ptr--;
@@ -1161,9 +1090,7 @@ _IO_nobackup_pbackfail (fp, c)
 #endif
 
 int
-_IO_default_pbackfail (fp, c)
-     _IO_FILE *fp;
-     int c;
+_IO_default_pbackfail (_IO_FILE *fp, int c)
 {
   if (fp->_IO_read_ptr > fp->_IO_read_base && !_IO_in_backup (fp)
       && (unsigned char) fp->_IO_read_ptr[-1] == c)
@@ -1220,51 +1147,37 @@ _IO_default_pbackfail (fp, c)
 libc_hidden_def (_IO_default_pbackfail)
 
 _IO_off64_t
-_IO_default_seek (fp, offset, dir)
-     _IO_FILE *fp;
-     _IO_off64_t offset;
-     int dir;
+_IO_default_seek (_IO_FILE *fp, _IO_off64_t offset, int dir)
 {
   return _IO_pos_BAD;
 }
 
 int
-_IO_default_stat (fp, st)
-     _IO_FILE *fp;
-     void* st;
+_IO_default_stat (_IO_FILE *fp, void *st)
 {
   return EOF;
 }
 
 _IO_ssize_t
-_IO_default_read (fp, data, n)
-     _IO_FILE* fp;
-     void *data;
-     _IO_ssize_t n;
+_IO_default_read (_IO_FILE *fp, void *data, _IO_ssize_t n)
 {
   return -1;
 }
 
 _IO_ssize_t
-_IO_default_write (fp, data, n)
-     _IO_FILE *fp;
-     const void *data;
-     _IO_ssize_t n;
+_IO_default_write (_IO_FILE *fp, const void *data, _IO_ssize_t n)
 {
   return 0;
 }
 
 int
-_IO_default_showmanyc (fp)
-     _IO_FILE *fp;
+_IO_default_showmanyc (_IO_FILE *fp)
 {
   return -1;
 }
 
 void
-_IO_default_imbue (fp, locale)
-     _IO_FILE *fp;
-     void *locale;
+_IO_default_imbue (_IO_FILE *fp, void *locale)
 {
 }
 
@@ -1283,16 +1196,14 @@ _IO_iter_end (void)
 libc_hidden_def (_IO_iter_end)
 
 _IO_ITER
-_IO_iter_next(iter)
-    _IO_ITER iter;
+_IO_iter_next (_IO_ITER iter)
 {
   return iter->_chain;
 }
 libc_hidden_def (_IO_iter_next)
 
 _IO_FILE *
-_IO_iter_file(iter)
-    _IO_ITER iter;
+_IO_iter_file (_IO_ITER iter)
 {
   return iter;
 }
index 270c47a6606b5ceb31073377e4d93a1ae815f8e1..d19a229cbd61c6c4b89f59e2c24cf0c3f5cbfe27 100644 (file)
@@ -30,8 +30,7 @@
 #undef _IO_getc
 
 int
-_IO_getc (fp)
-     FILE *fp;
+_IO_getc (FILE *fp)
 {
   int result;
   CHECK_FILE (fp, EOF);
index a6e8fd7e9792f958b81407e2254941090a6c0cb2..7b64533cfb06d2b3b4397bcd9e386d1d868d42d6 100644 (file)
@@ -31,8 +31,7 @@
 #undef _IO_getwc
 
 wint_t
-_IO_getwc (fp)
-     FILE *fp;
+_IO_getwc (FILE *fp)
 {
   wint_t result;
   CHECK_FILE (fp, WEOF);
index 3281e3f41b5ac7040c5a4229d652d08d28000a03..4e079ed1cdd69661b6429efb8e39bd02fc112b7d 100644 (file)
@@ -35,8 +35,7 @@
 #endif
 
 int
-_IO_new_fclose (fp)
-     _IO_FILE *fp;
+_IO_new_fclose (_IO_FILE *fp)
 {
   int status;
 
index e7d84ae983e38201b4bb22930dfa52c7acea8298..e01524bb1f2b58e99ed27da950e4274c5cc2dcaa 100644 (file)
@@ -41,9 +41,7 @@
 #endif
 
 _IO_FILE *
-_IO_new_fdopen (fd, mode)
-     int fd;
-     const char *mode;
+_IO_new_fdopen (int fd, const char *mode)
 {
   int read_write;
   struct locked_FILE
index 236e145a918555a504e0aba9a3953520e74c891b..37a0f9c496418445bf4d24c1f461cce717df2d9e 100644 (file)
@@ -28,8 +28,7 @@
 #include <stdio.h>
 
 int
-_IO_fflush (fp)
-     _IO_FILE *fp;
+_IO_fflush (_IO_FILE *fp)
 {
   if (fp == NULL)
     return _IO_flush_all ();
index e00447991d3018e9996d47eaf63675004bb9024a..ee76373f61721c108175e6e29b8091b3112b6843 100644 (file)
@@ -28,8 +28,7 @@
 #include <stdio.h>
 
 int
-__fflush_unlocked (fp)
-     _IO_FILE *fp;
+__fflush_unlocked (_IO_FILE *fp)
 {
   if (fp == NULL)
     return _IO_flush_all ();
index 8f900d517a266c4e4f9a86a3355be5e2f83885ad..9b7eec9cbd2a04569b8e3f90516f55df8eb3b047 100644 (file)
@@ -40,9 +40,7 @@
 #include <shlib-compat.h>
 
 int
-_IO_new_fgetpos (fp, posp)
-     _IO_FILE *fp;
-     _IO_fpos_t *posp;
+_IO_new_fgetpos (_IO_FILE *fp, _IO_fpos_t *posp)
 {
   _IO_off64_t pos;
   int result = 0;
index 71b0d6492ce6974b5a7790451d133afc2a57b5c7..c9e7bb06a05a3c0c9b838f8e97c675b8f6fc5676 100644 (file)
@@ -31,9 +31,7 @@
 #ifndef __OFF_T_MATCHES_OFF64_T
 
 int
-_IO_new_fgetpos64 (fp, posp)
-     _IO_FILE *fp;
-     _IO_fpos64_t *posp;
+_IO_new_fgetpos64 (_IO_FILE *fp, _IO_fpos64_t *posp)
 {
   _IO_off64_t pos;
   int result = 0;
index f001b623f626e090adf195504689c39c30bd950c..5fcb8763ca7de2465ac5fc034a547db4980f8463 100644 (file)
 #include <stdio.h>
 
 char *
-_IO_fgets (buf, n, fp)
-     char *buf;
-     int n;
-     _IO_FILE *fp;
+_IO_fgets (char *buf, int n, _IO_FILE *fp)
 {
   _IO_size_t count;
   char *result;
index f6acf646d7a0bea96642909146993c9fd9ff118c..8bbb3d3e31744532ccf7a0057bfdc5e91d9a7099 100644 (file)
 #include <stdio.h>
 
 char *
-__fgets_unlocked (buf, n, fp)
-     char *buf;
-     int n;
-     _IO_FILE *fp;
+__fgets_unlocked (char *buf, int n, _IO_FILE *fp)
 {
   _IO_size_t count;
   char *result;
index a18fb3d5c09eb7eef024bccbea2ecebbab2c1c0a..9ead37a29f51bb0febd0b8f43be58d0cae2195f3 100644 (file)
 #include <wchar.h>
 
 wchar_t *
-fgetws (buf, n, fp)
-     wchar_t *buf;
-     int n;
-     _IO_FILE *fp;
+fgetws (wchar_t *buf, int n, _IO_FILE *fp)
 {
   _IO_size_t count;
   wchar_t *result;
index 671797895844d124162a2f6c13d43e840b59f6a5..124d58752af0d5971afa4a66589f2e9a5c143019 100644 (file)
 #include <wchar.h>
 
 wchar_t *
-fgetws_unlocked (buf, n, fp)
-     wchar_t *buf;
-     int n;
-     _IO_FILE *fp;
+fgetws_unlocked (wchar_t *buf, int n, _IO_FILE *fp)
 {
   _IO_size_t count;
   wchar_t *result;
index 89f13aa9ae989a9dbe3cabeb9827f75d3e522d89..f60234595e21c25ccf54e353f33a65341475f8c2 100644 (file)
@@ -32,9 +32,7 @@
 #if !defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)
 
 _IO_FILE *
-_IO_fopen64 (filename, mode)
-     const char *filename;
-     const char *mode;
+_IO_fopen64 (const char *filename, const char *mode)
 {
   return __fopen_internal (filename, mode, 0);
 }
index 978a7fa3455a7faa06725bc416a1028e3b214df1..b16a263e8a7b3292121d4432ca7dc81e9be10d77 100644 (file)
@@ -40,10 +40,7 @@ static _IO_off64_t _IO_cookie_seekoff (_IO_FILE *fp, _IO_off64_t offset,
 static int _IO_cookie_close (_IO_FILE* fp);
 
 static _IO_ssize_t
-_IO_cookie_read (fp, buf, size)
-     _IO_FILE *fp;
-     void *buf;
-     _IO_ssize_t size;
+_IO_cookie_read (_IO_FILE *fp, void *buf, _IO_ssize_t size)
 {
   struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp;
 
@@ -54,10 +51,7 @@ _IO_cookie_read (fp, buf, size)
 }
 
 static _IO_ssize_t
-_IO_cookie_write (fp, buf, size)
-     _IO_FILE *fp;
-     const void *buf;
-     _IO_ssize_t size;
+_IO_cookie_write (_IO_FILE *fp, const void *buf, _IO_ssize_t size)
 {
   struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp;
 
@@ -75,10 +69,7 @@ _IO_cookie_write (fp, buf, size)
 }
 
 static _IO_off64_t
-_IO_cookie_seek (fp, offset, dir)
-     _IO_FILE *fp;
-     _IO_off64_t offset;
-     int dir;
+_IO_cookie_seek (_IO_FILE *fp, _IO_off64_t offset, int dir)
 {
   struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp;
 
@@ -90,8 +81,7 @@ _IO_cookie_seek (fp, offset, dir)
 }
 
 static int
-_IO_cookie_close (fp)
-     _IO_FILE *fp;
+_IO_cookie_close (_IO_FILE *fp)
 {
   struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp;
 
@@ -103,11 +93,7 @@ _IO_cookie_close (fp)
 
 
 static _IO_off64_t
-_IO_cookie_seekoff (fp, offset, dir, mode)
-     _IO_FILE *fp;
-     _IO_off64_t offset;
-     int dir;
-     int mode;
+_IO_cookie_seekoff (_IO_FILE *fp, _IO_off64_t offset, int dir, int mode)
 {
   /* We must force the fileops code to always use seek to determine
      the position.  */
@@ -218,10 +204,7 @@ _IO_FILE * _IO_old_fopencookie (void *cookie, const char *mode,
 
 static _IO_off64_t
 attribute_compat_text_section
-_IO_old_cookie_seek (fp, offset, dir)
-     _IO_FILE *fp;
-     _IO_off64_t offset;
-     int dir;
+_IO_old_cookie_seek (_IO_FILE *fp, _IO_off64_t offset, int dir)
 {
   struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp;
   int (*seek) (_IO_FILE *, _IO_off_t, int);
index d1e34e40b4a4546a5390fa25eadc867fe5f159d9..504d0e92b8afee48de44e4241cd93ee0bde263b6 100644 (file)
@@ -28,9 +28,7 @@
 #include <string.h>
 
 int
-_IO_fputs (str, fp)
-      const char *str;
-      _IO_FILE *fp;
+_IO_fputs (const char *str, _IO_FILE *fp)
 {
   _IO_size_t len = strlen (str);
   int result = EOF;
index f823686d5b3dbff69d599e543f4656491cf3843c..4dc3e3c6399ee6aff9380f9203e95bc395d1b0c0 100644 (file)
@@ -29,9 +29,7 @@
 #include <string.h>
 
 int
-__fputs_unlocked (str, fp)
-      const char *str;
-      _IO_FILE *fp;
+__fputs_unlocked (const char *str, _IO_FILE *fp)
 {
   _IO_size_t len = strlen (str);
   int result = EOF;
index 4c59a3aa522850c35c9523051003ddf59082f742..b3b7f991c65e4f7a19bbe55a9e0be1d6066894a5 100644 (file)
@@ -28,9 +28,7 @@
 #include <wchar.h>
 
 int
-fputws (str, fp)
-      const wchar_t *str;
-      _IO_FILE *fp;
+fputws (const wchar_t *str, _IO_FILE *fp)
 {
   _IO_size_t len = __wcslen (str);
   int result = EOF;
index 092aeb4c01304930c304a05167eec396eec01e29..aa7447b0ed9fd5e8d7bac4a63627ebdb99b3c43f 100644 (file)
@@ -29,9 +29,7 @@
 #include <wchar.h>
 
 int
-fputws_unlocked (str, fp)
-      const wchar_t *str;
-      _IO_FILE *fp;
+fputws_unlocked (const wchar_t *str, _IO_FILE *fp)
 {
   _IO_size_t len = __wcslen (str);
   int result = EOF;
index 817df76d9f09a101e5d5cc111f5d08b59dc6a21b..eb69b05736cf79aa42c709088b59142362a20eb4 100644 (file)
 #include "libioP.h"
 
 _IO_size_t
-_IO_fread (buf, size, count, fp)
-     void *buf;
-     _IO_size_t size;
-     _IO_size_t count;
-     _IO_FILE *fp;
+_IO_fread (void *buf, _IO_size_t size, _IO_size_t count, _IO_FILE *fp)
 {
   _IO_size_t bytes_requested = size * count;
   _IO_size_t bytes_read;
index ba0bc3e39c87dfee0b5d9b1d7248de02905c6766..997b71431d6187756e930ec9cbdae75a5de28afc 100644 (file)
 #undef fread_unlocked
 
 _IO_size_t
-__fread_unlocked (buf, size, count, fp)
-     void *buf;
-     _IO_size_t size;
-     _IO_size_t count;
-     _IO_FILE *fp;
+__fread_unlocked (void *buf, _IO_size_t size, _IO_size_t count, _IO_FILE *fp)
 {
   _IO_size_t bytes_requested = size * count;
   _IO_size_t bytes_read;
index 21cc2f73e75235ef51717fd6ca68433c172a62d7..ab031d1e1156ed5e7af5b6a6714b59067c21942c 100644 (file)
@@ -39,9 +39,7 @@
 #include <shlib-compat.h>
 
 int
-_IO_new_fsetpos (fp, posp)
-     _IO_FILE *fp;
-     const _IO_fpos_t *posp;
+_IO_new_fsetpos (_IO_FILE *fp, const _IO_fpos_t *posp)
 {
   int result;
   CHECK_FILE (fp, EOF);
index 95ade6e701df4f9d01d5b987bca76b634e13bce9..d0e7cfbf71867d7e3de9d04671d3af3d2424797b 100644 (file)
@@ -31,9 +31,7 @@
 #ifndef __OFF_T_MATCHES_OFF64_T
 
 int
-_IO_new_fsetpos64 (fp, posp)
-     _IO_FILE *fp;
-     const _IO_fpos64_t *posp;
+_IO_new_fsetpos64 (_IO_FILE *fp, const _IO_fpos64_t *posp)
 {
   int result;
   CHECK_FILE (fp, EOF);
index 5b7fec6ae40568df19493a0f008d1e1f649e9ef6..cf5b7134f4a9032e3e74717c4accdb5384860ef5 100644 (file)
@@ -30,8 +30,7 @@
 /* ANSI explicily requires setting errno to a positive value on failure. */
 
 long int
-_IO_ftell (fp)
-     _IO_FILE *fp;
+_IO_ftell (_IO_FILE *fp)
 {
   _IO_off64_t pos;
   CHECK_FILE (fp, -1L);
index 891314693a33c5aca13d21f7f6d222a420c4b3c1..48ad4bcc7175711adbb6b862f2bfe3f46a3a7eec 100644 (file)
 #include "libioP.h"
 
 _IO_size_t
-_IO_fwrite (buf, size, count, fp)
-     const void *buf;
-     _IO_size_t size;
-     _IO_size_t count;
-     _IO_FILE *fp;
+_IO_fwrite (const void *buf, _IO_size_t size, _IO_size_t count, _IO_FILE *fp)
 {
   _IO_size_t request = size * count;
   _IO_size_t written = 0;
index ac93044bb55b6dc1c1eeb3d5eb1737e14a81dacf..acc71ccdd65f0a4330a15bc2146ce2f16d6b39ac 100644 (file)
    null terminator), or -1 on error or EOF.  */
 
 _IO_ssize_t
-_IO_getdelim (lineptr, n, delimiter, fp)
-     char **lineptr;
-     _IO_size_t *n;
-     int delimiter;
-     _IO_FILE *fp;
+_IO_getdelim (char **lineptr, _IO_size_t *n, int delimiter, _IO_FILE *fp)
 {
   _IO_ssize_t result;
   _IO_ssize_t cur_len = 0;
index 9851e7744c80c64e1e4c756bfb65a7835fcdd604..ead0cb2f6fb97f8dcfdedf868117060d5a9caad5 100644 (file)
@@ -27,9 +27,8 @@
 #include "libioP.h"
 #include <limits.h>
 
-char*
-_IO_gets (buf)
-     char *buf;
+char *
+_IO_gets (char *buf)
 {
   _IO_size_t count;
   int ch;
index 304ce0877c5f347f589a949308b25e62d6c203df..b0acd8eb4a254017fbade302409c4df1908260ea 100644 (file)
@@ -33,10 +33,7 @@ static char const zeroes[PADSIZE] =
 {'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'};
 
 _IO_ssize_t
-_IO_padn (fp, pad, count)
-      _IO_FILE *fp;
-      int pad;
-      _IO_ssize_t count;
+_IO_padn (_IO_FILE *fp, int pad, _IO_ssize_t count)
 {
   char padbuf[PADSIZE];
   const char *padptr;
index 53da776d86a904c204c49752bf895d9c52e51b95..bb6e9960667fbf0a0349eb217727ba1d2c9a5662 100644 (file)
@@ -106,10 +106,7 @@ unlock (void *not_used)
 #endif
 
 _IO_FILE *
-_IO_new_proc_open (fp, command, mode)
-     _IO_FILE *fp;
-     const char *command;
-     const char *mode;
+_IO_new_proc_open (_IO_FILE *fp, const char *command, const char *mode)
 {
   int read_or_write;
   int parent_end, child_end;
@@ -272,9 +269,7 @@ _IO_new_proc_open (fp, command, mode)
 }
 
 _IO_FILE *
-_IO_new_popen (command, mode)
-     const char *command;
-     const char *mode;
+_IO_new_popen (const char *command, const char *mode)
 {
   struct locked_FILE
   {
@@ -306,8 +301,7 @@ _IO_new_popen (command, mode)
 }
 
 int
-_IO_new_proc_close (fp)
-     _IO_FILE *fp;
+_IO_new_proc_close (_IO_FILE *fp)
 {
   /* This is not name-space clean. FIXME! */
   int wstatus;
index 39b4bb72185ec11c08c9697de6ac0c3eefbbd5b8..c05e40e48205ff1d4eb95fa0ff315f971e2e7a89 100644 (file)
@@ -29,8 +29,7 @@
 #include <limits.h>
 
 int
-_IO_puts (str)
-     const char *str;
+_IO_puts (const char *str)
 {
   int result = EOF;
   _IO_size_t len = strlen (str);
index 11765cfb76bc82c22d1777b29fd80de19966581c..ef5c7d94d5fa4280c4661b6b05aa29b44ec78c28 100644 (file)
@@ -35,11 +35,7 @@ extern int errno;
 #endif
 
 _IO_off64_t
-_IO_seekoff_unlocked (fp, offset, dir, mode)
-     _IO_FILE *fp;
-     _IO_off64_t offset;
-     int dir;
-     int mode;
+_IO_seekoff_unlocked (_IO_FILE *fp, _IO_off64_t offset, int dir, int mode)
 {
   if (dir != _IO_seek_cur && dir != _IO_seek_set && dir != _IO_seek_end)
     {
@@ -71,11 +67,7 @@ _IO_seekoff_unlocked (fp, offset, dir, mode)
 
 
 _IO_off64_t
-_IO_seekoff (fp, offset, dir, mode)
-     _IO_FILE *fp;
-     _IO_off64_t offset;
-     int dir;
-     int mode;
+_IO_seekoff (_IO_FILE *fp, _IO_off64_t offset, int dir, int mode)
 {
   _IO_off64_t retval;
 
index a7652a1dde5028edcb0c15dd46311d5d15f50243..2616985d4821c924b111ddf6669eca0096f8d0e1 100644 (file)
 #include <libioP.h>
 
 _IO_off64_t
-_IO_seekpos_unlocked (fp, pos, mode)
-     _IO_FILE *fp;
-     _IO_off64_t pos;
-     int mode;
+_IO_seekpos_unlocked (_IO_FILE *fp, _IO_off64_t pos, int mode)
 {
   /* If we have a backup buffer, get rid of it, since the __seekoff
      callback may not know to do the right thing about it.
@@ -51,10 +48,7 @@ _IO_seekpos_unlocked (fp, pos, mode)
 
 
 _IO_off64_t
-_IO_seekpos (fp, pos, mode)
-     _IO_FILE *fp;
-     _IO_off64_t pos;
-     int mode;
+_IO_seekpos (_IO_FILE *fp, _IO_off64_t pos, int mode)
 {
   _IO_off64_t retval;
 
index 0a41c101239c37fafc7ba97e8a8b0ab92dc37edd..4e10dceae17f5439cead4014d45ce0c5b78f8352 100644 (file)
 #include "libioP.h"
 
 void
-_IO_setbuffer (fp, buf, size)
-     _IO_FILE *fp;
-     char *buf;
-     _IO_size_t size;
+_IO_setbuffer (_IO_FILE *fp, char *buf, _IO_size_t size)
 {
   CHECK_FILE (fp, );
   _IO_acquire_lock (fp);
index 71a64f8fae4f2a208ca76e4cf2e8422028e9f464..5e3dd9458e32c3a04483a492a0f5d61d04b76037 100644 (file)
 #define _IONBF 2 /* No buffering. */
 
 int
-_IO_setvbuf (fp, buf, mode, size)
-     _IO_FILE *fp;
-     char *buf;
-     int mode;
-     _IO_size_t size;
+_IO_setvbuf (_IO_FILE *fp, char *buf, int mode, _IO_size_t size)
 {
   int result;
   CHECK_FILE (fp, EOF);
index 85533991315b6ae26e827d21ee26f20d18208ea8..7f1fdafb3230cb78a6c48f00f1f62a91c5d07db1 100644 (file)
@@ -27,9 +27,7 @@
 #include "libioP.h"
 
 int
-_IO_ungetc (c, fp)
-     int c;
-     _IO_FILE *fp;
+_IO_ungetc (int c, _IO_FILE *fp)
 {
   int result;
   CHECK_FILE (fp, EOF);
index afc5ce419753b5b526e362591ae16e7b05b768d0..25fe67e4259d46a38a6c01b87a2f480e074ca7c1 100644 (file)
@@ -28,9 +28,7 @@
 #include <wchar.h>
 
 wint_t
-ungetwc (c, fp)
-     wint_t c;
-     _IO_FILE *fp;
+ungetwc (wint_t c, _IO_FILE *fp)
 {
   wint_t result;
   CHECK_FILE (fp, WEOF);
index 116912a1aff4e533ea46dbc4bfdd39664769d7bc..f49ff5f931cee5cb99c9a2273ce9042d3238c748 100644 (file)
 #include <stdio_ext.h>
 
 int
-_IO_vdprintf (d, format, arg)
-     int d;
-     const char *format;
-     _IO_va_list arg;
+_IO_vdprintf (int d, const char *format, _IO_va_list arg)
 {
   struct _IO_FILE_plus tmpfil;
   struct _IO_wide_data wd;
index c4fbd1b6105caf355a114a97a6c26665d43ef4ee..be8346e213e9e17079726ce83c751369122c056f 100644 (file)
 #include "strfile.h"
 
 int
-_IO_vsscanf (string, format, args)
-     const char *string;
-     const char *format;
-     _IO_va_list args;
+_IO_vsscanf (const char *string, const char *format, _IO_va_list args)
 {
   int ret;
   _IO_strfile sf;
index e65a6492a60fce7cf9a65db824251a3e9dd89244..affbd32bd03b24a594f587e0b1abcad40aa04a8c 100644 (file)
@@ -39,10 +39,7 @@ static wchar_t const zeroes[PADSIZE] =
 };
 
 _IO_ssize_t
-_IO_wpadn (fp, pad, count)
-      _IO_FILE *fp;
-      wint_t pad;
-      _IO_ssize_t count;
+_IO_wpadn (_IO_FILE *fp, wint_t pad, _IO_ssize_t count)
 {
   wchar_t padbuf[PADSIZE];
   const wchar_t *padptr;
index 096cd28500e8806d742001edc1a654cfa760fc48..677acc18980cb918aa9bbce5deb145bdcd8d7092 100644 (file)
@@ -19,8 +19,7 @@
 
 /* Abort with an error message.  */
 void
-__libc_fatal (message)
-     const char *message;
+__libc_fatal (const char *message)
 {
   /* This function should write MESSAGE out in the most reliable way.
      It is called in situations like internal stdio lossage.  */
index 84742d123609437c455de8883ed93851a4bbde52..58a348480708b80efaf79412da396d1f2e446b96 100644 (file)
@@ -61,9 +61,7 @@ static const struct _IO_jump_t _IO_mem_jumps =
    necessary.  *BUFLOC and *SIZELOC are updated with the buffer's location
    and the number of characters written on fflush or fclose.  */
 _IO_FILE *
-__open_memstream (bufloc, sizeloc)
-     char **bufloc;
-     _IO_size_t *sizeloc;
+__open_memstream (char **bufloc, _IO_size_t *sizeloc)
 {
   struct locked_FILE
   {
@@ -105,8 +103,7 @@ weak_alias (__open_memstream, open_memstream)
 
 
 static int
-_IO_mem_sync (fp)
-     _IO_FILE* fp;
+_IO_mem_sync (_IO_FILE *fp)
 {
   struct _IO_FILE_memstream *mp = (struct _IO_FILE_memstream *) fp;
 
@@ -126,9 +123,7 @@ _IO_mem_sync (fp)
 
 
 static void
-_IO_mem_finish (fp, dummy)
-     _IO_FILE* fp;
-     int dummy;
+_IO_mem_finish (_IO_FILE *fp, int dummy)
 {
   struct _IO_FILE_memstream *mp = (struct _IO_FILE_memstream *) fp;
 
index 25797c830ef80b72e6136fb5b726a45b22879fe2..4bf0ddb5436b05b4c6d157ae9c2373dd42a39e47 100644 (file)
@@ -114,8 +114,7 @@ extern int errno;
 
 void
 attribute_compat_text_section
-_IO_old_file_init (fp)
-     struct _IO_FILE_plus *fp;
+_IO_old_file_init (struct _IO_FILE_plus *fp)
 {
   /* POSIX.1 allows another file handle to be used to change the position
      of our file descriptor.  Hence we actually don't know the actual
@@ -141,8 +140,7 @@ _IO_old_file_init (fp)
 
 int
 attribute_compat_text_section
-_IO_old_file_close_it (fp)
-     _IO_FILE *fp;
+_IO_old_file_close_it (_IO_FILE *fp)
 {
   int write_status, close_status;
   if (!_IO_file_is_open (fp))
@@ -170,9 +168,7 @@ _IO_old_file_close_it (fp)
 
 void
 attribute_compat_text_section
-_IO_old_file_finish (fp, dummy)
-     _IO_FILE *fp;
-     int dummy;
+_IO_old_file_finish (_IO_FILE *fp, int dummy)
 {
   if (_IO_file_is_open (fp))
     {
@@ -185,10 +181,7 @@ _IO_old_file_finish (fp, dummy)
 
 _IO_FILE *
 attribute_compat_text_section
-_IO_old_file_fopen (fp, filename, mode)
-     _IO_FILE *fp;
-     const char *filename;
-     const char *mode;
+_IO_old_file_fopen (_IO_FILE *fp, const char *filename, const char *mode)
 {
   int oflags = 0, omode;
   int read_write, fdesc;
@@ -235,9 +228,7 @@ _IO_old_file_fopen (fp, filename, mode)
 
 _IO_FILE *
 attribute_compat_text_section
-_IO_old_file_attach (fp, fd)
-     _IO_FILE *fp;
-     int fd;
+_IO_old_file_attach (_IO_FILE *fp, int fd)
 {
   if (_IO_file_is_open (fp))
     return NULL;
@@ -255,10 +246,7 @@ _IO_old_file_attach (fp, fd)
 
 _IO_FILE *
 attribute_compat_text_section
-_IO_old_file_setbuf (fp, p, len)
-     _IO_FILE *fp;
-     char *p;
-     _IO_ssize_t len;
+_IO_old_file_setbuf (_IO_FILE *fp, char *p, _IO_ssize_t len)
 {
     if (_IO_default_setbuf (fp, p, len) == NULL)
       return NULL;
@@ -277,10 +265,7 @@ static int old_do_write (_IO_FILE *, const char *, _IO_size_t);
 
 int
 attribute_compat_text_section
-_IO_old_do_write (fp, data, to_do)
-     _IO_FILE *fp;
-     const char *data;
-     _IO_size_t to_do;
+_IO_old_do_write (_IO_FILE *fp, const char *data, _IO_size_t to_do)
 {
   return (to_do == 0 || (_IO_size_t) old_do_write (fp, data, to_do) == to_do)
         ? 0 : EOF;
@@ -288,10 +273,7 @@ _IO_old_do_write (fp, data, to_do)
 
 static int
 attribute_compat_text_section
-old_do_write (fp, data, to_do)
-     _IO_FILE *fp;
-     const char *data;
-     _IO_size_t to_do;
+old_do_write (_IO_FILE *fp, const char *data, _IO_size_t to_do)
 {
   _IO_size_t count;
   if (fp->_flags & _IO_IS_APPENDING)
@@ -321,8 +303,7 @@ old_do_write (fp, data, to_do)
 
 int
 attribute_compat_text_section
-_IO_old_file_underflow (fp)
-     _IO_FILE *fp;
+_IO_old_file_underflow (_IO_FILE *fp)
 {
   _IO_ssize_t count;
 #if 0
@@ -386,9 +367,7 @@ _IO_old_file_underflow (fp)
 
 int
 attribute_compat_text_section
-_IO_old_file_overflow (f, ch)
-      _IO_FILE *f;
-      int ch;
+_IO_old_file_overflow (_IO_FILE *f, int ch)
 {
   if (f->_flags & _IO_NO_WRITES) /* SET ERROR */
     {
@@ -438,8 +417,7 @@ _IO_old_file_overflow (f, ch)
 
 int
 attribute_compat_text_section
-_IO_old_file_sync (fp)
-     _IO_FILE *fp;
+_IO_old_file_sync (_IO_FILE *fp)
 {
   _IO_ssize_t delta;
   int retval = 0;
@@ -473,11 +451,7 @@ _IO_old_file_sync (fp)
 
 _IO_off64_t
 attribute_compat_text_section
-_IO_old_file_seekoff (fp, offset, dir, mode)
-     _IO_FILE *fp;
-     _IO_off64_t offset;
-     int dir;
-     int mode;
+_IO_old_file_seekoff (_IO_FILE *fp, _IO_off64_t offset, int dir, int mode)
 {
   _IO_off_t result;
   _IO_off64_t delta, new_offset;
@@ -660,10 +634,7 @@ resync:
 
 _IO_ssize_t
 attribute_compat_text_section
-_IO_old_file_write (f, data, n)
-     _IO_FILE *f;
-     const void *data;
-     _IO_ssize_t n;
+_IO_old_file_write (_IO_FILE *f, const void *data, _IO_ssize_t n)
 {
   _IO_ssize_t to_do = n;
   while (to_do > 0)
@@ -685,10 +656,7 @@ _IO_old_file_write (f, data, n)
 
 _IO_size_t
 attribute_compat_text_section
-_IO_old_file_xsputn (f, data, n)
-     _IO_FILE *f;
-     const void *data;
-     _IO_size_t n;
+_IO_old_file_xsputn (_IO_FILE *f, const void *data, _IO_size_t n)
 {
   const char *s = (char *) data;
   _IO_size_t to_do = n;
index a967c2d20492a2e276be9876e7cd2be088377440..aee8c538ca624cd8a6ac2eda848c9315bce75e9e 100644 (file)
@@ -33,8 +33,7 @@
 
 int
 attribute_compat_text_section
-_IO_old_fclose (fp)
-     _IO_FILE *fp;
+_IO_old_fclose (_IO_FILE *fp)
 {
   int status;
 
index e068ec70fce1819935878320fd575cabd7a4ecf7..f701858df61361b890bf852c37708a7c21fcc87c 100644 (file)
@@ -38,9 +38,7 @@
 
 _IO_FILE *
 attribute_compat_text_section
-_IO_old_fdopen (fd, mode)
-     int fd;
-     const char *mode;
+_IO_old_fdopen (int fd, const char *mode)
 {
   int read_write;
   int posix_mode = 0;
index e76a5a158fa2c694493ad2d0c366c4c8e2b55664..0b4c3509e3f373d36d94ba394c15611b9272c11f 100644 (file)
@@ -32,9 +32,7 @@
 
 int
 attribute_compat_text_section
-_IO_old_fgetpos (fp, posp)
-     _IO_FILE *fp;
-     _IO_fpos_t *posp;
+_IO_old_fgetpos (_IO_FILE *fp, _IO_fpos_t *posp)
 {
   _IO_off_t pos;
   CHECK_FILE (fp, EOF);
index db27f88b70615ec18cd9037c647150ed48bd881c..5a0b02be0540c086a39a53e71c5452b4c5df6867 100644 (file)
@@ -32,9 +32,7 @@
 
 int
 attribute_compat_text_section
-_IO_old_fgetpos64 (fp, posp)
-     _IO_FILE *fp;
-     _IO_fpos64_t *posp;
+_IO_old_fgetpos64 (_IO_FILE *fp, _IO_fpos64_t *posp)
 {
   _IO_off64_t pos;
   CHECK_FILE (fp, EOF);
index a90a60168b3129bf5f0fb37eb0699f51139c0089..0441d007d73d7190d4153a39d2650733dff06175 100644 (file)
@@ -34,9 +34,7 @@
 
 _IO_FILE *
 attribute_compat_text_section
-_IO_old_fopen (filename, mode)
-     const char *filename;
-     const char *mode;
+_IO_old_fopen (const char *filename, const char *mode)
 {
   struct locked_FILE
   {
index 24571b471919c5311fb54912028c05a7b28a47af..b85cb82b02f0bd6a6aa441d27a8aadd0318005d8 100644 (file)
@@ -31,9 +31,7 @@
 #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
 int
 attribute_compat_text_section
-_IO_old_fsetpos (fp, posp)
-     _IO_FILE *fp;
-     const _IO_fpos_t *posp;
+_IO_old_fsetpos (_IO_FILE *fp, const _IO_fpos_t *posp)
 {
   int result;
   CHECK_FILE (fp, EOF);
index 3b8eba1a543c68f6b1072b56f6fc7e5c355f8d3e..914c5715b1b7f905ed7caa06ff99367f84d3880c 100644 (file)
@@ -32,9 +32,7 @@
 
 int
 attribute_compat_text_section
-_IO_old_fsetpos64 (fp, posp)
-     _IO_FILE *fp;
-     const _IO_fpos64_t *posp;
+_IO_old_fsetpos64 (_IO_FILE *fp, const _IO_fpos64_t *posp)
 {
   int result;
   CHECK_FILE (fp, EOF);
index fb4c7b859721305fd662e1b4a171a0e6c1910481..b22aa464a429b247e17197423bef4f9ec7c180a4 100644 (file)
@@ -115,10 +115,7 @@ unlock (void *not_used)
 
 _IO_FILE *
 attribute_compat_text_section
-_IO_old_proc_open (fp, command, mode)
-     _IO_FILE *fp;
-     const char *command;
-     const char *mode;
+_IO_old_proc_open (_IO_FILE *fp, const char *command, const char *mode)
 {
   volatile int read_or_write;
   volatile int parent_end, child_end;
@@ -194,9 +191,7 @@ _IO_old_proc_open (fp, command, mode)
 
 _IO_FILE *
 attribute_compat_text_section
-_IO_old_popen (command, mode)
-     const char *command;
-     const char *mode;
+_IO_old_popen (const char *command, const char *mode)
 {
   struct locked_FILE
   {
@@ -229,8 +224,7 @@ _IO_old_popen (command, mode)
 
 int
 attribute_compat_text_section
-_IO_old_proc_close (fp)
-     _IO_FILE *fp;
+_IO_old_proc_close (_IO_FILE *fp)
 {
   /* This is not name-space clean. FIXME! */
   int wstatus;
index cafa405110b133147da8dc39f7349463c1eb35bc..2f2949087619774ea8cd0dfad69817248e3d2dd8 100644 (file)
@@ -34,8 +34,7 @@
 
 int
 attribute_compat_text_section
-__old_pclose (fp)
-     FILE *fp;
+__old_pclose (FILE *fp)
 {
 #if 0
   /* Does not actually test that stream was created by popen(). Instead,
index 019b74d9d1c0d31ee49a12ae8d87990f4340e9ff..e79860ef945b990bc63c6df0b161e8bba6c6c01f 100644 (file)
@@ -30,8 +30,7 @@
 #include <shlib-compat.h>
 
 int
-__new_pclose (fp)
-     FILE *fp;
+__new_pclose (FILE *fp)
 {
 #if 0
   /* Does not actually test that stream was created by popen(). Instead,
index c7b443bb1f5abc63c349ba81489a8e41f07b62e3..af3b909e1622d7992763de62326d8c28033f78a3 100644 (file)
@@ -30,8 +30,7 @@
 #undef _IO_peekc
 
 int
-_IO_peekc_locked (fp)
-     _IO_FILE *fp;
+_IO_peekc_locked (_IO_FILE *fp)
 {
   int result;
   CHECK_FILE (fp, EOF);
index 46140de1e67918c162c44eb016005c0ae7dcaaa1..fa0d72c6661ad0e88ebfc7f3d03eff10212defb3 100644 (file)
@@ -21,9 +21,7 @@
 #undef _IO_putc
 
 int
-_IO_putc (c, fp)
-     int c;
-     _IO_FILE *fp;
+_IO_putc (int c, _IO_FILE *fp)
 {
   int result;
   CHECK_FILE (fp, EOF);
index e97a78e40c1a6e83ec10c8a5cf4f4e0652a541ed..80636dc11096583e2d6e8b3e654f92b09b2ab022 100644 (file)
@@ -21,9 +21,7 @@
 #undef putc_unlocked
 
 int
-putc_unlocked (c, fp)
-     int c;
-     _IO_FILE *fp;
+putc_unlocked (int c, _IO_FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_putc_unlocked (c, fp);
index d401d2b6c9a65e4b9db2aee9194905a81e5a040e..ca8910a9021d0e82d7b835a68a2c0e3f223a1a47 100644 (file)
@@ -21,8 +21,7 @@
 #undef putchar
 
 int
-putchar (c)
-     int c;
+putchar (int c)
 {
   int result;
   _IO_acquire_lock (_IO_stdout);
index 2fd767b717e924bfff665f6485e9846d1f40add4..2b905723a0fc236cfd4001e946590b5fa6dfa479 100644 (file)
@@ -21,8 +21,7 @@
 #undef putchar_unlocked
 
 int
-putchar_unlocked (c)
-     int c;
+putchar_unlocked (int c)
 {
   CHECK_FILE (_IO_stdout, EOF);
   return _IO_putc_unlocked (c, _IO_stdout);
index b441f2469948c7f785530fa41f96f57b5a4401bd..91e1b070417fd37cd844785531905104319e70b4 100644 (file)
@@ -19,9 +19,7 @@
 #include <wchar.h>
 
 wint_t
-putwc (wc, fp)
-     wchar_t wc;
-     _IO_FILE *fp;
+putwc (wchar_t wc, _IO_FILE *fp)
 {
   wint_t result;
   CHECK_FILE (fp, WEOF);
index e2f59ec2b5bb8fdae3cf104c2a116d5c4d93ae02..0079f142f18882c2cd4c95a7a5bf88d876cccfde 100644 (file)
@@ -19,9 +19,7 @@
 #include <wchar.h>
 
 wint_t
-putwc_unlocked (wc, fp)
-     wchar_t wc;
-     _IO_FILE *fp;
+putwc_unlocked (wchar_t wc, _IO_FILE *fp)
 {
   CHECK_FILE (fp, WEOF);
   return _IO_putwc_unlocked (wc, fp);
index 41d834b144010479d049540f98aed326bb20d94c..0fefe3a3ac8bc7b2330a35c823d5cb64ce48fe44 100644 (file)
@@ -19,8 +19,7 @@
 #include <wchar.h>
 
 wint_t
-putwchar (wc)
-     wchar_t wc;
+putwchar (wchar_t wc)
 {
   wint_t result;
   _IO_acquire_lock (_IO_stdout);
index dec9e38c7d96fc6fd93069ee4bbe4eada6dec20f..792aec4b44c1f484931ddedb5cbbc647931a74bb 100644 (file)
@@ -19,8 +19,7 @@
 #include <wchar.h>
 
 wint_t
-putwchar_unlocked (wc)
-     wchar_t wc;
+putwchar_unlocked (wchar_t wc)
 {
   CHECK_FILE (_IO_stdout, WEOF);
   return _IO_putwc_unlocked (wc, _IO_stdout);
index baa804a05eb0079e1ecd018e5c08abd21f7ef280..5a19106db8d09e5981b62fac66cba22fcb608fda 100644 (file)
@@ -28,8 +28,7 @@
 #include <stdio.h>
 
 void
-rewind (fp)
-     _IO_FILE *fp;
+rewind (_IO_FILE *fp)
 {
   CHECK_FILE (fp, );
   _IO_acquire_lock (fp);
index a418bc1f32efd3825814c2ad37ffa0f28e33985f..251b48795844ee54499bd8dbc3e914bbe2394d31 100644 (file)
@@ -28,9 +28,7 @@
 #include "stdio.h"
 
 void
-setbuf (fp, buf)
-     _IO_FILE *fp;
-     char *buf;
+setbuf (_IO_FILE *fp, char *buf)
 {
   _IO_setbuffer (fp, buf, _IO_BUFSIZ);
 }
index 482f0af9359280adeee0be5b63e4cedefc6c7daa..ea763cf26adda55846cee880bb74adc314fc6c44 100644 (file)
@@ -30,8 +30,7 @@
 #undef setlinebuf
 
 void
-setlinebuf (stream)
-     _IO_FILE *stream;
+setlinebuf (_IO_FILE *stream)
 {
   _IO_setvbuf (stream, NULL, 1, 0);
 }
index 7f9c1050ffada6b1c463f75e339e8abd3d1c4d23..61cdfdd0e2a41435023de2563396094dbc8d55fb 100644 (file)
 #include "strfile.h"
 
 int
-_IO_vasprintf (result_ptr, format, args)
-     char **result_ptr;
-     const char *format;
-     _IO_va_list args;
+_IO_vasprintf (char **result_ptr, const char *format, _IO_va_list args)
 {
   /* Initial size of the buffer to be used.  Will be doubled each time an
      overflow occurs.  */
index 5a17c1d419de8c802c5f75dfd2aeb6dd884a76bf..223f84f9c559900db9badde3093b5c81c1b3f05c 100644 (file)
@@ -30,9 +30,7 @@
 #undef vscanf
 
 int
-_IO_vscanf (format, args)
-     const char *format;
-     _IO_va_list args;
+_IO_vscanf (const char *format, _IO_va_list args)
 {
   return _IO_vfscanf (_IO_stdin, format, args, NULL);
 }
index e2752d8d84a8eec008d0bc4bc36c70c578721432..fdceb3d786da0f72e9eb9621e0e09f20366dd495 100644 (file)
@@ -30,9 +30,7 @@
 static int _IO_strn_overflow (_IO_FILE *fp, int c) __THROW;
 
 static int
-_IO_strn_overflow (fp, c)
-     _IO_FILE *fp;
-     int c;
+_IO_strn_overflow (_IO_FILE *fp, int c)
 {
   /* When we come to here this means the user supplied buffer is
      filled.  But since we must return the number of characters which
index c10e586b3550f7e0ae5218fef7d2a7e85274a01a..1533a6d02d4a9b9d8254ce96c0accd3026bc7190 100644 (file)
@@ -31,9 +31,7 @@
 static wint_t _IO_wstrn_overflow (_IO_FILE *fp, wint_t c) __THROW;
 
 static wint_t
-_IO_wstrn_overflow (fp, c)
-     _IO_FILE *fp;
-     wint_t c;
+_IO_wstrn_overflow (_IO_FILE *fp, wint_t c)
 {
   /* When we come to here this means the user supplied buffer is
      filled.  But since we must return the number of characters which
index 4acf3f8fc7ebdb5a8de456fec74a4e13e0291198..dc71092433de0a1adc8f4f9ccc99ec60bd15bb31 100644 (file)
@@ -78,8 +78,7 @@
  */
 
 int
-_IO_wfile_doallocate (fp)
-     _IO_FILE *fp;
+_IO_wfile_doallocate (_IO_FILE *fp)
 {
   _IO_size_t size;
   wchar_t *p;
index e7d2d1ca555c862fef4d8b1a08289c29c96a6814..e038f2c8bf638486a299e435c3f7c93c8e64a4ab 100644 (file)
@@ -48,9 +48,7 @@ static int save_for_wbackup (_IO_FILE *fp, wchar_t *end_p) __THROW
 /* Return minimum _pos markers
    Assumes the current get area is the main get area. */
 _IO_ssize_t
-_IO_least_wmarker (fp, end_p)
-     _IO_FILE *fp;
-     wchar_t *end_p;
+_IO_least_wmarker (_IO_FILE *fp, wchar_t *end_p)
 {
   _IO_ssize_t least_so_far = end_p - fp->_wide_data->_IO_read_base;
   struct _IO_marker *mark;
@@ -63,8 +61,7 @@ libc_hidden_def (_IO_least_wmarker)
 
 /* Switch current get area from backup buffer to (start of) main get area. */
 void
-_IO_switch_to_main_wget_area (fp)
-     _IO_FILE *fp;
+_IO_switch_to_main_wget_area (_IO_FILE *fp)
 {
   wchar_t *tmp;
   fp->_flags &= ~_IO_IN_BACKUP;
@@ -84,8 +81,7 @@ libc_hidden_def (_IO_switch_to_main_wget_area)
 
 /* Switch current get area from main get area to (end of) backup area. */
 void
-_IO_switch_to_wbackup_area (fp)
-     _IO_FILE *fp;
+_IO_switch_to_wbackup_area (_IO_FILE *fp)
 {
   wchar_t *tmp;
   fp->_flags |= _IO_IN_BACKUP;
@@ -104,11 +100,7 @@ libc_hidden_def (_IO_switch_to_wbackup_area)
 
 
 void
-_IO_wsetb (f, b, eb, a)
-     _IO_FILE *f;
-     wchar_t *b;
-     wchar_t *eb;
-     int a;
+_IO_wsetb (_IO_FILE *f, wchar_t *b, wchar_t *eb, int a)
 {
   if (f->_wide_data->_IO_buf_base && !(f->_flags2 & _IO_FLAGS2_USER_WBUF))
     free (f->_wide_data->_IO_buf_base);
@@ -123,9 +115,7 @@ libc_hidden_def (_IO_wsetb)
 
 
 wint_t
-_IO_wdefault_pbackfail (fp, c)
-     _IO_FILE *fp;
-     wint_t c;
+_IO_wdefault_pbackfail (_IO_FILE *fp, wint_t c)
 {
   if (fp->_wide_data->_IO_read_ptr > fp->_wide_data->_IO_read_base
       && !_IO_in_backup (fp)
@@ -188,9 +178,7 @@ libc_hidden_def (_IO_wdefault_pbackfail)
 
 
 void
-_IO_wdefault_finish (fp, dummy)
-     _IO_FILE *fp;
-     int dummy;
+_IO_wdefault_finish (_IO_FILE *fp, int dummy)
 {
   struct _IO_marker *mark;
   if (fp->_wide_data->_IO_buf_base && !(fp->_flags2 & _IO_FLAGS2_USER_WBUF))
@@ -219,8 +207,7 @@ libc_hidden_def (_IO_wdefault_finish)
 
 
 wint_t
-_IO_wdefault_uflow (fp)
-     _IO_FILE *fp;
+_IO_wdefault_uflow (_IO_FILE *fp)
 {
   wint_t wch;
   wch = _IO_UNDERFLOW (fp);
@@ -232,9 +219,7 @@ libc_hidden_def (_IO_wdefault_uflow)
 
 
 wint_t
-__woverflow (f, wch)
-     _IO_FILE *f;
-     wint_t wch;
+__woverflow (_IO_FILE *f, wint_t wch)
 {
   if (f->_mode == 0)
     _IO_fwide (f, 1);
@@ -244,8 +229,7 @@ libc_hidden_def (__woverflow)
 
 
 wint_t
-__wuflow (fp)
-     _IO_FILE *fp;
+__wuflow (_IO_FILE *fp)
 {
   if (fp->_mode < 0 || (fp->_mode == 0 && _IO_fwide (fp, 1) != 1))
     return WEOF;
@@ -275,8 +259,7 @@ __wuflow (fp)
 libc_hidden_def (__wuflow)
 
 wint_t
-__wunderflow (fp)
-     _IO_FILE *fp;
+__wunderflow (_IO_FILE *fp)
 {
   if (fp->_mode < 0 || (fp->_mode == 0 && _IO_fwide (fp, 1) != 1))
     return WEOF;
@@ -307,10 +290,7 @@ libc_hidden_def (__wunderflow)
 
 
 _IO_size_t
-_IO_wdefault_xsputn (f, data, n)
-     _IO_FILE *f;
-     const void *data;
-     _IO_size_t n;
+_IO_wdefault_xsputn (_IO_FILE *f, const void *data, _IO_size_t n)
 {
   const wchar_t *s = (const wchar_t *) data;
   _IO_size_t more = n;
@@ -358,10 +338,7 @@ libc_hidden_def (_IO_wdefault_xsputn)
 
 
 _IO_size_t
-_IO_wdefault_xsgetn (fp, data, n)
-     _IO_FILE *fp;
-     void *data;
-     _IO_size_t n;
+_IO_wdefault_xsgetn (_IO_FILE *fp, void *data, _IO_size_t n)
 {
   _IO_size_t more = n;
   wchar_t *s = (wchar_t*) data;
@@ -405,8 +382,7 @@ libc_hidden_def (_IO_wdefault_xsgetn)
 
 
 void
-_IO_wdoallocbuf (fp)
-     _IO_FILE *fp;
+_IO_wdoallocbuf (_IO_FILE *fp)
 {
   if (fp->_wide_data->_IO_buf_base)
     return;
@@ -420,8 +396,7 @@ libc_hidden_def (_IO_wdoallocbuf)
 
 
 int
-_IO_wdefault_doallocate (fp)
-     _IO_FILE *fp;
+_IO_wdefault_doallocate (_IO_FILE *fp)
 {
   wchar_t *buf;
 
@@ -435,8 +410,7 @@ libc_hidden_def (_IO_wdefault_doallocate)
 
 
 int
-_IO_switch_to_wget_mode (fp)
-     _IO_FILE *fp;
+_IO_switch_to_wget_mode (_IO_FILE *fp)
 {
   if (fp->_wide_data->_IO_write_ptr > fp->_wide_data->_IO_write_base)
     if ((wint_t)_IO_WOVERFLOW (fp, WEOF) == WEOF)
@@ -460,8 +434,7 @@ _IO_switch_to_wget_mode (fp)
 libc_hidden_def (_IO_switch_to_wget_mode)
 
 void
-_IO_free_wbackup_area (fp)
-     _IO_FILE *fp;
+_IO_free_wbackup_area (_IO_FILE *fp)
 {
   if (_IO_in_backup (fp))
     _IO_switch_to_main_wget_area (fp);  /* Just in case. */
@@ -474,8 +447,7 @@ libc_hidden_def (_IO_free_wbackup_area)
 
 #if 0
 int
-_IO_switch_to_wput_mode (fp)
-     _IO_FILE *fp;
+_IO_switch_to_wput_mode (_IO_FILE *fp)
 {
   fp->_wide_data->_IO_write_base = fp->_wide_data->_IO_read_ptr;
   fp->_wide_data->_IO_write_ptr = fp->_wide_data->_IO_read_ptr;
@@ -594,9 +566,7 @@ save_for_wbackup (fp, end_p)
 }
 
 wint_t
-_IO_sputbackwc (fp, c)
-     _IO_FILE *fp;
-     wint_t c;
+_IO_sputbackwc (_IO_FILE *fp, wint_t c)
 {
   wint_t result;
 
@@ -617,8 +587,7 @@ _IO_sputbackwc (fp, c)
 libc_hidden_def (_IO_sputbackwc)
 
 wint_t
-_IO_sungetwc (fp)
-     _IO_FILE *fp;
+_IO_sungetwc (_IO_FILE *fp)
 {
   wint_t result;
 
@@ -638,10 +607,7 @@ _IO_sungetwc (fp)
 
 
 unsigned
-_IO_adjust_wcolumn (start, line, count)
-     unsigned start;
-     const wchar_t *line;
-     int count;
+_IO_adjust_wcolumn (unsigned start, const wchar_t *line, int count)
 {
   const wchar_t *ptr = line + count;
   while (ptr > line)
@@ -651,9 +617,7 @@ _IO_adjust_wcolumn (start, line, count)
 }
 
 void
-_IO_init_wmarker (marker, fp)
-     struct _IO_marker *marker;
-     _IO_FILE *fp;
+_IO_init_wmarker (struct _IO_marker *marker, _IO_FILE *fp)
 {
   marker->_sbuf = fp;
   if (_IO_in_put_mode (fp))
@@ -673,8 +637,7 @@ _IO_init_wmarker (marker, fp)
 
 /* Return difference between MARK and current position of MARK's stream. */
 int
-_IO_wmarker_delta (mark)
-     struct _IO_marker *mark;
+_IO_wmarker_delta (struct _IO_marker *mark)
 {
   int cur_pos;
   if (mark->_sbuf == NULL)
@@ -689,10 +652,7 @@ _IO_wmarker_delta (mark)
 }
 
 int
-_IO_seekwmark (fp, mark, delta)
-     _IO_FILE *fp;
-     struct _IO_marker *mark;
-     int delta;
+_IO_seekwmark (_IO_FILE *fp, struct _IO_marker *mark, int delta)
 {
   if (mark->_sbuf != fp)
     return EOF;
@@ -713,8 +673,7 @@ _IO_seekwmark (fp, mark, delta)
 }
 
 void
-_IO_unsave_wmarkers (fp)
-     _IO_FILE *fp;
+_IO_unsave_wmarkers (_IO_FILE *fp)
 {
   struct _IO_marker *mark = fp->_markers;
   if (mark)
index 61b5d8b3466ed2a8373bddec24bcce63d9c5cbbb..f20c9a3b9463e84e7a67d63da3999dfc6aae91b4 100644 (file)
@@ -62,9 +62,7 @@ static const struct _IO_jump_t _IO_wmem_jumps =
    necessary.  *BUFLOC and *SIZELOC are updated with the buffer's location
    and the number of characters written on fflush or fclose.  */
 _IO_FILE *
-open_wmemstream (bufloc, sizeloc)
-     wchar_t **bufloc;
-     _IO_size_t *sizeloc;
+open_wmemstream (wchar_t **bufloc, _IO_size_t *sizeloc)
 {
   struct locked_FILE
   {
@@ -105,8 +103,7 @@ open_wmemstream (bufloc, sizeloc)
 
 
 static int
-_IO_wmem_sync (fp)
-     _IO_FILE* fp;
+_IO_wmem_sync (_IO_FILE *fp)
 {
   struct _IO_FILE_wmemstream *mp = (struct _IO_FILE_wmemstream *) fp;
 
@@ -127,9 +124,7 @@ _IO_wmem_sync (fp)
 
 
 static void
-_IO_wmem_finish (fp, dummy)
-     _IO_FILE* fp;
-     int dummy;
+_IO_wmem_finish (_IO_FILE *fp, int dummy)
 {
   struct _IO_FILE_wmemstream *mp = (struct _IO_FILE_wmemstream *) fp;
 
index ccd7ea40018656246fde5cba4ba9a3d39075bada..69749a40f3229018f75fa85e80a207fb89aabb07 100644 (file)
@@ -26,8 +26,7 @@
 /* Return a string with the data for locale-dependent parameter ITEM.  */
 
 char *
-nl_langinfo (item)
-     nl_item item;
+nl_langinfo (nl_item item)
 {
   return __nl_langinfo_l (item, _NL_CURRENT_LOCALE);
 }
index 156e09a32f688cec4509bfb9631b1a63397ab198..db2b094cdac82771b4b39b6622183b3c4766e21d 100644 (file)
@@ -27,9 +27,7 @@
 /* Return a string with the data for locale-dependent parameter ITEM.  */
 
 char *
-__nl_langinfo_l (item, l)
-     nl_item item;
-     __locale_t l;
+__nl_langinfo_l (nl_item item, __locale_t l)
 {
   int category = _NL_ITEM_CATEGORY (item);
   unsigned int index = _NL_ITEM_INDEX (item);
index a4412f97872f20ea4ae8192e2139a27dea04b999..2c8118516549996bd045c6caa9828af27108c49f 100644 (file)
@@ -66,9 +66,7 @@ static int is_prime (unsigned long int candidate);
 
 
 int
-init_hash (htab, init_size)
-     hash_table *htab;
-     unsigned long int init_size;
+init_hash (hash_table *htab, unsigned long int init_size)
 {
   /* We need the size to be a prime.  */
   init_size = next_prime (init_size);
@@ -88,8 +86,7 @@ init_hash (htab, init_size)
 
 
 int
-delete_hash (htab)
-     hash_table *htab;
+delete_hash (hash_table *htab)
 {
   free (htab->table);
   obstack_free (&htab->mem_pool, NULL);
@@ -98,11 +95,7 @@ delete_hash (htab)
 
 
 int
-insert_entry (htab, key, keylen, data)
-     hash_table *htab;
-     const void *key;
-     size_t keylen;
-     void *data;
+insert_entry (hash_table *htab, const void *key, size_t keylen, void *data)
 {
   unsigned long int hval = compute_hashval (key, keylen);
   hash_entry *table = (hash_entry *) htab->table;
@@ -194,11 +187,7 @@ find_entry (htab, key, keylen, result)
 
 
 int
-set_entry (htab, key, keylen, newval)
-     hash_table *htab;
-     const void *key;
-     size_t keylen;
-     void *newval;
+set_entry (hash_table *htab, const void *key, size_t keylen, void *newval)
 {
   hash_entry *table = (hash_entry *) htab->table;
   size_t idx = lookup (htab, key, keylen, compute_hashval (key, keylen));
@@ -287,8 +276,7 @@ lookup (htab, key, keylen, hval)
 
 
 unsigned long int
-next_prime (seed)
-     unsigned long int seed;
+next_prime (unsigned long int seed)
 {
   /* Make it definitely odd.  */
   seed |= 1;
@@ -301,8 +289,7 @@ next_prime (seed)
 
 
 static int
-is_prime (candidate)
-     unsigned long int candidate;
+is_prime (unsigned long int candidate)
 {
   /* No even number and none less than 10 will be passed here.  */
   unsigned long int divn = 3;
index 36bc17fe89ce179b780203c2df1c9f91fde700aa..2528c5f37931bac44a07e18706588b2ed635af94 100644 (file)
@@ -52,8 +52,7 @@ void free ();
 int xmalloc_exit_failure = EXIT_FAILURE;
 
 static VOID *
-fixup_null_alloc (n)
-     size_t n;
+fixup_null_alloc (size_t n)
 {
   VOID *p;
 
@@ -68,8 +67,7 @@ fixup_null_alloc (n)
 /* Allocate N bytes of memory dynamically, with error checking.  */
 
 VOID *
-xmalloc (n)
-     size_t n;
+xmalloc (size_t n)
 {
   VOID *p;
 
@@ -98,9 +96,7 @@ xcalloc (n, s)
    If P is NULL, run xmalloc.  */
 
 VOID *
-xrealloc (p, n)
-     VOID *p;
-     size_t n;
+xrealloc (VOID *p, size_t n)
 {
   if (p == 0)
     return xmalloc (n);
index a8fadb3d153de863e3971191c3a0b317ed58a16a..445d67cd415b7abd632d911aff98dd5742ee205f 100644 (file)
@@ -30,8 +30,7 @@ char *xstrdup (char *string) __THROW;
 /* Return a newly allocated copy of STRING.  */
 
 char *
-xstrdup (string)
-     char *string;
+xstrdup (char *string)
 {
   return strcpy (xmalloc (strlen (string) + 1), string);
 }
index e2bb99c2a43a4f8ed0f145b2d8e45c806e6c2916..0b3ec7368b041980df7f5aab55abdae372752134 100644 (file)
@@ -121,9 +121,7 @@ main (int argc, char *argv[])
 
 
 static int
-xstrcoll (ptr1, ptr2)
-     const void *ptr1;
-     const void *ptr2;
+xstrcoll (const void *ptr1, const void *ptr2)
 {
   const struct lines *l1 = (const struct lines *) ptr1;
   const struct lines *l2 = (const struct lines *) ptr2;
index 3ab21402f24b9a84e684ff3dca356556d2ab9f40..35b1a638d8e14253bfb665e7601a97ac2711b64f 100644 (file)
@@ -172,9 +172,7 @@ main (int argc, char *argv[])
 
 
 static int
-xstrcmp (ptr1, ptr2)
-     const void *ptr1;
-     const void *ptr2;
+xstrcmp (const void *ptr1, const void *ptr2)
 {
   const struct lines *l1 = (const struct lines *) ptr1;
   const struct lines *l2 = (const struct lines *) ptr2;
index 8848b61544762a59484c13f81656376bf48d026a..2d9a903e8e5bc9990422da1a7566087a851233c3 100644 (file)
@@ -23,9 +23,7 @@
    If it cannot be determined or some other error occurred, return the error
    code.  Otherwise return 0.  */
 int
-__getlogin_r (name, name_len)
-     char *name;
-     size_t name_len;
+__getlogin_r (char *name, size_t name_len)
 {
   __set_errno (ENOSYS);
   return errno;
index a60f01bb996a05d69163d2e86532d3ee6cbe3b17..bfc712f942180e216e28a9c0d4709293e59815bd 100644 (file)
@@ -31,8 +31,7 @@ weak_alias (__getpt, getpt)
 
 /* We cannot define posix_openpt in general for BSD systems.  */
 int
-__posix_openpt (oflag)
-     int oflag;
+__posix_openpt (int oflag)
 {
   __set_errno (ENOSYS);
   return -1;
index 2ba276d4a96441b7d1bea302465f06a4e68043ed..a94f5cb861d1b36ac6004e523ef50806d0fcedc1 100644 (file)
@@ -39,8 +39,7 @@ static char sccsid[] = "@(#)login_tty.c       8.1 (Berkeley) 6/4/93";
 #include <utmp.h>
 
 int
-login_tty(fd)
-       int fd;
+login_tty (int fd)
 {
        (void) setsid();
 #ifdef TIOCSCTTY
index c07d7cb5ad606947114b584b30a3b62add2f111d..40b62a3335ecc291d31780b7bbd4ef3849a3594d 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Set the login name returned by `getlogin'.  */
 int
-setlogin (name)
-     const char *name;
+setlogin (const char *name)
 {
   __set_errno (ENOSYS);
   return -1;
index aad7a7709f500018786646a70ad81d2d9cb4fc17..bc7dd558e95309d5e3e7049212f299403278554f 100644 (file)
@@ -58,8 +58,7 @@ static void mach_msg_destroy_memory(vm_offset_t, vm_size_t);
  */
 
 void
-__mach_msg_destroy(msg)
-    mach_msg_header_t *msg;
+__mach_msg_destroy (mach_msg_header_t *msg)
 {
     mach_msg_bits_t mbits = msg->msgh_bits;
 
@@ -192,9 +191,7 @@ __mach_msg_destroy(msg)
 weak_alias (__mach_msg_destroy, mach_msg_destroy)
 
 static void
-mach_msg_destroy_port(port, type)
-    mach_port_t port;
-    mach_msg_type_name_t type;
+mach_msg_destroy_port (mach_port_t port, mach_msg_type_name_t type)
 {
     if (MACH_PORT_VALID(port)) switch (type) {
       case MACH_MSG_TYPE_MOVE_SEND:
@@ -227,9 +224,7 @@ mach_msg_destroy_port(port, type)
 }
 
 static void
-mach_msg_destroy_memory(addr, size)
-    vm_offset_t addr;
-    vm_size_t size;
+mach_msg_destroy_memory (vm_offset_t addr, vm_size_t size)
 {
     if (size > 0)
        (void) __vm_deallocate(__mach_task_self(), addr, size);
index d4303186a8f48bf4f5a8443c89a1dd35cc7d4895..6a5f01e2939396dda10720f235b8fc8df1fd635a 100644 (file)
@@ -69,10 +69,8 @@ static int pedantic;
 # define flood memset
 #else
 static void flood (__ptr_t, int, size_t);
-static void flood (ptr, val, size)
-__ptr_t ptr;
-int val;
-size_t size;
+static void
+flood (__ptr_t ptr, int val, size_t size)
 {
   char *cp = ptr;
   while (size--)
index c5569e5afa6f6413be0da73cf895bea7e4b458dc..54233170ab55913c0554f48cdd2d3f07d3d7c58e 100644 (file)
@@ -22,8 +22,7 @@
    a record for each process as it terminates, to this file.  If NAME is NULL,
    turn accounting off.  This call is restricted to the super-user.  */
 int
-acct (name)
-     const char *name;
+acct (const char *name)
 {
   __set_errno (ENOSYS);
   return -1;
index 28c4203399d84bea753956ce560d223b4f71f118..e3d4fa373c22d550e11f03b74e979230abbc4102 100644 (file)
@@ -24,8 +24,7 @@ void *__curbrk;
 /* Set the end of the process's data space to ADDR.
    Return 0 if successful, -1 if not.  */
 int
-__brk (addr)
-     void *addr;
+__brk (void *addr)
 {
   __set_errno (ENOSYS);
   return -1;
index 241be86be7e46ac348ba72a23f4ad0cd00fe7506..84cc606e002a6aa8064c9f73465a9581a5ab940e 100644 (file)
@@ -24,9 +24,7 @@
 int chflags (const char *file, unsigned long int flags) __THROW;
 
 int
-chflags (file, flags)
-     const char *file;
-     unsigned long int flags;
+chflags (const char *file, unsigned long int flags)
 {
   if (file == NULL)
     {
index 232a29f3635d4f828970e5f7ae3473fb77f800fd..4c0fe7d637348f5451b4d946af9345ad0eee7388 100644 (file)
@@ -21,8 +21,7 @@
 /* Make PATH be the root directory (the starting point for absolute paths).
    This call is restricted to the super-user.  */
 int
-chroot (path)
-     const char *path;
+chroot (const char *path)
 {
   __set_errno (ENOSYS);
   return -1;
index b9f267583bdd808a78e8e674f7a74079b219be41..ad0d728aa00ae20a8015f64b4077d01e5aaa6b5e 100644 (file)
@@ -24,9 +24,7 @@
 int fchflags (int fd, unsigned long int flags) __THROW;
 
 int
-fchflags (fd, flags)
-     int fd;
-     unsigned long int flags;
+fchflags (int fd, unsigned long int flags)
 {
   if (fd < 0)
     {
index 97c62feb5deba90f1bf637ab355b67c74c8a73db..244db81e477da00415542d3e0f1e3ac532309ca4 100644 (file)
@@ -61,8 +61,7 @@ getfsent (void)
 
 
 struct fstab *
-getfsspec (name)
-     const char *name;
+getfsspec (const char *name)
 {
   struct fstab_state *state;
   struct mntent *m;
@@ -78,8 +77,7 @@ getfsspec (name)
 
 
 struct fstab *
-getfsfile (name)
-     const char *name;
+getfsfile (const char *name)
 {
   struct fstab_state *state;
   struct mntent *m;
index 05f3acfc0a17f52894d960c9cef8cca73814b8fb..8f1d95909ea3fb7bd9600860a63bde4de2197eff 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Make all changes done to FD actually appear on disk.  */
 int
-fsync (fd)
-     int fd;
+fsync (int fd)
 {
   __set_errno (ENOSYS);
   return -1;
index 2d43c76a3750a2ffa5a1cb93bd1fde12a4a1cd72..a015c6e9907950ae904d2ae06af49bdce2adbdb0 100644 (file)
@@ -21,9 +21,7 @@
 
 /* Truncate the file referenced by FD to LENGTH bytes.  */
 int
-__ftruncate (fd, length)
-     int fd;
-     off_t length;
+__ftruncate (int fd, off_t length)
 {
   __set_errno (ENOSYS);
   return -1;
index 1c41fea5a51f9cd10960e3b674d77e6ce73a5786..2e71bed6e155863e40926fb288ec71b0e9929a49 100644 (file)
@@ -21,9 +21,7 @@
 
 /* Truncate the file referenced by FD to LENGTH bytes.  */
 int
-__ftruncate64 (fd, length)
-     int fd;
-     off64_t length;
+__ftruncate64 (int fd, off64_t length)
 {
   if ((off_t) length != length)
     {
index c5ab3a5e5eea3164c84b7fea587b3df3c874cc4f..db57c3dd553f3c740bb439c2b403bcd6545e3821 100644 (file)
@@ -29,9 +29,7 @@
 /* The `uname' information includes the domain name.  */
 
 int
-getdomainname (name, len)
-    char *name;
-    size_t len;
+getdomainname (char *name, size_t len)
 {
   struct utsname u;
   size_t u_len;
@@ -47,9 +45,7 @@ getdomainname (name, len)
 #else
 
 int
-getdomainname (name, len)
-     char *name;
-     size_t len;
+getdomainname (char *name, size_t len)
 {
   __set_errno (ENOSYS);
   return -1;
index 15097a80cec441f7eeca3f270972228d34121fdb..ca682b4cb1d867c067d0933dccfb6480185dedc9 100644 (file)
@@ -22,9 +22,7 @@
    The result is null-terminated if LEN is large enough for the full
    name and the terminator.  */
 int
-__gethostname (name, len)
-     char *name;
-     size_t len;
+__gethostname (char *name, size_t len)
 {
   __set_errno (ENOSYS);
   return -1;
index 78fe8f2b53f525e1ecb5e92538864465f5920af1..a6d1c8897594cd0143da1a28c489d51fcd6d3b92 100644 (file)
@@ -43,8 +43,7 @@ call_fclose (void *arg)
 }
 
 char *
-getpass (prompt)
-     const char *prompt;
+getpass (const char *prompt)
 {
   FILE *in, *out;
   struct termios s, t;
index fcdbc2274c4b0fc055f407ba0ae4fccc1987909c..d2af87012343b0596d50dfdecff14ecf55c16732 100644 (file)
@@ -142,8 +142,7 @@ weak_alias (__getttyent, getttyent)
  */
 static char *
 internal_function
-skip(p)
-       char *p;
+skip (char *p)
 {
        char *t;
        int c, q;
@@ -177,8 +176,7 @@ skip(p)
 
 static char *
 internal_function
-value(p)
-       char *p;
+value (char *p)
 {
 
        return ((p = index(p, '=')) ? ++p : NULL);
index 9a64a9a0dcd715eed031d6b0e6961be6187d6f8b..798185ebb7f758b987e0ee18683dadadf35b887b 100644 (file)
@@ -21,9 +21,7 @@
 
 /* Fill in *PARAMS with terminal parameters associated with FD.  */
 int
-gtty (fd, params)
-     int fd;
-     struct sgttyb *params;
+gtty (int fd, struct sgttyb *params)
 {
   if (params == NULL)
     {
index 7a0b0dc406ab31ba74817b0046fb16db52a37790..9442f69a613c2dcb2191eea2a9981118a2fe80a1 100644 (file)
@@ -24,9 +24,7 @@ static struct hsearch_data htab;
 
 /* Define the non-reentrant function using the reentrant counterparts.  */
 ENTRY *
-hsearch (item, action)
-     ENTRY item;
-     ACTION action;
+hsearch (ENTRY item, ACTION action)
 {
   ENTRY *result;
 
@@ -37,8 +35,7 @@ hsearch (item, action)
 
 
 int
-hcreate (nel)
-     size_t nel;
+hcreate (size_t nel)
 {
   return __hcreate_r (nel, &htab);
 }
index 559df29cf7b124dbdf88f089f1ed5a784b364105..9d6cd81c95e2559ac73b03c7708271c122d98bf0 100644 (file)
@@ -62,9 +62,7 @@ isprime (unsigned int number)
    The contents of the table is zeroed, especially the field used
    becomes zero.  */
 int
-__hcreate_r (nel, htab)
-     size_t nel;
-     struct hsearch_data *htab;
+__hcreate_r (size_t nel, struct hsearch_data *htab)
 {
   /* Test for correct arguments.  */
   if (htab == NULL)
@@ -111,8 +109,7 @@ weak_alias (__hcreate_r, hcreate_r)
 /* After using the hash table it has to be destroyed. The used memory can
    be freed and the local static variable can be marked as not used.  */
 void
-__hdestroy_r (htab)
-     struct hsearch_data *htab;
+__hdestroy_r (struct hsearch_data *htab)
 {
   /* Test for correct arguments.  */
   if (htab == NULL)
index f75f3e41b2dccb1d94b37371de7b8e95bc7d1a7f..d07c3d99949a4bf347b4651185058c3816d33e4f 100644 (file)
@@ -21,9 +21,7 @@
 /* Perform the I/O control operation specified by REQUEST on FD.
    The actual type and use of ARG and the return value depend on REQUEST.  */
 int
-__ioctl (fd, request)
-     int fd;
-     unsigned long int request;
+__ioctl (int fd, unsigned long int request)
 {
   __set_errno (ENOSYS);
   return -1;
index 1f733cdfaac0061688553d0796a634f53d62fec7..1da10629ce57301ee17814aad5412fec84fc5f2c 100644 (file)
@@ -24,8 +24,7 @@
    The directory is created, mode 700, and its name is returned.
    (This function comes from OpenBSD.) */
 char *
-mkdtemp (template)
-     char *template;
+mkdtemp (char *template)
 {
   if (__gen_tempname (template, 0, 0, __GT_DIR))
     return NULL;
index 807e4770a09c24b101979367555de951d2d9b992..73d952b2590342bbe36862fdd3fbad24a3d96396 100644 (file)
@@ -27,9 +27,7 @@
    they are replaced with a string that makes the filename unique.
    Then open the file and return a fd. */
 int
-mkostemp (template, flags)
-     char *template;
-     int flags;
+mkostemp (char *template, int flags)
 {
   return __gen_tempname (template, 0, flags, __GT_FILE);
 }
index 2b9c868cd0f6eb1a04e738869acf54f1a9da8350..0581553bc8dfc4cf53f5c162059d7a5bc91c3e29 100644 (file)
@@ -27,9 +27,7 @@
    they are replaced with a string that makes the filename unique.
    Then open the file and return a fd. */
 int
-mkostemp64 (template, flags)
-     char *template;
-     int flags;
+mkostemp64 (char *template, int flags)
 {
   return __gen_tempname (template, 0, flags | O_LARGEFILE, __GT_FILE);
 }
index 892dc69ba2ba5527e8cdd56a435dbe47bfbed153..a7ef17b5f8e3e141efe4e0d0d086ca075f559b4e 100644 (file)
    "XXXXXX"; they are replaced with a string that makes the filename
    unique.  Then open the file and return a fd. */
 int
-mkostemps (template, suffixlen, flags)
-     char *template;
-     int suffixlen;
-     int flags;
+mkostemps (char *template, int suffixlen, int flags)
 {
   if (suffixlen < 0)
     {
index 7b48b5c8c0fc6cb8c76a6e49764f2a7ffa6492af..02ab259f032e5f42124c7a837c0cdea69073b49e 100644 (file)
    "XXXXXX"; they are replaced with a string that makes the filename
    unique.  Then open the file and return a fd. */
 int
-mkostemps64 (template, suffixlen, flags)
-     char *template;
-     int suffixlen;
-     int flags;
+mkostemps64 (char *template, int suffixlen, int flags)
 {
   if (suffixlen < 0)
     {
index c5018d154a84b7294841bb3a75894931c8830ef9..638115f73a64fa877a4ee5ad8bf7b8df9d5ec455 100644 (file)
@@ -27,8 +27,7 @@
    they are replaced with a string that makes the filename unique.
    Then open the file and return a fd. */
 int
-mkstemp (template)
-     char *template;
+mkstemp (char *template)
 {
   return __gen_tempname (template, 0, 0, __GT_FILE);
 }
index e4b8605950cfbdda50eab759b53a97b4682063b9..340171bb93f2f0e68d0fff366ddf2ab28e634419 100644 (file)
@@ -27,8 +27,7 @@
    they are replaced with a string that makes the filename unique.
    Then open the file and return a fd. */
 int
-mkstemp64 (template)
-     char *template;
+mkstemp64 (char *template)
 {
   return __gen_tempname (template, 0, O_LARGEFILE, __GT_FILE);
 }
index ca17d1d71a75f0561ba697e74c4268863043b353..5765731e5d7e7e98cbcb3987cd04e74144e59b9f 100644 (file)
@@ -28,9 +28,7 @@
    "XXXXXX"; they are replaced with a string that makes the filename
    unique.  Then open the file and return a fd. */
 int
-mkstemps (template, suffixlen)
-     char *template;
-     int suffixlen;
+mkstemps (char *template, int suffixlen)
 {
   if (suffixlen < 0)
     {
index dd786f13aba130250bbeb26ff91d76edfc072827..210f4952461365f2f079542bfde2cb60290f9fc5 100644 (file)
@@ -28,9 +28,7 @@
    "XXXXXX"; they are replaced with a string that makes the filename
    unique.  Then open the file and return a fd. */
 int
-mkstemps64 (template, suffixlen)
-     char *template;
-     int suffixlen;
+mkstemps64 (char *template, int suffixlen)
 {
   if (suffixlen < 0)
     {
index 763dee8c3d4c1b3d48cc00f07973936522ff0bb0..940e99c04e5dadf580c39cba98acbccaca31baf3 100644 (file)
@@ -22,8 +22,7 @@
    The last six characters of TEMPLATE must be "XXXXXX";
    they are replaced with a string that makes the filename unique.  */
 char *
-__mktemp (template)
-     char *template;
+__mktemp (char *template)
 {
   if (__gen_tempname (template, 0, 0, __GT_NOCREATE) < 0)
     /* We return the null string if we can't find a unique file name.  */
index 36296e3e982deaf0c7066f92cfaee29465601cc0..ad676c336dc0b93085ff4632dd5ed66b43523b25 100644 (file)
    'pread' (see <unistd.h>) except that data are put in VECTOR instead
    of a contiguous buffer.  */
 ssize_t
-preadv (fd, vector, count, offset)
-     int fd;
-     const struct iovec *vector;
-     int count;
-     off_t offset;
+preadv (int fd, const struct iovec *vector, int count, off_t offset)
 {
   __set_errno (ENOSYS);
   return -1;
index d73ad8735783437d33fa03fbf82e725f2e687586..df8df2482b92e19db760f7b0bffbaf82797a1ec7 100644 (file)
    'pread' (see <unistd.h>) except that data are put in VECTOR instead
    of a contiguous buffer.  */
 ssize_t
-preadv64 (fd, vector, count, offset)
-     int fd;
-     const struct iovec *vector;
-     int count;
-     off64_t offset;
+preadv64 (int fd, const struct iovec *vector, int count, off64_t offset)
 {
   __set_errno (ENOSYS);
   return -1;
index 0b09809a486f7337e199fa49f1d1d7f54e7605b0..980fed4baf101f3297f07698182cd2fc4a61b8da 100644 (file)
    <unistd.h>) except that the data are taken from VECTOR instead of a
    contiguous buffer.  */
 ssize_t
-pwritev (fd, vector, count, offset)
-     int fd;
-     const struct iovec *vector;
-     int count;
-     off_t offset;
+pwritev (int fd, const struct iovec *vector, int count, off_t offset)
 {
   __set_errno (ENOSYS);
   return -1;
index 8201b2c5f17e0316f1be246e09c5a661bba0caab..c89bbd8c92cc3f18debe8de47604bed64f0a1edf 100644 (file)
    <unistd.h>) except that the data are taken from VECTOR instead of a
    contiguous buffer.  */
 ssize_t
-pwritev64 (fd, vector, count, offset)
-     int fd;
-     const struct iovec *vector;
-     int count;
-     off64_t offset;
+pwritev64 (int fd, const struct iovec *vector, int count, off64_t offset)
 {
   __set_errno (ENOSYS);
   return -1;
index de78708dc6d2f87dc77402a5c4d6432d901c2531..dc4d34af5580f5f5aafb1e3960ee81998f085660 100644 (file)
    Operates just like `read' (see <unistd.h>) except that data are
    put in VECTOR instead of a contiguous buffer.  */
 ssize_t
-__readv (fd, vector, count)
-     int fd;
-     const struct iovec *vector;
-     int count;
+__readv (int fd, const struct iovec *vector, int count)
 {
   __set_errno (ENOSYS);
   return -1;
index 2baf5d6911513feacca2584ef38e03fd844a7b41..1d00037b5e1a2599f86dea5804b7b52c675b89d3 100644 (file)
@@ -20,8 +20,7 @@
 #include <errno.h>
 
 int
-revoke (file)
-     const char *file;
+revoke (const char *file)
 {
   __set_errno (ENOSYS);
   return -1;
index 3cc03b1a1c59f9d7d7ca4fc18619e27bdd010d06..b25b39c038db2408736d9b852e7d6cf850830deb 100644 (file)
@@ -21,9 +21,7 @@
 /* Set the name of the current YP domain to NAME, which is LEN bytes long.
    This call is restricted to the super-user.  */
 int
-setdomainname (name, len)
-     const char *name;
-     size_t len;
+setdomainname (const char *name, size_t len)
 {
   __set_errno (ENOSYS);
   return -1;
index 37a3b6ac636df3fd5cacc3b5beea60813730afa5..a124c98dd06b4c1bdfe1c1a6782be988ae22c77d 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Set the effective group ID of the calling process to GID.  */
 int
-setegid (gid)
-     __gid_t gid;
+setegid (__gid_t gid)
 {
   __set_errno (ENOSYS);
   return -1;
index af92bcdb8c41456ad7b43ffbb2daf4d8ef1a1bee..ccd934cfb7f5d2748990f6d3e35ec77acd63c227 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Set the effective user ID of the calling process to UID.  */
 int
-seteuid (uid)
-     __uid_t uid;
+seteuid (__uid_t uid)
 {
   __set_errno (ENOSYS);
   return -1;
index 96c750ea75be791cd0704ea50038dfbb7f002ff9..bacf1727033cdbc1dddabddafff901f97d3bd54b 100644 (file)
@@ -21,8 +21,7 @@
 /* Set the current machine's Internet number to ID.
    This call is restricted to the super-user.  */
 int
-sethostid (id)
-     long int id;
+sethostid (long int id)
 {
   __set_errno (ENOSYS);
   return -1;
index c6c1440c7b68b0d0202ca80d514e83206c2c163e..95270e97695d056b3495a1f5c1fad95e95b7b284 100644 (file)
@@ -21,9 +21,7 @@
 /* Set the name of the current host to NAME, which is LEN bytes long.
    This call is restricted to the super-user.  */
 int
-sethostname (name, len)
-     const char *name;
-     size_t len;
+sethostname (const char *name, size_t len)
 {
   __set_errno (ENOSYS);
   return -1;
index 692bff01053faabd887bcc0cffb261277eb105d5..b3e1bbfd0988f9bcc19dc1050f40c5a4d125ead9 100644 (file)
@@ -22,9 +22,7 @@
 /* Set the real group ID of the calling process to RGID,
    and the effective group ID of the calling process to EGID.  */
 int
-__setregid (effective_gid, real_gid)
-     gid_t effective_gid;
-     gid_t real_gid;
+__setregid (gid_t effective_gid, gid_t real_gid)
 {
   __set_errno (ENOSYS);
   return -1;
index a6290f0eeb2d28b773f918b66f88c8df3bd88ea9..0d8e059da951efefc78ae1fca4095330308ba2cc 100644 (file)
@@ -22,9 +22,7 @@
 /* Set the real user ID of the calling process to RUID,
    and the effective user ID of the calling process to EUID.  */
 int
-__setreuid (effective_uid, real_uid)
-     uid_t effective_uid;
-     uid_t real_uid;
+__setreuid (uid_t effective_uid, uid_t real_uid)
 {
   __set_errno (ENOSYS);
   return -1;
index 437deb173e67256572f7f33541efeb061c7c4f9d..ba0069851588876aad6f183b3ad33b51e8c56fae 100644 (file)
@@ -23,8 +23,7 @@
 void *sstk (int increment) __THROW;
 
 void *
-sstk (increment)
-     int increment;
+sstk (int increment)
 {
   __set_errno (ENOSYS);
   return (void *) -1;
index 0ce3e60e17d99dd50b3133152629643b453eb886..79e4f8dc946678ba49b7eec8506f1f2c42fa2671 100644 (file)
@@ -21,9 +21,7 @@
 
 /* Set the terminal parameters associated with FD to *PARAMS.  */
 int
-stty (fd, params)
-     int fd;
-     const struct sgttyb *params;
+stty (int fd, const struct sgttyb *params)
 {
   if (params == NULL)
     {
index 7590ad3044dae512da202821e455a32d8e9bc2db..f8237365f2e61e6a7d684c2a534e6ff3b8001fc8 100644 (file)
@@ -23,8 +23,7 @@
    This only makes sense in certain operating systems.  */
 
 long int
-syscall (callno)
-     long int callno;
+syscall (long int callno)
 {
   __set_errno (ENOSYS);
   return -1;
index 034e2c86f3ff81b9a1bcfa39d17541b8f045f642..e387bf8c4600ac616fafa61f0b7a95fd41f92f33 100644 (file)
@@ -452,8 +452,7 @@ closelog (void)
 
 /* setlogmask -- set the log mask level */
 int
-setlogmask(pmask)
-       int pmask;
+setlogmask (int pmask)
 {
        int omask;
 
index 750f9553af41e520b22a05c77811d0e41c13381b..45240e9adde9180a7f5d4949708e8ec73cecc6cc 100644 (file)
@@ -20,9 +20,7 @@
 
 /* Truncate PATH to LENGTH bytes.  */
 int
-__truncate (path, length)
-     const char *path;
-     off_t length;
+__truncate (const char *path, off_t length)
 {
   __set_errno (ENOSYS);
   return -1;
index d1bb4ade2eabae83de9feb57f3834ec0ee06c6e1..e8408d5b04a73727e9384879b93cf83e72628fd0 100644 (file)
@@ -21,9 +21,7 @@
 
 /* Truncate PATH to LENGTH bytes.  */
 int
-truncate64 (path, length)
-     const char *path;
-     off64_t length;
+truncate64 (const char *path, off64_t length)
 {
   if ((off_t) length != length)
     {
index c6b097270f87e700a35a33e1d6d0abb1edba9e14..43f0ca1aa4eba5d632317c431caa6eb592de5d98 100644 (file)
@@ -24,9 +24,7 @@
 
    Returns the number of microseconds remaining before the alarm.  */
 useconds_t
-ualarm (value, interval)
-     useconds_t value;
-     useconds_t interval;
+ualarm (useconds_t value, useconds_t interval)
 {
   __set_errno (ENOSYS);
   return -1;
index a28b77c22bbc37a60725823175e2d6b91ab8bede..494a8f7d2417037a677173f057f64244a5f14581 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Sleep USECONDS microseconds, or until a previously set timer goes off.  */
 int
-usleep (useconds)
-     useconds_t useconds;
+usleep (useconds_t useconds)
 {
   __set_errno (ENOSYS);
   return -1;
index 1e84062b50b2fa4ca391c127ed18432c0903e3b0..87d5a30700eecf15b572d96e5da663d76e0487ea 100644 (file)
@@ -21,9 +21,7 @@
 #include <sys/ustat.h>
 
 int
-ustat (dev, ust)
-     dev_t dev;
-     struct ustat * ust;
+ustat (dev_t dev, struct ustat *ust)
 {
   __set_errno (ENOSYS);
   return -1;
index 34e7841584fc4a309ae3adcd0fdfcea8841f06fd..05715224e3a2645d001eec0485ca6eef7dc006cc 100644 (file)
    Operates just like `write' (see <unistd.h>) except that the data
    are taken from VECTOR instead of a contiguous buffer.  */
 ssize_t
-__writev (fd, vector, count)
-     int fd;
-     const struct iovec *vector;
-     int count;
+__writev (int fd, const struct iovec *vector, int count)
 {
   __set_errno (ENOSYS);
   return -1;
index d4e96aec48f447fc73bfe13763fe104deabd2351..51de3e29738737b4cb9bf6352f4a923a6a770986 100644 (file)
@@ -38,9 +38,7 @@ strong_alias (_pthread_cleanup_push, __pthread_cleanup_push)
 
 
 void
-_pthread_cleanup_pop (buffer, execute)
-     struct _pthread_cleanup_buffer *buffer;
-     int execute;
+_pthread_cleanup_pop (struct _pthread_cleanup_buffer *buffer, int execute)
 {
   struct pthread *self __attribute ((unused)) = THREAD_SELF;
 
index 77d49e1cce397092592b7f00f326955cee26b88d..da3d112fd8bbced8c8ac94155e43fb7bc4245747 100644 (file)
@@ -25,8 +25,7 @@
 
 #if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2)
 int
-__pthread_cond_broadcast_2_0 (cond)
-     pthread_cond_2_0_t *cond;
+__pthread_cond_broadcast_2_0 (pthread_cond_2_0_t *cond)
 {
   if (cond->cond == NULL)
     {
index 90b140ee405f500b6ea898fb309cc92c48021f02..49fb052318306159e6d4b66f388cae74a5995581 100644 (file)
@@ -23,8 +23,7 @@
 
 #if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2)
 int
-__pthread_cond_destroy_2_0 (cond)
-     pthread_cond_2_0_t *cond;
+__pthread_cond_destroy_2_0 (pthread_cond_2_0_t *cond)
 {
   /* Free the memory which was eventually allocated.  */
   free (cond->cond);
index 062fa7198d59d70d6b2ab3722c0b2f390b4ebc3f..87aa8d77ac77cd911ecd38c3d30904e0d7d5f831 100644 (file)
@@ -25,8 +25,7 @@
 
 #if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2)
 int
-__pthread_cond_signal_2_0 (cond)
-     pthread_cond_2_0_t *cond;
+__pthread_cond_signal_2_0 (pthread_cond_2_0_t *cond)
 {
   if (cond->cond == NULL)
     {
index 418a865056718298eab041f737dd0c3315a43b8d..9884756ed1536a6a9b409fab3985d0cc68b1e32a 100644 (file)
@@ -25,9 +25,7 @@
 
 #if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2)
 int
-__pthread_cond_wait_2_0 (cond, mutex)
-     pthread_cond_2_0_t *cond;
-     pthread_mutex_t *mutex;
+__pthread_cond_wait_2_0 (pthread_cond_2_0_t *cond, pthread_mutex_t *mutex)
 {
   if (cond->cond == NULL)
     {
index c0f16e99bef98d622c5d0d3c5dd92625dbb60a72..41f32c7e49561dc714b062ac4873bfe80870b088 100644 (file)
@@ -22,8 +22,7 @@
 
 
 int
-raise (sig)
-     int sig;
+raise (int sig)
 {
   /* This is what POSIX says must happen.  */
   return pthread_kill (pthread_self (), sig);
index 985d718a5ac88cf54e9154813557db02fe36b958..3193c2ee646b51e4c832a915b419091b7585cb4b 100644 (file)
@@ -22,8 +22,7 @@
 
 
 int
-pthread_barrier_destroy (barrier)
-     pthread_barrier_t *barrier;
+pthread_barrier_destroy (pthread_barrier_t *barrier)
 {
   struct pthread_barrier *ibarrier;
   int result = EBUSY;
index 2b34e3097b1cbaefbd8ea4905996c24ac0671f80..44b44a0e14fe59cad3429a4b0231f43341e3bcf8 100644 (file)
@@ -25,8 +25,7 @@
 
 /* Wait on barrier.  */
 int
-__pthread_barrier_wait (barrier)
-     pthread_barrier_t *barrier;
+__pthread_barrier_wait (pthread_barrier_t *barrier)
 {
   struct pthread_barrier *ibarrier = (struct pthread_barrier *) barrier;
   int result = 0;
index e953fabec846ef5f7153c90b8f09232b70dccbaa..5c2f25769ea746274f32443754392dd0cc95b971 100644 (file)
@@ -20,8 +20,7 @@
 
 
 int
-pthread_barrierattr_destroy (attr)
-     pthread_barrierattr_t *attr;
+pthread_barrierattr_destroy (pthread_barrierattr_t *attr)
 {
   /* Nothing to do.  */
 
index 70a00b0eb79e511ae723f4be92eaa3c997ce6cc4..3ef164c412448eea43ae50beed9ff201989c07cd 100644 (file)
@@ -20,8 +20,7 @@
 
 
 int
-pthread_barrierattr_init (attr)
-     pthread_barrierattr_t *attr;
+pthread_barrierattr_init (pthread_barrierattr_t *attr)
 {
   ((struct pthread_barrierattr *) attr)->pshared = PTHREAD_PROCESS_PRIVATE;
 
index eeaee5d4303e239ed89801c97c7fbdb69ec6279b..8a57baa7eaa8f0ec4e93c858b573a3152ee5ef5a 100644 (file)
@@ -22,9 +22,7 @@
 
 
 int
-pthread_barrierattr_setpshared (attr, pshared)
-     pthread_barrierattr_t *attr;
-     int pshared;
+pthread_barrierattr_setpshared (pthread_barrierattr_t *attr, int pshared)
 {
   struct pthread_barrierattr *iattr;
 
index 881d098c054f06997a2bc17f93deb15a769275bf..7f8c2dd82cb389ac89424e44ef87c2612813a2d3 100644 (file)
@@ -29,8 +29,7 @@
 
 
 int
-__pthread_cond_broadcast (cond)
-     pthread_cond_t *cond;
+__pthread_cond_broadcast (pthread_cond_t *cond)
 {
   LIBC_PROBE (cond_broadcast, 1, cond);
 
index 410e52d3c09dcf5186b1d0ea9d08ac681bd97a3c..bf4cfce3a2c93e54b3d1d62d20eb175685b161e2 100644 (file)
@@ -23,8 +23,7 @@
 
 
 int
-__pthread_cond_destroy (cond)
-     pthread_cond_t *cond;
+__pthread_cond_destroy (pthread_cond_t *cond)
 {
   int pshared = (cond->__data.__mutex == (void *) ~0l)
                ? LLL_SHARED : LLL_PRIVATE;
index ce954c7730ea2705e80bfbd2e212ec1ff4806052..fa62b6629f2a9d909068adc0feeff0212b9e4659 100644 (file)
@@ -22,9 +22,7 @@
 
 
 int
-__pthread_cond_init (cond, cond_attr)
-     pthread_cond_t *cond;
-     const pthread_condattr_t *cond_attr;
+__pthread_cond_init (pthread_cond_t *cond, const pthread_condattr_t *cond_attr)
 {
   struct pthread_condattr *icond_attr = (struct pthread_condattr *) cond_attr;
 
index ba32f40532a7cb6740772fdab4124e90874f5688..d01784fc98937e22bcb64d378a6c50876093afa5 100644 (file)
@@ -29,8 +29,7 @@
 
 
 int
-__pthread_cond_signal (cond)
-     pthread_cond_t *cond;
+__pthread_cond_signal (pthread_cond_t *cond)
 {
   int pshared = (cond->__data.__mutex == (void *) ~0l)
                ? LLL_SHARED : LLL_PRIVATE;
index 55621c1a073f4672dee7b591e38d4660eeac9b83..d2956379ccbf62679fc4ab2871b10a5ffeb5b707 100644 (file)
@@ -20,8 +20,7 @@
 
 
 int
-__pthread_condattr_destroy (attr)
-     pthread_condattr_t *attr;
+__pthread_condattr_destroy (pthread_condattr_t *attr)
 {
   /* Nothing to be done.  */
   return 0;
index 020d21a8169d21eac8c9c984f7c9e6b86f6853b9..dcce72a9a8be2d3a577c4ccd3d54038b722267fd 100644 (file)
@@ -20,9 +20,7 @@
 
 
 int
-pthread_condattr_getclock (attr, clock_id)
-     const pthread_condattr_t *attr;
-     clockid_t *clock_id;
+pthread_condattr_getclock (const pthread_condattr_t *attr, clockid_t *clock_id)
 {
   *clock_id = (((((const struct pthread_condattr *) attr)->value) >> 1)
               & ((1 << COND_NWAITERS_SHIFT) - 1));
index c4d991728dc5fca016b5cae8f03cde68bbdbcc6c..dd1337b36a9ef994aac4d75ed9ec64156bae1969 100644 (file)
@@ -20,9 +20,7 @@
 
 
 int
-pthread_condattr_getpshared (attr, pshared)
-     const pthread_condattr_t *attr;
-     int *pshared;
+pthread_condattr_getpshared (const pthread_condattr_t *attr, int *pshared)
 {
   *pshared = ((const struct pthread_condattr *) attr)->value & 1;
 
index 5ecc5f6d598d20550de7eac17b2f07a37ee87dd8..d00478858e972a2f854621500493bdca53e79bda 100644 (file)
@@ -21,8 +21,7 @@
 
 
 int
-__pthread_condattr_init (attr)
-     pthread_condattr_t *attr;
+__pthread_condattr_init (pthread_condattr_t *attr)
 {
   memset (attr, '\0', sizeof (*attr));
 
index a015403cf54a34ae5f5e3e696bc49eb883ef1aff..bb92df9de109b5cecc4b57a16a11d859fb8e47b3 100644 (file)
@@ -21,9 +21,7 @@
 #include <futex-internal.h>
 
 int
-pthread_condattr_setpshared (attr, pshared)
-     pthread_condattr_t *attr;
-     int pshared;
+pthread_condattr_setpshared (pthread_condattr_t *attr, int pshared)
 {
   int err = futex_supports_pshared (pshared);
   if (err != 0)
index aa735f66055489d645016e24416b4b2ec9095979..ef58126f0ec9063bb5b4363974781908d2d0cc6c 100644 (file)
@@ -22,8 +22,7 @@
 
 
 int
-pthread_detach (th)
-     pthread_t th;
+pthread_detach (pthread_t th)
 {
   struct pthread *pd = (struct pthread *) th;
 
index 69f4c1b54ffeee5a0d17eb14975584d7f49e5f23..5c174e2a80deff3ef1962ecc3d6053aee554a1d7 100644 (file)
@@ -20,9 +20,7 @@
 
 
 int
-__pthread_equal (thread1, thread2)
-     pthread_t thread1;
-     pthread_t thread2;
+__pthread_equal (pthread_t thread1, pthread_t thread2)
 {
   return thread1 == thread2;
 }
index 33f9f7fd17ab1c7e3981ee893a1e44ea8974c1f6..730829609f0dd3b07188fa9bb81c05e7ab8d92e8 100644 (file)
@@ -22,9 +22,7 @@
 
 
 int
-pthread_getcpuclockid (threadid, clockid)
-     pthread_t threadid;
-     clockid_t *clockid;
+pthread_getcpuclockid (pthread_t threadid, clockid_t *clockid)
 {
   struct pthread *pd = (struct pthread *) threadid;
 
index 0bee354817f2f3d384eec7730ade9ee4dea57f11..537aab7f56acd38e7f566959395633c117275569 100644 (file)
@@ -21,8 +21,7 @@
 
 
 void *
-__pthread_getspecific (key)
-     pthread_key_t key;
+__pthread_getspecific (pthread_key_t key)
 {
   struct pthread_key_data *data;
 
index bd9b4a2aba113769f88a9eb9d5a9e3ba19c06595..6de200c0e75693adfd6d911d89968ff5f1eec036 100644 (file)
@@ -22,8 +22,7 @@
 
 
 int
-pthread_key_delete (key)
-     pthread_key_t key;
+pthread_key_delete (pthread_key_t key)
 {
   int result = EINVAL;
 
index b8dbe03573cff94e06534a3a649d2f3d5dd17442..a67cca3b8e6eaef37862243762e948919fecb0a7 100644 (file)
@@ -21,8 +21,7 @@
 
 
 int
-pthread_mutex_consistent (mutex)
-     pthread_mutex_t *mutex;
+pthread_mutex_consistent (pthread_mutex_t *mutex)
 {
   /* Test whether this is a robust mutex with a dead owner.  */
   if ((mutex->__data.__kind & PTHREAD_MUTEX_ROBUST_NORMAL_NP) == 0
index f6089df1d3bbc53d64635c3f458800004ce55b9a..d2c1bb80400257295f4eb79c68a1a17375671e3b 100644 (file)
@@ -23,8 +23,7 @@
 
 
 int
-__pthread_mutex_destroy (mutex)
-     pthread_mutex_t *mutex;
+__pthread_mutex_destroy (pthread_mutex_t *mutex)
 {
   LIBC_PROBE (mutex_destroy, 1, mutex);
 
index 43c35fb4cd130dd7b2c6b49fdf857d3b2adbe0f7..7d6c5a1110c7581e339fbfdcb2d526101236a5a7 100644 (file)
@@ -22,9 +22,7 @@
 
 
 int
-pthread_mutex_getprioceiling (mutex, prioceiling)
-     const pthread_mutex_t *mutex;
-     int *prioceiling;
+pthread_mutex_getprioceiling (const pthread_mutex_t *mutex, int *prioceiling)
 {
   if (__builtin_expect ((mutex->__data.__kind
                         & PTHREAD_MUTEX_PRIO_PROTECT_NP) == 0, 0))
index 28ca5fbffc73331f74a6adc415b2751fa47ce9d2..f5fa6db5cc003c9406e0c632626415d1437b27a3 100644 (file)
@@ -20,8 +20,7 @@
 
 
 int
-__pthread_mutexattr_destroy (attr)
-     pthread_mutexattr_t *attr;
+__pthread_mutexattr_destroy (pthread_mutexattr_t *attr)
 {
   return 0;
 }
index 9914829933a783c3deb37cc5e7f19a86fd8ddbe3..0b38b809eda0b66bf87d5d5765874d42cf38e015 100644 (file)
@@ -21,9 +21,7 @@
 
 
 int
-pthread_mutexattr_getprotocol (attr, protocol)
-     const pthread_mutexattr_t *attr;
-     int *protocol;
+pthread_mutexattr_getprotocol (const pthread_mutexattr_t *attr, int *protocol)
 {
   const struct pthread_mutexattr *iattr;
 
index 92840efe26cd7e770c91e9f72322a8a59c396ea5..0c1b4f15da1c7f0c68560917c22c1347f404f8c8 100644 (file)
@@ -20,9 +20,7 @@
 
 
 int
-pthread_mutexattr_getpshared (attr, pshared)
-     const pthread_mutexattr_t *attr;
-     int *pshared;
+pthread_mutexattr_getpshared (const pthread_mutexattr_t *attr, int *pshared)
 {
   const struct pthread_mutexattr *iattr;
 
index 5115e1e13af10f826783c89c70d54acae23c74f5..85713e4955bb63427e0fc6098e07443be48e43c6 100644 (file)
@@ -20,9 +20,7 @@
 
 
 int
-pthread_mutexattr_getrobust (attr, robustness)
-     const pthread_mutexattr_t *attr;
-     int *robustness;
+pthread_mutexattr_getrobust (const pthread_mutexattr_t *attr, int *robustness)
 {
   const struct pthread_mutexattr *iattr;
 
index 0bf2c82813d07bbd4a99e703f3c1d8e2ea8963ff..7b910f5c2b7b8513a127a974a8e71f95c3325886 100644 (file)
@@ -20,9 +20,7 @@
 
 
 int
-pthread_mutexattr_gettype (attr, kind)
-     const pthread_mutexattr_t *attr;
-     int *kind;
+pthread_mutexattr_gettype (const pthread_mutexattr_t *attr, int *kind)
 {
   const struct pthread_mutexattr *iattr;
 
index 92206b0108bfd0a9838d70d1e12020f3d012bfbf..28bbb3486616e7b5075c232b88de0a60a436ae48 100644 (file)
@@ -21,8 +21,7 @@
 
 
 int
-__pthread_mutexattr_init (attr)
-     pthread_mutexattr_t *attr;
+__pthread_mutexattr_init (pthread_mutexattr_t *attr)
 {
   if (sizeof (struct pthread_mutexattr) != sizeof (pthread_mutexattr_t))
     memset (attr, '\0', sizeof (*attr));
index fcd4190faad55e03e301871f39db9ec8b9a1672f..6928e5061760ccc47b9b4189f4c8181995988b58 100644 (file)
@@ -23,9 +23,7 @@
 
 
 int
-pthread_mutexattr_setprioceiling (attr, prioceiling)
-     pthread_mutexattr_t *attr;
-     int prioceiling;
+pthread_mutexattr_setprioceiling (pthread_mutexattr_t *attr, int prioceiling)
 {
   /* See __init_sched_fifo_prio.  */
   if (atomic_load_relaxed (&__sched_fifo_min_prio) == -1
index b6bb92bf5df84fa914559f96274e78d6665366d0..42542cc2859fce7113abf86ccbe820aca34c2a3d 100644 (file)
@@ -22,9 +22,7 @@
 
 
 int
-pthread_mutexattr_setprotocol (attr, protocol)
-     pthread_mutexattr_t *attr;
-     int protocol;
+pthread_mutexattr_setprotocol (pthread_mutexattr_t *attr, int protocol)
 {
   if (protocol != PTHREAD_PRIO_NONE
       && protocol != PTHREAD_PRIO_INHERIT
index 62fd168265b416e783eb71d8e16b0fa54d9f3383..ce9233fcdaff388fe150f7948f11e8adf488a023 100644 (file)
@@ -22,9 +22,7 @@
 
 
 int
-pthread_mutexattr_setpshared (attr, pshared)
-     pthread_mutexattr_t *attr;
-     int pshared;
+pthread_mutexattr_setpshared (pthread_mutexattr_t *attr, int pshared)
 {
   struct pthread_mutexattr *iattr;
 
index 54d362404dd2fa604d2d450e2fc5f210b36f15a3..7a89f2f3685cbf5ee32e27f5fa78af2271e317f8 100644 (file)
@@ -21,9 +21,7 @@
 
 
 int
-pthread_mutexattr_setrobust (attr, robustness)
-     pthread_mutexattr_t *attr;
-     int robustness;
+pthread_mutexattr_setrobust (pthread_mutexattr_t *attr, int robustness)
 {
   if (robustness != PTHREAD_MUTEX_STALLED_NP
       && __builtin_expect (robustness != PTHREAD_MUTEX_ROBUST_NP, 0))
index c6bd5a633685d97187ac54096025cedf566e4b7e..993c5f012d13e0b081bbe835070e52574591b540 100644 (file)
@@ -21,9 +21,7 @@
 
 
 int
-__pthread_mutexattr_settype (attr, kind)
-     pthread_mutexattr_t *attr;
-     int kind;
+__pthread_mutexattr_settype (pthread_mutexattr_t *attr, int kind)
 {
   struct pthread_mutexattr *iattr;
 
index 7faf0c3757438eb63ae770c672bd429b7350dafa..ac90e7110b13ad4285d043a8c9d14ff9e16924e9 100644 (file)
@@ -21,8 +21,7 @@
 
 
 int
-__pthread_rwlock_destroy (rwlock)
-     pthread_rwlock_t *rwlock;
+__pthread_rwlock_destroy (pthread_rwlock_t *rwlock)
 {
   LIBC_PROBE (rwlock_destroy, 1, rwlock);
 
index 3e2e26d915d889f3b70f98596e008a2fcc7bd4bd..67eaf5fd7dd85c85ba9edf002319f5d713d9a127 100644 (file)
@@ -20,8 +20,7 @@
 
 
 int
-pthread_rwlockattr_destroy (attr)
-     pthread_rwlockattr_t *attr;
+pthread_rwlockattr_destroy (pthread_rwlockattr_t *attr)
 {
   /* Nothing to do.  For now.  */
 
index 972bd569edae415dec8517f4f1089699e8a3ac74..c87ee47b937975706894a9f6d1915f41e825c301 100644 (file)
@@ -20,9 +20,7 @@
 
 
 int
-pthread_rwlockattr_getkind_np (attr, pref)
-     const pthread_rwlockattr_t *attr;
-     int *pref;
+pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t *attr, int *pref)
 {
   *pref = ((const struct pthread_rwlockattr *) attr)->lockkind;
 
index 528dc84860e5298cd31efa5b8030e00888abcecf..6708f2289cd9f87189e03bc663612c03e49feb9a 100644 (file)
@@ -20,9 +20,7 @@
 
 
 int
-pthread_rwlockattr_getpshared (attr, pshared)
-     const pthread_rwlockattr_t *attr;
-     int *pshared;
+pthread_rwlockattr_getpshared (const pthread_rwlockattr_t *attr, int *pshared)
 {
   *pshared = ((const struct pthread_rwlockattr *) attr)->pshared;
 
index 33b060aa9f4331c23b5651e56876c3e7ce9abe64..f5bf865262e87007043baedd07c3572a157b28f6 100644 (file)
@@ -20,8 +20,7 @@
 
 
 int
-pthread_rwlockattr_init (attr)
-     pthread_rwlockattr_t *attr;
+pthread_rwlockattr_init (pthread_rwlockattr_t *attr)
 {
   struct pthread_rwlockattr *iattr;
 
index 4293c12bb81dbc55a5c07b2350f23906d9012a6e..6ef82667b06b7c3344404890243d0bd018d11e8b 100644 (file)
@@ -21,9 +21,7 @@
 
 
 int
-pthread_rwlockattr_setkind_np (attr, pref)
-     pthread_rwlockattr_t *attr;
-     int pref;
+pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *attr, int pref)
 {
   struct pthread_rwlockattr *iattr;
 
index 0369209a94e6db0542d0108ef04730c8c8a7af93..a368b995154f792706da2abc503cb0bfcce7a351 100644 (file)
@@ -22,9 +22,7 @@
 
 
 int
-pthread_rwlockattr_setpshared (attr, pshared)
-     pthread_rwlockattr_t *attr;
-     int pshared;
+pthread_rwlockattr_setpshared (pthread_rwlockattr_t *attr, int pshared)
 {
   struct pthread_rwlockattr *iattr;
 
index c8bc8b883cc6830c980136c71ef26c7f3039500f..b21c7d29897862144de8dae4909b327336b3fe7c 100644 (file)
@@ -22,9 +22,7 @@
 
 
 int
-__pthread_setcancelstate (state, oldstate)
-     int state;
-     int *oldstate;
+__pthread_setcancelstate (int state, int *oldstate)
 {
   volatile struct pthread *self;
 
index 11eff86bb8edc467b6d9215a79b5e486d56daba8..79c11d74377891de53c70b9ea1e683a703f6dc46 100644 (file)
@@ -22,9 +22,7 @@
 
 
 int
-__pthread_setcanceltype (type, oldtype)
-     int type;
-     int *oldtype;
+__pthread_setcanceltype (int type, int *oldtype)
 {
   if (type < PTHREAD_CANCEL_DEFERRED || type > PTHREAD_CANCEL_ASYNCHRONOUS)
     return EINVAL;
index 5b03af6a09827958a200f30d5ae0f418bc6e7356..149c9343a6bbde3a9cde3bae4b432b79cb570051 100644 (file)
@@ -25,8 +25,7 @@ int __concurrency_level;
 
 
 int
-pthread_setconcurrency (level)
-     int level;
+pthread_setconcurrency (int level)
 {
   if (level < 0)
     return EINVAL;
index b628822472666914d3cd33c68d25f55fba10ab29..e513b8f0adbede2aa120eb3bff131bbad56d1e67 100644 (file)
@@ -25,9 +25,7 @@
 
 
 int
-pthread_setschedprio (threadid, prio)
-     pthread_t threadid;
-     int prio;
+pthread_setschedprio (pthread_t threadid, int prio)
 {
   struct pthread *pd = (struct pthread *) threadid;
 
index a9cf26c195a68855d4bb19e66eb7f5e0799611a7..89dba71ed48cde6167dcdf1d251f25e205000782 100644 (file)
@@ -22,9 +22,7 @@
 
 
 int
-__pthread_setspecific (key, value)
-     pthread_key_t key;
-     const void *value;
+__pthread_setspecific (pthread_key_t key, const void *value)
 {
   struct pthread *self;
   unsigned int idx1st;
index 0d41f443b03afa74360050ba80b8d47bc093108b..e777a8ee171493d9bf26e75fa5ce71cd20a886db 100644 (file)
@@ -20,8 +20,7 @@
 
 
 int
-pthread_spin_destroy (lock)
-     pthread_spinlock_t *lock;
+pthread_spin_destroy (pthread_spinlock_t *lock)
 {
   /* Nothing to do.  */
   return 0;
index 33058443c84828bbd57f87d450b2d1c95d6fa438..337654dfe6b1d7afa8ff9d5e5e6ec2da48722d58 100644 (file)
@@ -24,9 +24,7 @@
 
 
 int
-pthread_tryjoin_np (threadid, thread_return)
-     pthread_t threadid;
-     void **thread_return;
+pthread_tryjoin_np (pthread_t threadid, void **thread_return)
 {
   struct pthread *self;
   struct pthread *pd = (struct pthread *) threadid;
index 7f1df14fc3b7b7ab42819d0c704cd67e9d32590f..c29efb83e13c0dccf7090fff8f46d01097cf8fdf 100644 (file)
@@ -40,8 +40,7 @@ walker (const void *inodep, const VISIT which, const int depth)
 
 
 int
-sem_close (sem)
-     sem_t *sem;
+sem_close (sem_t *sem)
 {
   int result = 0;
 
index c74bbd0c90e9247c73f0ed41ec4735f2efa93032..08840fedf7c042c5d1ac10aabc71244272e28267 100644 (file)
@@ -22,8 +22,7 @@
 
 
 int
-__new_sem_destroy (sem)
-     sem_t *sem;
+__new_sem_destroy (sem_t *sem)
 {
   /* XXX Check for valid parameter.  */
 
index bd1b592420d8f209bf7dc1272105c3bc7a789f51..22cd61eff8357f57c9353d9018fed398b3575ba6 100644 (file)
@@ -64,10 +64,7 @@ versioned_symbol (libpthread, __new_sem_init, sem_init, GLIBC_2_1);
 #if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
 int
 attribute_compat_text_section
-__old_sem_init (sem, pshared, value)
-     sem_t *sem;
-     int pshared;
-     unsigned int value;
+__old_sem_init (sem_t *sem, int pshared, unsigned int value)
 {
   /* Parameter sanity check.  */
   if (__glibc_unlikely (value > SEM_VALUE_MAX))
index 2858da563a2d754421b952a66059a7d3ad5cc7d7..ca3a4e7c53d4795b97ab84771b2a025ca3835d7a 100644 (file)
 
 
 int
-__sigaction (sig, act, oact)
-     int sig;
-     const struct sigaction *act;
-     struct sigaction *oact;
+__sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
 {
   if (__glibc_unlikely (sig == SIGCANCEL || sig == SIGSETXID))
     {
index 6d08ed737e47ff4fcbb4cc27347fed05e053b32b..43c54573ad8b0925ef9c5c2a5fe7e20006b1753d 100644 (file)
@@ -24,8 +24,7 @@
 
 
 void
-__unregister_atfork (dso_handle)
-     void *dso_handle;
+__unregister_atfork (void *dso_handle)
 {
   /* Check whether there is any entry in the list which we have to
      remove.  It is likely that this is not the case so don't bother
index f4d76a10d055948fa369078adeb70e5bec208d12..c8cf1ef7b0f83e51836d200320d12215b5a3656f 100644 (file)
@@ -22,8 +22,7 @@
    terminate program execution, using the low-order 8 bits of the
    given integer as status.  */
 void
-_exit (status)
-     int status;
+_exit (int status)
 {
   status &= 0xff;
   abort ();
index 1ecfc4fbb84d859502a2e85c0dd0850fd2170d1c..33e5c27eeb150d396f8b00fd0c70fe9dcb1fb053 100644 (file)
@@ -26,8 +26,7 @@
    to 0 and check its value after calling `alarm', and this might tell you.
    The signal may come late due to processor scheduling.  */
 unsigned int
-alarm (seconds)
-     unsigned int seconds;
+alarm (unsigned int seconds)
 {
   __set_errno (ENOSYS);
   return 0;
index 7271c5c55fb224a8684764287d1811cdaa3f009f..56f49b959500c6ec0763a81f96c10aa03e15a59a 100644 (file)
    of BUF with the value corresponding to NAME and zero-terminate BUF.
    Return the number of bytes required to hold NAME's entire value.  */
 size_t
-confstr (name, buf, len)
-     int name;
-     char *buf;
-     size_t len;
+confstr (int name, char *buf, size_t len)
 {
   const char *string = "";
   size_t string_len = 1;
index c4f1cfec2913e501e6639933d0c8471bdb41e748..cf6e5103f17e3443b3278ae9150348b498064944 100644 (file)
@@ -22,9 +22,7 @@
 
 /* Get file-specific information about descriptor FD.  */
 long int
-__fpathconf (fd, name)
-     int fd;
-     int name;
+__fpathconf (int fd, int name)
 {
   if (fd < 0)
     {
index d8288129dc4b697fe64e09ca27918627652bb575..49dc5b3d0bea92e380cd55990426ecc946ee5656 100644 (file)
@@ -26,9 +26,7 @@
    the calling process is in.  Otherwise, fill in the group IDs
    of its supplementary groups in LIST and return the number written.  */
 int
-__getgroups (size, list)
-     int size;
-     gid_t *list;
+__getgroups (int size, gid_t *list)
 {
 #if defined (NGROUPS_MAX) && NGROUPS_MAX == 0
   /* The system has no supplementary groups.  */
index 05f72c34ab41b5ada0b8a326f728988b0934c4ac..8de62cbdbe174c4af512d91f2b359b8158640d59 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Get the process group ID of process PID.  */
 pid_t
-__getpgid (pid)
-     pid_t pid;
+__getpgid (pid_t pid)
 {
   return pid;
 }
index 032b1cea5b597bc1e68f42d08aad1984f7e84225..fce7d441ce4a04007fed7d95362f0536f71705eb 100644 (file)
@@ -26,8 +26,7 @@
 #endif
 
 int
-__group_member (gid)
-     gid_t gid;
+__group_member (gid_t gid)
 {
   int n, size;
   gid_t *groups;
index 2343d8dcdf0db7fb5a2bbd885d5c354a2f031786..37cc406627d7c9ce1e3f9b1ac24d82def1b61a92 100644 (file)
@@ -22,9 +22,7 @@
 
 /* Get file-specific information about PATH.  */
 long int
-__pathconf (path, name)
-     const char *path;
-     int name;
+__pathconf (const char *path, int name)
 {
   if (path == NULL)
     {
index 2d8f838ae8e467610d1cbee8dc1b97f66f44eadd..9e059d409636c287022a871eb93c47b5971af417 100644 (file)
 
 /* Retrieve the CPU affinity mask for a particular process.  */
 int
-sched_getaffinity (pid, cpusetsize, cpuset)
-     pid_t pid;
-     size_t cpusetsize;
-     cpu_set_t *cpuset;
+sched_getaffinity (pid_t pid, size_t cpusetsize, cpu_set_t *cpuset)
 {
   __set_errno (ENOSYS);
   return -1;
index 579fc390e561c177832642dcc500d01dbfbb4ab9..c07bbcf0ecb519b4eaf33c8142ad99847802b513 100644 (file)
 
 /* Retrieve the CPU affinity mask for a particular process.  */
 int
-sched_setaffinity (pid, cpusetsize, cpuset)
-     pid_t pid;
-     size_t cpusetsize;
-     const cpu_set_t *cpuset;
+sched_setaffinity (pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset)
 {
   __set_errno (ENOSYS);
   return -1;
index 4a37cc77d887bef0f906deec86444755e6c0de91..42f3ca2cc471dc6627ec0224df6f992c91aaef21 100644 (file)
@@ -24,8 +24,7 @@
    and effective group IDs, and the saved set-group-ID to GID;
    if not, the effective group ID is set to GID.  */
 int
-__setgid (gid)
-     gid_t gid;
+__setgid (gid_t gid)
 {
   __set_errno (ENOSYS);
   return -1;
index 7289148d7422ebec14f817d199d34b12e6d7ee10..a01af842946a02642c29180d3f4105ae1a4b7e10 100644 (file)
@@ -22,9 +22,7 @@
    If PID is zero, the current process's process group ID is set.
    If PGID is zero, the process ID of the process is used.  */
 int
-__setpgid (pid, pgid)
-     int pid;
-     int pgid;
+__setpgid (int pid, int pgid)
 {
   __set_errno (ENOSYS);
   return -1;
index 794eb02508df4667b597ada5b1793b13bb2a9adc..4a53cbde21ea282617e6e67191307fbf05360d68 100644 (file)
@@ -24,8 +24,7 @@
    and effective user IDs, and the saved set-user-ID to UID;
    if not, the effective user ID is set to UID.  */
 int
-__setuid (uid)
-     uid_t uid;
+__setuid (uid_t uid)
 {
   __set_errno (ENOSYS);
   return -1;
index 0ae79c1c4bd4970e814aa11d8a036289ab00a303..b5a7077d0289558b61349d530e1c3aa0127eced6 100644 (file)
@@ -28,8 +28,7 @@
    signal afterwards is undefined.  There is no return value to indicate
    error, but if `sleep' returns SECONDS, it probably didn't work.  */
 unsigned int
-__sleep (seconds)
-     unsigned int seconds;
+__sleep (unsigned int seconds)
 {
   __set_errno (ENOSYS);
   return seconds;
index 0ad15c24ff5d36c86659e2c86f07fafc5785b508..31910e003b3c0a8050dbdaee83c050a5f070fd53 100644 (file)
@@ -28,8 +28,7 @@
 
 /* Get the value of the system variable NAME.  */
 long int
-__sysconf (name)
-     int name;
+__sysconf (int name)
 {
   switch (name)
     {
index 48ee9cdfa1ca35d2d29cd6b96bda8449fd0e6f67..fb6a28a9a1d6a748f12241ab94072e768456f17d 100644 (file)
@@ -24,8 +24,7 @@
    Return the elapsed real time, or (clock_t) -1 for errors.
    All times are in CLK_TCKths of a second.  */
 clock_t
-__times (buffer)
-     struct tms *buffer;
+__times (struct tms *buffer)
 {
   if (buffer == NULL)
     {
index 072e8681511adcfeb914c887c4ea2edd4965b0ba..22591b3877a2fb749eab34d1efe11b8e4cf633c8 100644 (file)
@@ -26,8 +26,7 @@
 
 /* Put information about the system in NAME.  */
 int
-__uname (name)
-     struct utsname *name;
+__uname (struct utsname *name)
 {
   int save;
 
index a82462fa80884cfdc0a1506d1e178862612ea9f9..f72bca92977665bb47f418de208eb872e20088ff 100644 (file)
 #include <sys/wait.h>
 
 int
-__waitid (idtype, id, infop, options)
-     idtype_t idtype;
-     id_t id;
-     siginfo_t *infop;
-     int options;
+__waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options)
 {
   __set_errno (ENOSYS);
   return -1;
index 88fa873beabda9a859e1c48981407995b762542e..f2dbe28a021d854fb7c83d0b243e0fef98fac825 100644 (file)
@@ -29,9 +29,7 @@
 int __getpw (__uid_t uid, char *buf);
 
 int
-__getpw (uid, buf)
-     __uid_t uid;
-     char *buf;
+__getpw (__uid_t uid, char *buf)
 {
   size_t buflen;
   char *tmpbuf;
index 519e5d2d5ece2c815bde3b56da2a89ad78d77f59..fedc086b0c1b28a0efef45475511ead895e10c8b 100644 (file)
@@ -191,10 +191,7 @@ libresolv_hidden_def (b64_ntop)
  */
 
 int
-b64_pton(src, target, targsize)
-       char const *src;
-       u_char *target;
-       size_t targsize;
+b64_pton (char const *src, u_char *target, size_t targsize)
 {
        int tarindex, state, ch;
        char *pos;
index e2c78785ebe01d992ca7223eb7bdda9db3ad61e3..b7edc846847ea693b910952d37682dc1fd49097f 100644 (file)
 #include <gai_misc.h>
 
 int
-__gai_sigqueue (sig, val, caller_pid)
-     int sig;
-     const union sigval val;
-     pid_t caller_pid;
+__gai_sigqueue (int sig, const union sigval val, pid_t caller_pid)
 {
   __set_errno (ENOSYS);
   return -1;
index 7fd0e497b137538e4cf91e9bbd82c795115165d9..3a8e9b1490e6f6657d0cd4760c9696a0941b5daa 100644 (file)
@@ -147,9 +147,7 @@ extern int h_errno;
 
 #ifdef DEBUG
 static void
-Dprintf(msg, num)
-       char *msg;
-       int num;
+Dprintf (char *msg, int num)
 {
        if (_res.options & RES_DEBUG) {
                int save = errno;
@@ -486,8 +484,7 @@ extern struct hostent *gethostbyname2(const char *name, int af);
 libresolv_hidden_proto (gethostbyname2)
 
 struct hostent *
-gethostbyname(name)
-       const char *name;
+gethostbyname (const char *name)
 {
        struct hostent *hp;
 
@@ -504,9 +501,7 @@ gethostbyname(name)
 }
 
 struct hostent *
-gethostbyname2(name, af)
-       const char *name;
-       int af;
+gethostbyname2 (const char *name, int af)
 {
        union
        {
@@ -637,10 +632,7 @@ gethostbyname2(name, af)
 libresolv_hidden_def (gethostbyname2)
 
 struct hostent *
-gethostbyaddr(addr, len, af)
-       const void *addr;
-       socklen_t len;
-       int af;
+gethostbyaddr (const void *addr, socklen_t len, int af)
 {
        const u_char *uaddr = (const u_char *)addr;
        static const u_char mapped[] = { 0,0, 0,0, 0,0, 0,0, 0,0, 0xff,0xff };
@@ -783,8 +775,7 @@ gethostbyaddr(addr, len, af)
 }
 
 void
-_sethtent(f)
-       int f;
+_sethtent (int f)
 {
        if (!hostf)
                hostf = fopen(_PATH_HOSTS, "rce" );
@@ -870,8 +861,7 @@ _gethtent (void)
 libresolv_hidden_def (_gethtent)
 
 struct hostent *
-_gethtbyname(name)
-       const char *name;
+_gethtbyname (const char *name)
 {
        struct hostent *hp;
 
@@ -884,9 +874,7 @@ _gethtbyname(name)
 }
 
 struct hostent *
-_gethtbyname2(name, af)
-       const char *name;
-       int af;
+_gethtbyname2 (const char *name, int af)
 {
        struct hostent *p;
        char **cp;
@@ -908,10 +896,7 @@ _gethtbyname2(name, af)
 libresolv_hidden_def (_gethtbyname2)
 
 struct hostent *
-_gethtbyaddr(addr, len, af)
-       const char *addr;
-       size_t len;
-       int af;
+_gethtbyaddr (const char *addr, size_t len, int af)
 {
        struct hostent *p;
 
@@ -925,9 +910,7 @@ _gethtbyaddr(addr, len, af)
 libresolv_hidden_def (_gethtbyaddr)
 
 static void
-map_v4v6_address(src, dst)
-       const char *src;
-       char *dst;
+map_v4v6_address (const char *src, char *dst)
 {
        u_char *p = (u_char *)dst;
        char tmp[INADDRSZ];
@@ -945,10 +928,7 @@ map_v4v6_address(src, dst)
 }
 
 static void
-map_v4v6_hostent(hp, bpp, lenp)
-       struct hostent *hp;
-       char **bpp;
-       int *lenp;
+map_v4v6_hostent (struct hostent *hp, char **bpp, int *lenp)
 {
        char **ap;
 
@@ -975,9 +955,7 @@ map_v4v6_hostent(hp, bpp, lenp)
 
 #ifdef RESOLVSORT
 extern void
-addrsort(ap, num)
-       char **ap;
-       int num;
+addrsort (char **ap, int num)
 {
        int i, j;
        char **p;
@@ -1021,8 +999,7 @@ addrsort(ap, num)
 #if defined(BSD43_BSD43_NFS) || defined(sun)
 /* some libc's out there are bound internally to these names (UMIPS) */
 void
-ht_sethostent(stayopen)
-       int stayopen;
+ht_sethostent (int stayopen)
 {
        _sethtent(stayopen);
 }
@@ -1034,17 +1011,13 @@ ht_endhostent (void)
 }
 
 struct hostent *
-ht_gethostbyname(name)
-       char *name;
+ht_gethostbyname (char *name)
 {
        return (_gethtbyname(name));
 }
 
 struct hostent *
-ht_gethostbyaddr(addr, len, af)
-       const char *addr;
-       size_t len;
-       int af;
+ht_gethostbyaddr (const char *addr, size_t len, int af)
 {
        return (_gethtbyaddr(addr, len, af));
 }
index e50c6a049b8755552ffeb54b3b57864d16cf5a65..2d57ae3030a549acde62eae1f8ce2e154ed8a8a8 100644 (file)
@@ -49,12 +49,7 @@ static char *        inet_net_ntop_ipv4 (const u_char *src, int bits,
  *     Paul Vixie (ISC), July 1996
  */
 char *
-inet_net_ntop(af, src, bits, dst, size)
-       int af;
-       const void *src;
-       int bits;
-       char *dst;
-       size_t size;
+inet_net_ntop (int af, const void *src, int bits, char *dst, size_t size)
 {
        switch (af) {
        case AF_INET:
@@ -79,11 +74,7 @@ inet_net_ntop(af, src, bits, dst, size)
  *     Paul Vixie (ISC), July 1996
  */
 static char *
-inet_net_ntop_ipv4(src, bits, dst, size)
-       const u_char *src;
-       int bits;
-       char *dst;
-       size_t size;
+inet_net_ntop_ipv4 (const u_char *src, int bits, char *dst, size_t size)
 {
        char *odst = dst;
        char *t;
index 349e6bd8802b21fb541cd818d340debb81c798f7..b9f256b9e5384c0b793ac28aab22e5cfadbb2a89 100644 (file)
@@ -46,10 +46,7 @@ static const char rcsid[] = "$BINDId: inet_neta.c,v 1.6 1999/01/08 19:23:45 vixi
  *     Paul Vixie (ISC), July 1996
  */
 char *
-inet_neta(src, dst, size)
-       u_int32_t src;
-       char *dst;
-       size_t size;
+inet_neta (u_int32_t src, char *dst, size_t size)
 {
        char *odst = dst;
        char *tp;
index 6e89f2d0589ad0132c6b35f5e736014d9da02583..32338c58b05b2138ebc4a300a28bcedf9a18684e 100644 (file)
@@ -56,11 +56,7 @@ static const char *inet_ntop6 (const u_char *src, char *dst, socklen_t size)
  *     Paul Vixie, 1996.
  */
 const char *
-inet_ntop(af, src, dst, size)
-       int af;
-       const void *src;
-       char *dst;
-       socklen_t size;
+inet_ntop (int af, const void *src, char *dst, socklen_t size)
 {
        switch (af) {
        case AF_INET:
@@ -88,10 +84,7 @@ libc_hidden_def (inet_ntop)
  */
 static const char *
 internal_function
-inet_ntop4(src, dst, size)
-       const u_char *src;
-       char *dst;
-       socklen_t size;
+inet_ntop4 (const u_char *src, char *dst, socklen_t size)
 {
        static const char fmt[] = "%u.%u.%u.%u";
        char tmp[sizeof "255.255.255.255"];
@@ -111,10 +104,7 @@ inet_ntop4(src, dst, size)
  */
 static const char *
 internal_function
-inet_ntop6(src, dst, size)
-       const u_char *src;
-       char *dst;
-       socklen_t size;
+inet_ntop6 (const u_char *src, char *dst, socklen_t size)
 {
        /*
         * Note that int32_t and int16_t need only be "at least" large enough
index 3d8819512e446f9741abc0a001191d52ebaefec9..0d18e9acb515b61b81a9e1e52be6af5226de7f94 100644 (file)
@@ -49,10 +49,7 @@ static int inet_pton6 (const char *src, u_char *dst) internal_function;
  *     Paul Vixie, 1996.
  */
 int
-__inet_pton(af, src, dst)
-       int af;
-       const char *src;
-       void *dst;
+__inet_pton (int af, const char *src, void *dst)
 {
        switch (af) {
        case AF_INET:
@@ -82,9 +79,7 @@ libc_hidden_weak (inet_pton)
  */
 static int
 internal_function
-inet_pton4(src, dst)
-       const char *src;
-       u_char *dst;
+inet_pton4 (const char *src, u_char *dst)
 {
        int saw_digit, octets, ch;
        u_char tmp[NS_INADDRSZ], *tp;
@@ -136,9 +131,7 @@ inet_pton4(src, dst)
  */
 static int
 internal_function
-inet_pton6(src, dst)
-       const char *src;
-       u_char *dst;
+inet_pton6 (const char *src, u_char *dst)
 {
        static const char xdigits[] = "0123456789abcdef";
        u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp;
index 784343994b358eeca43b53deeb69662d7b2c2771..6e76ea3816f1fd0f5132f0f6f7fd775b18489abf 100644 (file)
@@ -790,9 +790,7 @@ latlon2ul (const char **latlonstrptr, int *which)
 /* converts a zone file representation in a string to an RDATA on-the-wire
  * representation. */
 int
-loc_aton(ascii, binary)
-       const char *ascii;
-       u_char *binary;
+loc_aton (const char *ascii, u_char *binary)
 {
        const char *cp, *maxcp;
        u_char *bcp;
@@ -901,9 +899,7 @@ loc_aton(ascii, binary)
 
 /* takes an on-the-wire LOC RR and formats it in a human readable format. */
 const char *
-loc_ntoa(binary, ascii)
-       const u_char *binary;
-       char *ascii;
+loc_ntoa (const u_char *binary, char *ascii)
 {
        static const char error[] = "?";
        static char tmpbuf[sizeof
index 6df7294578be92cfeba57fcdbfeb6fb024642aef..105b77e99f701e2c71d25531fb3a12c5d71963b1 100644 (file)
@@ -23,9 +23,7 @@
    or user (as specified by WHO) is used.  A lower priority number means higher
    priority.  Priorities range from PRIO_MIN to PRIO_MAX.  */
 int
-__getpriority (which, who)
-     enum __priority_which which;
-     id_t who;
+__getpriority (enum __priority_which which, id_t who)
 {
   __set_errno (ENOSYS);
   return -1;
index ebda1d2964cbe5e4d00c6c98fbdbd82cbc0690ed..a403402519fa894c4f2f0d200d37b8e7b35cb96e 100644 (file)
@@ -21,9 +21,7 @@
 /* Return resource usage information on process indicated by WHO
    and put it in *USAGE.  Returns 0 for success, -1 for failure.  */
 int
-__getrusage (who, usage)
-     enum __rusage_who who;
-     struct rusage *usage;
+__getrusage (enum __rusage_who who, struct rusage *usage)
 {
   __set_errno (ENOSYS);
   return -1;
index 208fcc01c92f7e2166902731dcec37a4bb34fd3d..7f49037d878eb4d6aa80134d0f8969c1ebb87ba7 100644 (file)
@@ -21,8 +21,7 @@
 /* Increment the scheduling priority of the calling process by INCR.
    The superuser may use a negative INCR to decrement the priority.  */
 int
-nice (incr)
-     int incr;
+nice (int incr)
 {
   __set_errno (ENOSYS);
   return -1;
index 91521bdbb95b31e1386aace5c5967e5d9dcd3b8d..e9def1e84e406eae1028eec24006d3cb011d94cd 100644 (file)
 /* Set the priority of all processes specified by WHICH and WHO
    to PRIO.  Returns 0 on success, -1 on errors.  */
 int
-__setpriority (which, who, prio)
-     enum __priority_which which;
-     id_t who;
-     int prio;
+__setpriority (enum __priority_which which, id_t who, int prio)
 {
   __set_errno (ENOSYS);
   return -1;
index 217ad22a39b28df956d0718019deed0737b0d767..7c7a126a64e189575a4944573d0071940a777def 100644 (file)
@@ -23,9 +23,7 @@
    Only the super-user can increase hard limits.
    Return 0 if successful, -1 if not (and sets errno).  */
 int
-setrlimit64 (resource, rlimits)
-     enum __rlimit_resource resource;
-     const struct rlimit64 *rlimits;
+setrlimit64 (enum __rlimit_resource resource, const struct rlimit64 *rlimits)
 {
   struct rlimit rlimits32;
 
index 14cfee02b92dd4c956eee6ae406f8f4cbfecd07f..0ae4220efba37a79a49b9194f262a090f8edda9f 100644 (file)
@@ -26,9 +26,7 @@
 /* Set the soft limit for RESOURCE to be VALUE.
    Returns 0 for success, -1 for failure.  */
 int
-vlimit (resource, value)
-     enum __vlimit_resource resource;
-     int value;
+vlimit (enum __vlimit_resource resource, int value)
 {
   if (resource >= LIM_CPU && resource <= LIM_MAXRSS)
     {
index a8816b0d3ff3840e082d14020c045d0091f8ccb1..7d2c34bdee50451ec743f8837729d8a2d6faccde 100644 (file)
@@ -53,9 +53,7 @@ vtimes_one (struct vtimes *vt, enum __rusage_who who)
    *CURRENT.  If CHILD is not NULL, write statistics for all terminated child
    processes into *CHILD.  Returns 0 for success, -1 for failure.  */
 int
-vtimes (current, child)
-     struct vtimes *current;
-     struct vtimes *child;
+vtimes (struct vtimes *current, struct vtimes *child)
 {
   if (vtimes_one (current, RUSAGE_SELF) < 0
       || vtimes_one (child, RUSAGE_CHILDREN) < 0)
index c546cabd061a17db7553e49bf3ad342e36c05412..da2caee54e61578c9a1a0bbc6c8939864f99742f 100644 (file)
@@ -30,8 +30,7 @@
 
 
 int
-aio_error (aiocbp)
-     const struct aiocb *aiocbp;
+aio_error (const struct aiocb *aiocbp)
 {
   return aiocbp->__error_code;
 }
index 61fee9f4faf706cc81a3a795d31558aebf38b398..89b191676c412cc339478d4f2c51e921b9bc9b1e 100644 (file)
@@ -30,8 +30,7 @@
 
 
 ssize_t
-aio_return (aiocbp)
-     struct aiocb *aiocbp;
+aio_return (struct aiocb *aiocbp)
 {
   return aiocbp->__return_value;
 }
index 5481be0e5c1b9f97b0f4695e7ae53650fc09bbec..3721886f7d04443d58027e6c4bdb2d1a41f12d55 100644 (file)
 #include <aio_misc.h>
 
 int
-__aio_sigqueue (sig, val, caller_pid)
-     int sig;
-     const union sigval val;
-     pid_t caller_pid;
+__aio_sigqueue (int sig, const union sigval val, pid_t caller_pid)
 {
   __set_errno (ENOSYS);
   return -1;
index 6aa8cc7b8c96198c6e00700dfe52d492318a7ba0..976d94ce4418018e20dc23ece30fec258d88a83a 100644 (file)
@@ -23,9 +23,7 @@
    send SIG to all processes in the current process's process group.
    If PID is < -1, send SIG to all processes in process group - PID.  */
 int
-__kill (pid, sig)
-     int pid;
-     int sig;
+__kill (int pid, int sig)
 {
   __set_errno (ENOSYS);
   return -1;
index e4b7cf515f2f8fe8cc0654b99c126fd82e4c904f..9696e0cf70251d369bd239de0a173a205ef0b416 100644 (file)
@@ -23,9 +23,7 @@
    If PGRP is zero, send SIG to all processes in
    the current process's process group.  */
 int
-killpg (pgrp, sig)
-     __pid_t pgrp;
-     int sig;
+killpg (__pid_t pgrp, int sig)
 {
   __set_errno (ENOSYS);
   return -1;
index d917af43fea6292e9a7f2a2f72b19c55f64abf61..120526760f7b513742d719673a9cbc9ad549ea9a 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Raise the signal SIG.  */
 int
-raise (sig)
-     int sig;
+raise (int sig)
 {
   __set_errno (ENOSYS);
   return -1;
index f73944e5a86197418841200911adeec80294268d..ba17ba90ddb241f7bd37f73cc00fcd86cedb938b 100644 (file)
 /* If ACT is not NULL, change the action for SIG to *ACT.
    If OACT is not NULL, put the old action for SIG in *OACT.  */
 int
-__sigaction (sig, act, oact)
-     int sig;
-     const struct sigaction *act;
-     struct sigaction *oact;
+__sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
 {
   if (sig <= 0 || sig >= NSIG)
     {
index 9f65da218ed46339600c1b91cf942518094e7588..7af087661cefc6c5234f2c53cce6f4e0ca452959 100644 (file)
@@ -19,9 +19,7 @@
 
 /* Add SIGNO to SET.  */
 int
-sigaddset (set, signo)
-     sigset_t *set;
-     int signo;
+sigaddset (sigset_t *set, int signo)
 {
   if (set == NULL || signo <= 0 || signo >= NSIG)
     {
index aaaf108a7794102c1e314fae513f96c4ec40b7f4..6713e6c4ec1d9d87be31a4d08676a5bb16046468 100644 (file)
@@ -21,9 +21,7 @@
 /* Run signals handlers on the stack specified by SS (if not NULL).
    If OSS is not NULL, it is filled in with the old signal stack status.  */
 int
-sigaltstack (ss, oss)
-     const struct sigaltstack *ss;
-     struct sigaltstack *oss;
+sigaltstack (const struct sigaltstack *ss, struct sigaltstack *oss)
 {
   __set_errno (ENOSYS);
   return -1;
index f804ab7c980f7e150722c14869e3a8e50d3901ca..35ebec630a25bbed9c646bc92e1de8c16238e14e 100644 (file)
 
 /* Combine sets LEFT and RIGHT by logical AND and place result in DEST.  */
 int
-sigandset (dest, left, right)
-     sigset_t *dest;
-     const sigset_t *left;
-     const sigset_t *right;
+sigandset (sigset_t *dest, const sigset_t *left, const sigset_t *right)
 {
   if (dest == NULL || left == NULL || right == NULL)
     {
index aff495b20134cf776da8a90f8f27bbd3c4b93e37..10375eac2132659603ea030ea125b2dff2954ab7 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Block signals in MASK, returning the old mask.  */
 int
-__sigblock (mask)
-     int mask;
+__sigblock (int mask)
 {
   __set_errno (ENOSYS);
   return -1;
index 3546f2f578bf963c8d4e29ac15457eaddcd4ca5b..2130351105f10c5c4ff9e291772fcd7675b8c7ac 100644 (file)
@@ -19,9 +19,7 @@
 
 /* Add SIGNO to SET.  */
 int
-sigdelset (set, signo)
-     sigset_t *set;
-     int signo;
+sigdelset (sigset_t *set, int signo)
 {
   if (set == NULL || signo <= 0 || signo >= NSIG)
     {
index 0e5b42367226d232da01b7a60219d0b8356bc382..fb1b5ade31a1895ce470a65f89f93351649f5954 100644 (file)
@@ -21,8 +21,7 @@
 
 /* Clear all signals from SET.  */
 int
-sigemptyset (set)
-     sigset_t *set;
+sigemptyset (sigset_t *set)
 {
   if (set == NULL)
     {
index cf55a116289cf7435b37f64446402d483be9be11..ec8dec98fc9d0e6a9c6dd523d178de54bc742c7e 100644 (file)
@@ -21,8 +21,7 @@
 
 /* Set all signals in SET.  */
 int
-sigfillset (set)
-     sigset_t *set;
+sigfillset (sigset_t *set)
 {
   if (set == NULL)
     {
index 3dcf330f68be815c2656e6f979ba34d0ac0244f0..4fd796ac8e50866cbbdebd0e1db365119c5a5cfb 100644 (file)
@@ -22,8 +22,7 @@
 #include <signal.h>
 
 int
-sighold (sig)
-     int sig;
+sighold (int sig)
 {
   sigset_t set;
 
index 67af463c6c8885c506b571d97a0f26d5ba499514..9727fd118ca57d4b71b11bcebc7fb6abbc62d8a0 100644 (file)
@@ -21,8 +21,7 @@
 
 /* Set the disposition for SIG to SIG_IGN.  */
 int
-sigignore (sig)
-     int sig;
+sigignore (int sig)
 {
   __set_errno (ENOSYS);
   return -1;
index 8f274cbb05fce0ecad800bbd8f6ab1acbd8d79c4..b7122d7f29d0c9b9fabd88f304269bc59486df8d 100644 (file)
@@ -22,9 +22,7 @@
    (causing them to fail with EINTR); if INTERRUPT is zero, make system
    calls be restarted after signal SIG.  */
 int
-siginterrupt (sig, interrupt)
-     int sig;
-     int interrupt;
+siginterrupt (int sig, int interrupt)
 {
   __set_errno (ENOSYS);
   return -1;
index 3c60d7eb11e742d528d8a40240cc9c15264e90bb..48223f9ef6193285787bf4b407842a59f1fe19e3 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Test whether SET is empty.  */
 int
-sigisemptyset (set)
-     const sigset_t *set;
+sigisemptyset (const sigset_t *set)
 {
   if (set == NULL)
     {
index 719522961fcef9166092e773837ba16626462f37..4f45ed0df68f8a660151b9ddd872a4a47b8e5f90 100644 (file)
@@ -19,9 +19,7 @@
 
 /* Return 1 if SIGNO is in SET, 0 if not.  */
 int
-sigismember (set, signo)
-     const sigset_t *set;
-     int signo;
+sigismember (const sigset_t *set, int signo)
 {
   if (set == NULL || signo <= 0 || signo >= NSIG)
     {
index a249e740069e41706aabe89e4c098cdd5cd030a5..cfc434750cbc11464e0e536c5f19e3618b5b4b45 100644 (file)
@@ -22,9 +22,7 @@
 /* Set the handler for the signal SIG to HANDLER,
    returning the old handler, or SIG_ERR on error.  */
 __sighandler_t
-signal (sig, handler)
-     int sig;
-     __sighandler_t handler;
+signal (int sig, __sighandler_t handler)
 {
   __set_errno (ENOSYS);
   return SIG_ERR;
index f49d978f77136237000265910896d019f8fb21f8..e49ad32d3d1d00a7fc382d31d9d25a5cb3131587 100644 (file)
 
 /* Combine sets LEFT and RIGHT by logical OR and place result in DEST.  */
 int
-sigorset (dest, left, right)
-     sigset_t *dest;
-     const sigset_t *left;
-     const sigset_t *right;
+sigorset (sigset_t *dest, const sigset_t *left, const sigset_t *right)
 {
   if (dest == NULL || left == NULL || right == NULL)
     {
index 390329c248ad87980c4a3e26aae8403bfffe34d1..64d069d40207beae31d3437398f29cd2d38a2543 100644 (file)
@@ -21,9 +21,7 @@
 #undef sigpause
 
 int
-__sigpause (sig_or_mask, is_sig)
-     int sig_or_mask;
-     int is_sig;
+__sigpause (int sig_or_mask, int is_sig)
 {
   __set_errno (ENOSYS);
   return -1;
index 104f6a38b30acdae3098052ab5f492c8d813ce8e..679b0286ffcc2daab6d5b189b005893aad769176 100644 (file)
@@ -22,8 +22,7 @@
 
 /* Store in SET all signals that are blocked and pending.  */
 int
-sigpending (set)
-     sigset_t *set;
+sigpending (sigset_t *set)
 {
   if (set == NULL)
     {
index 33fb241ea56957b2155b482b6571c4b591d65e01..e3e3c9b322d87da0d7268ae9478a814193325347 100644 (file)
    according to HOW, which may be SIG_BLOCK, SIG_UNBLOCK or SIG_SETMASK.
    If OSET is not NULL, store the old set of blocked signals in *OSET.  */
 int
-__sigprocmask (how, set, oset)
-     int how;
-     const sigset_t *set;
-     sigset_t *oset;
+__sigprocmask (int how, const sigset_t *set, sigset_t *oset)
 {
   switch (how)
     {
index 56c535c9e74cd8c0f8fa8d3e310986f214b5f9ca..27ad1a98a577c55b7352bc3b3f4a4be5e734563b 100644 (file)
@@ -22,8 +22,7 @@
 #include <signal.h>
 
 int
-sigrelse (sig)
-     int sig;
+sigrelse (int sig)
 {
   sigset_t set;
 
index 88f223f98bb0e1348d7e8e335757a3ca2a738b95..f283137288250543452ddc63c353ff878c9e4f2c 100644 (file)
@@ -19,8 +19,7 @@
 #include <errno.h>
 
 int
-__sigreturn (context)
-     struct sigcontext *context;
+__sigreturn (struct sigcontext *context)
 {
   __set_errno (ENOSYS);
   return -1;
index 37c549e07408b4cc5b70b9f259d3212686782c77..4f66be4b770aa9fa6910d57de9b4603b5a82f11e 100644 (file)
@@ -21,9 +21,7 @@
 
 /* Set the disposition for SIG.  */
 __sighandler_t
-sigset (sig, disp)
-     int sig;
-     __sighandler_t disp;
+sigset (int sig, __sighandler_t disp)
 {
   __set_errno (ENOSYS);
   return -1;
index fc27bd41e14b09d1914061b53f52a1239807871e..3d8b485272640041978d3d76b89302f8083190f3 100644 (file)
@@ -19,8 +19,7 @@
 #include <signal.h>
 
 int
-__sigsetmask (mask)
-     int mask;
+__sigsetmask (int mask)
 {
   __set_errno (ENOSYS);
   return -1;
index 4704a561516f5a82210eae2d4e2b970dbd623681..81fe21456b7b8f08e8bca6d2a3404454f8ecbd5a 100644 (file)
@@ -21,9 +21,7 @@
 /* Run signals handlers on the stack specified by SS (if not NULL).
    If OSS is not NULL, it is filled in with the old signal stack status.  */
 int
-sigstack (ss, oss)
-     struct sigstack *ss;
-     struct sigstack *oss;
+sigstack (struct sigstack *ss, struct sigstack *oss)
 {
   __set_errno (ENOSYS);
   return -1;
index cb4ece8c10c143d60a795f2b1504da68010edf94..987104e015fd74bc24fe0b27a8499889315e3dad 100644 (file)
@@ -22,8 +22,7 @@
 /* Change the set of blocked signals to SET,
    wait until a signal arrives, and restore the set of blocked signals.  */
 int
-__sigsuspend (set)
-     const sigset_t *set;
+__sigsuspend (const sigset_t *set)
 {
   __set_errno (ENOSYS);
   return -1;
index 1f9395e654caadff2af5fc92c051378f391f528a..83da1e3b6e1fc77cc37b9f2530bf4c18f6ac9991 100644 (file)
@@ -179,8 +179,7 @@ compat_symbol (libc, __sigvec, sigvec, GLIBC_2_0);
 
 # ifndef SA_RESETHAND
 static void
-sigvec_wrapper_handler (sig)
-     int sig;
+sigvec_wrapper_handler (int sig)
 {
   struct sigvec_wrapper_data *data;
   struct sigaction act;
index 03126961b5464f1a87e6fd1f6bc4a8f7c1af8f4a..848212061f709219eb72970daa75dbadd093f90f 100644 (file)
@@ -21,9 +21,7 @@
 /* Set the handler for the signal SIG to HANDLER,
    returning the old handler, or SIG_ERR on error.  */
 __sighandler_t
-__sysv_signal (sig, handler)
-     int sig;
-     __sighandler_t handler;
+__sysv_signal (int sig, __sighandler_t handler)
 {
   /* Check signal extents to protect __sigismember.  */
   if (handler == SIG_ERR || sig < 1 || sig >= NSIG)
index 619bee5b25e70e88e3d8071711d12bdb81240f24..76765aaaac7b909ce9179d699e8e0336da3bbd65 100644 (file)
    peer and *ADDR_LEN to the address's actual length, and return the
    new socket's descriptor, or -1 for errors.  */
 int
-accept (fd, addr, addr_len)
-     int fd;
-     __SOCKADDR_ARG addr;
-     socklen_t *addr_len;
+accept (int fd, __SOCKADDR_ARG addr, socklen_t *addr_len)
 {
   __set_errno (ENOSYS);
   return -1;
index e1a6d05de0ca092fec9130f9b27ad06d29d519b2..b6c1731feb1d7e2290b999a8a341272251ae7d8d 100644 (file)
    new socket's descriptor, or -1 for errors.  The operation can be influenced
    by the FLAGS parameter.  */
 int
-__libc_accept4 (fd, addr, addr_len, flags)
-     int fd;
-     __SOCKADDR_ARG addr;
-     socklen_t *addr_len;
-     int flags;
+__libc_accept4 (int fd, __SOCKADDR_ARG addr, socklen_t *addr_len, int flags)
 {
   __set_errno (ENOSYS);
   return -1;
index 4dea286c8f76070f973534e7f8737258c2f506fc..15ff31f22bf9867f4fda1bf239c09f915331d6d9 100644 (file)
 
 /* Give the socket FD the local address ADDR (which is LEN bytes long).  */
 int
-__bind (fd, addr, len)
-     int fd;
-     __CONST_SOCKADDR_ARG addr;
-     socklen_t len;
+__bind (int fd, __CONST_SOCKADDR_ARG addr, socklen_t len)
 {
   __set_errno (ENOSYS);
   return -1;
index 45cee74a5a3f8424394e077ae74be76bfbe6d71c..e02b8694a37576239c2f625170ae612349e65bb0 100644 (file)
    and the only address from which to accept transmissions.
    Return 0 on success, -1 for errors.  */
 int
-__connect (fd, addr, len)
-     int fd;
-     __CONST_SOCKADDR_ARG addr;
-     socklen_t len;
+__connect (int fd, __CONST_SOCKADDR_ARG addr, socklen_t len)
 {
   __set_errno (ENOSYS);
   return -1;
index d3425bbe4051ac84b86b4d768e1a8c655841fe2a..43adc686be3425bffa2f0d7b0e045d9df88dad07 100644 (file)
 /* Put the address of the peer connected to socket FD into *ADDR
    (which is *LEN bytes long), and its actual length into *LEN.  */
 int
-getpeername (fd, addr, len)
-     int fd;
-     __SOCKADDR_ARG addr;
-     socklen_t *len;
+getpeername (int fd, __SOCKADDR_ARG addr, socklen_t *len)
 {
   __set_errno (ENOSYS);
   return -1;
index 47e1838aa772ce328524ed733d9c0ef0abb61b19..4d6fac9f4ee83de4bb5d12da30a82c80f40ab8fa 100644 (file)
 
 /* Put the local address of FD into *ADDR and its length in *LEN.  */
 int
-__getsockname (fd, addr, len)
-     int fd;
-     __SOCKADDR_ARG addr;
-     socklen_t *len;
+__getsockname (int fd, __SOCKADDR_ARG addr, socklen_t *len)
 {
   __set_errno (ENOSYS);
   return -1;
index 73fb15e3413c775def9c492f1ccc89688f35f410..7b0f3b38badcfdd2770482a56146f73095c98398 100644 (file)
    into OPTVAL (which is *OPTLEN bytes long), and set *OPTLEN to the value's
    actual length.  Returns 0 on success, -1 for errors.  */
 int
-getsockopt (fd, level, optname, optval, optlen)
-     int fd;
-     int level;
-     int optname;
-     void *optval;
-     socklen_t *optlen;
+getsockopt (int fd, int level, int optname, void *optval, socklen_t *optlen)
 {
   __set_errno (ENOSYS);
   return -1;
index 2bbdfdc8db60635ff0707e297a78a06c5d2196dd..aa4d307181b80961836a4cd0108bc1dd4be3a3ad 100644 (file)
@@ -22,9 +22,7 @@
    N connection requests will be queued before further requests are refused.
    Returns 0 on success, -1 for errors.  */
 int
-__listen (fd, n)
-     int fd;
-     int n;
+__listen (int fd, int n)
 {
   __set_errno (ENOSYS);
   return -1;
index 63a9fcb8b7d0f8aac4a8cb50b1c880f0e80c4663..89cdf5b9e34947827a2b2b6b181bbf1b7639ceb3 100644 (file)
 /* Read N bytes into BUF from socket FD.
    Returns the number read or -1 for errors.  */
 ssize_t
-__recv (fd, buf, n, flags)
-     int fd;
-     void *buf;
-     size_t n;
-     int flags;
+__recv (int fd, void *buf, size_t n, int flags)
 {
   __set_errno (ENOSYS);
   return -1;
index d34a435f4a2ca7772f762bee535b418c8c8c8f90..7dcbdc32f784a032889a585cb371418d6e618df4 100644 (file)
 /* Receive a message as described by MESSAGE from socket FD.
    Returns the number of bytes read or -1 for errors.  */
 ssize_t
-__recvmsg (fd, message, flags)
-     int fd;
-     struct msghdr *message;
-     int flags;
+__recvmsg (int fd, struct msghdr *message, int flags)
 {
   __set_errno (ENOSYS);
   return -1;
index 4ecb332e9efa957844d1c99e30835dd04804121d..cbe3b853b8d5fec95b9fb3daa319605cb71ae0a1 100644 (file)
 
 /* Send N bytes of BUF to socket FD.  Returns the number sent or -1.  */
 ssize_t
-__send (fd, buf, n, flags)
-     int fd;
-     const __ptr_t buf;
-     size_t n;
-     int flags;
+__send (int fd, const __ptr_t buf, size_t n, int flags)
 {
   __set_errno (ENOSYS);
   return -1;
index 586f598c778867f408e54437a3cd99ed69972e30..e9e375202236daa185c49bf20d9d19bd1f427c34 100644 (file)
 /* Send a message described MESSAGE on socket FD.
    Returns the number of bytes sent, or -1 for errors.  */
 ssize_t
-__sendmsg (fd, message, flags)
-     int fd;
-     const struct msghdr *message;
-     int flags;
+__sendmsg (int fd, const struct msghdr *message, int flags)
 {
   __set_errno (ENOSYS);
   return -1;
index ea5f7b30424c4a0bdb9421623ecb85c88d0bec04..912846e33dd27ad85d815801bafcefdc0057d8d0 100644 (file)
@@ -25,9 +25,7 @@
      2 = No more receptions or transmissions.
    Returns 0 on success, -1 for errors.  */
 int
-shutdown (fd, how)
-     int fd;
-     int how;
+shutdown (int fd, int how)
 {
   __set_errno (ENOSYS);
   return -1;
index 6ff6d0198b5851a29987a1e4775a575baf03b641..a00d3118a4af0ba192caebeb3a75cc0c470186c8 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Determine wheter socket is at a out-of-band mark.  */
 int
-sockatmark (fd)
-     int fd;
+sockatmark (int fd)
 {
   __set_errno (ENOSYS);
   return -1;
index 9fe8fd99299c4105a7fb382991ae46eb407f03b1..6f879eafad6ef435d43f6aa5e53173b1058c3577 100644 (file)
    protocol PROTOCOL.  If PROTOCOL is zero, one is chosen automatically.
    Returns a file descriptor for the new socket, or -1 for errors.  */
 int
-__socket (domain, type, protocol)
-     int domain;
-     int type;
-     int protocol;
+__socket (int domain, int type, int protocol)
 {
   __set_errno (ENOSYS);
   return -1;
index 454402dc8f28235cb403230c4990472af89722b9..319704f191ec631bcc235ea2054aae99c11cb3c9 100644 (file)
@@ -23,8 +23,7 @@
    If S is not NULL, the name is copied into it (it should be at
    least L_ctermid bytes long), otherwise a static buffer is used.  */
 char *
-ctermid (s)
-     char *s;
+ctermid (char *s)
 {
   __set_errno (ENOSYS);
   return NULL;
index 7ab5bb855b8a9df30408a531221758888de85681..3b5a755659dcf419ff2d2d0f8dc1b6cc476ffb14 100644 (file)
@@ -22,8 +22,7 @@
    If S is not NULL, it points to a buffer of at least L_cuserid bytes
    into which the name is copied; otherwise, a static buffer is used.  */
 char *
-cuserid (s)
-     char *s;
+cuserid (char *s)
 {
   __set_errno (ENOSYS);
   return NULL;
index d66fd15f021e908be6311da305aa0d4eb0df3137..8d26a361aebc820b6843c581f78b3638ca0910cd 100644 (file)
 
 
 size_t
-parse_printf_format (fmt, n, argtypes)
-      const char *fmt;
-      size_t n;
-      int *argtypes;
+parse_printf_format (const char *fmt, size_t n, int *argtypes)
 {
   size_t nargs;                        /* Number of arguments.  */
   size_t max_ref_arg;          /* Highest index used in a positional arg.  */
index c1815b8dc068f4fedad4454e4e52b777cc5230d6..b365b12ee21c639ecf649b95216f464492c09719 100644 (file)
@@ -20,8 +20,7 @@
 #include <stdio.h>
 
 int
-remove (file)
-     const char *file;
+remove (const char *file)
 {
   __set_errno (ENOSYS);
   return -1;
index b4e521dd8929c789404e17dd56b219e23d0290a9..f56f19d55ee96e135ad1422e19e02f9b23daa05d 100644 (file)
@@ -21,9 +21,7 @@
 
 /* Rename the file OLD to NEW.  */
 int
-rename (old, new)
-     const char *old;
-     const char *new;
+rename (const char *old, const char *new)
 {
   if (old == NULL || new == NULL)
     {
index f191fc3b547e0b62c847dffb84d644754316443e..bbe9d3ae6bc40347733d0c29e30bb9df5426aa03 100644 (file)
 
 /* Rename the file OLD relative to OLDFD to NEW relative to NEWFD.  */
 int
-renameat (oldfd, old, newfd, new)
-     int oldfd;
-     const char *old;
-     int newfd;
-     const char *new;
+renameat (int oldfd, const char *old, int newfd, const char *new)
 {
   if ((oldfd < 0 && oldfd != AT_FDCWD) || (newfd < 0 && newfd != AT_FDCWD))
     {
index 32a91b03082ca32ec350d0afa419fe05da386f8b..4aef3bc24176d7a37222c77ab4db0be122e0468e 100644 (file)
@@ -46,11 +46,7 @@ stub_warning (__path_search)
  */
 
 int
-__gen_tempname (tmpl, suffixlen, flags, kind)
-     char *tmpl;
-     int suffixlen;
-     int flags;
-     int kind;
+__gen_tempname (char *tmpl, int suffixlen, int flags, int kind)
 {
   __set_errno (ENOSYS);
   return -1;
index 64ba314cbefec6e6591be3e4df6b6c714f79ace9..06f74aff005927f35df392da8a8fdb4c27c57407 100644 (file)
@@ -14,18 +14,16 @@ void ReadFile (Buffer *buffer, FILE *input);
 
 #define INIT_BUFFER_SIZE 10000
 
-void InitBuffer(b)
-     Buffer *b;
+void
+InitBuffer (Buffer *b)
 {
   b->room = INIT_BUFFER_SIZE;
   b->used = 0;
   b->buff = (char *)malloc(INIT_BUFFER_SIZE*sizeof(char));
 }
 
-void AppendToBuffer(b, str, len)
-     Buffer *b;
-     const char *str;
-     int len;
+void
+AppendToBuffer (Buffer *b, const char *str, int len)
 {
   while (b->used + len > b->room) {
     b->buff = (char *)realloc(b->buff, 2*b->room*(sizeof(char)));
@@ -35,9 +33,8 @@ void AppendToBuffer(b, str, len)
   b->used += len;
 }
 
-void ReadFile(buffer, input)
-     Buffer *buffer;
-     FILE *input;
+void
+ReadFile (Buffer *buffer, FILE *input)
 {
   char       buf[BUFSIZ + 1];
   int        bytes;
index 156a4a0fa7a897b8ae273171fdd27f72a793af25..5a88ff94e824518532abbcea7c9dc6367f37cb08 100644 (file)
@@ -36,8 +36,7 @@ static const char a64l_table[TABLE_SIZE] =
 
 
 long int
-a64l (string)
-     const char *string;
+a64l (const char *string)
 {
   const char *ptr = string;
   unsigned long int result = 0ul;
index 014af96739d42975e2065300cc71c6514c448da3..7e1772d08a9d392704ea115af5c250decd679a6d 100644 (file)
@@ -21,9 +21,7 @@
 #include <stdlib.h>
 
 int
-drand48_r (buffer, result)
-     struct drand48_data *buffer;
-     double *result;
+drand48_r (struct drand48_data *buffer, double *result)
 {
   return __erand48_r (buffer->__x, buffer, result);
 }
index c72e2e2842e64393dd4016d3b0770e27097cb97d..d36226cc1a0976f0b970d77fdc0dbbb673e63748 100644 (file)
@@ -19,8 +19,7 @@
 #include <ucontext.h>
 
 int
-getcontext (ucp)
-     ucontext_t *ucp;
+getcontext (ucontext_t *ucp)
 {
   __set_errno (ENOSYS);
   return -1;
index f0842fd0cfae77848b74126737e30afbf795abb4..2e40053852c79d75615fd3de9909668890c065bc 100644 (file)
@@ -30,8 +30,7 @@
    two characters which we can access.  By doing this we can avoid using the
    `strncmp' most of the time.  */
 char *
-getenv (name)
-     const char *name;
+getenv (const char *name)
 {
   size_t len = strlen (name);
   char **ep;
index 379e1f896e82019ed9436ea705f6bbb8615950b2..bed8cd29bd4e33b17f41757e7ededf691fe8cab9 100644 (file)
@@ -32,8 +32,7 @@ static const char conv_table[64] =
 };
 
 char *
-l64a (n)
-     long int n;
+l64a (long int n)
 {
   unsigned long int m = (unsigned long int) n;
   static char result[7];
index 8f301d165d220b5569289cfdaa453ae7c8daec70..9c24183fc4053a8e80a63f6b2a19f652814d5f88 100644 (file)
@@ -23,8 +23,7 @@
 
 /* Return the absolute value of I.  */
 long long int
-llabs (i)
-     long long int i;
+llabs (long long int i)
 {
   return i < 0 ? -i : i;
 }
index 4a8a870862f2849bcface18d235f4c08174c2283..979abfef79883405d269707e943589c264ef5ac5 100644 (file)
@@ -21,9 +21,7 @@
 
 /* Return the `lldiv_t' representation of NUMER over DENOM.  */
 lldiv_t
-lldiv (numer, denom)
-     long long int numer;
-     long long int denom;
+lldiv (long long int numer, long long int denom)
 {
   lldiv_t result;
 
index 8d554c7800bbfc920dfd3d8f10667f9f3bdef693..1e5eaa246922f867d1b682ef586ecfad22a4e8d7 100644 (file)
@@ -19,9 +19,7 @@
 #include <stdlib.h>
 
 int
-lrand48_r (buffer, result)
-     struct drand48_data *buffer;
-     long int *result;
+lrand48_r (struct drand48_data *buffer, long int *result)
 {
   /* Be generous for the arguments, detect some errors.  */
   if (buffer == NULL)
index f0f885c06693b9bf5e6835ad4437abe71f67fa6c..a601926e8c8264bfe8b1cac0d9845070743be0b2 100644 (file)
@@ -19,9 +19,7 @@
 #include <stdlib.h>
 
 int
-mrand48_r (buffer, result)
-     struct drand48_data *buffer;
-     long int *result;
+mrand48_r (struct drand48_data *buffer, long int *result)
 {
   /* Be generous for the arguments, detect some errors.  */
   if (buffer == NULL)
index 829bea20bfedee05f9df423c52908ee086a21a8b..57d343282b8a03d1e9f11579f801504b4eea7eec 100644 (file)
@@ -49,8 +49,7 @@ extern char *alloca ();
 
 /* Put STRING, which is of the form "NAME=VALUE", in the environment.  */
 int
-putenv (string)
-     char *string;
+putenv (char *string)
 {
   const char *const name_end = strchr (string, '=');
 
index 0c9e02e3b7cc5b4f27b43655de79a737d427d16f..137d2ba690b7092c04192d3d0d6a32e46febffe0 100644 (file)
@@ -205,8 +205,7 @@ __libc_lock_define_initialized (static, lock)
    introduced by the L.C.R.N.G.  Note that the initialization of randtbl[]
    for default usage relies on values produced by this routine.  */
 void
-__srandom (x)
-     unsigned int x;
+__srandom (unsigned int x)
 {
   __libc_lock_lock (lock);
   (void) __srandom_r (x, &unsafe_state);
@@ -228,10 +227,7 @@ weak_alias (__srandom, srand)
    setstate so that it doesn't matter when initstate is called.
    Returns a pointer to the old state.  */
 char *
-__initstate (seed, arg_state, n)
-     unsigned int seed;
-     char *arg_state;
-     size_t n;
+__initstate (unsigned int seed, char *arg_state, size_t n)
 {
   int32_t *ostate;
   int ret;
@@ -258,8 +254,7 @@ weak_alias (__initstate, initstate)
    same state as the current state
    Returns a pointer to the old state information.  */
 char *
-__setstate (arg_state)
-     char *arg_state;
+__setstate (char *arg_state)
 {
   int32_t *ostate;
 
index c4cd9a3b54a763e2e167c8ab56c2bf20aff98c68..059f7af9855060a45f5a9ced0034395a2bd588a3 100644 (file)
@@ -158,9 +158,7 @@ static const struct random_poly_info random_poly_info =
    introduced by the L.C.R.N.G.  Note that the initialization of randtbl[]
    for default usage relies on values produced by this routine.  */
 int
-__srandom_r (seed, buf)
-     unsigned int seed;
-     struct random_data *buf;
+__srandom_r (unsigned int seed, struct random_data *buf)
 {
   int type;
   int32_t *state;
@@ -297,9 +295,7 @@ weak_alias (__initstate_r, initstate_r)
    same state as the current state
    Returns 0 on success, non-zero on failure.  */
 int
-__setstate_r (arg_state, buf)
-     char *arg_state;
-     struct random_data *buf;
+__setstate_r (char *arg_state, struct random_data *buf)
 {
   int32_t *new_state = 1 + (int32_t *) arg_state;
   int type;
@@ -357,9 +353,7 @@ weak_alias (__setstate_r, setstate_r)
    pointer if the front one has wrapped.  Returns a 31-bit random number.  */
 
 int
-__random_r (buf, result)
-     struct random_data *buf;
-     int32_t *result;
+__random_r (struct random_data *buf, int32_t *result)
 {
   int32_t *state;
 
index 1b0e7d3331be1de9206cb1500a68538c63cbeafc..5c146f02faf64fec4a10c2138897db464a8433f9 100644 (file)
@@ -24,8 +24,7 @@
    what values to accept from the environment.  This special version
    checks for SUID or SGID first before doing any work.  */
 char *
-__libc_secure_getenv (name)
-     const char *name;
+__libc_secure_getenv (const char *name)
 {
   return __libc_enable_secure ? NULL : getenv (name);
 }
index bb977106fcbc80008ede52f24e1da38d9096228a..b38571e0ce5e93e82837a715feac31354999e159 100644 (file)
@@ -19,8 +19,7 @@
 #include <ucontext.h>
 
 int
-setcontext (ucp)
-     const ucontext_t *ucp;
+setcontext (const ucontext_t *ucp)
 {
   __set_errno (ENOSYS);
   return -1;
index dad7e71620ec09bc29b3f7307450b03967d769d5..d39eed34b33a6a2d76f3a2a7149ba93e08b14a63 100644 (file)
@@ -255,10 +255,7 @@ __add_to_environ (name, value, combined, replace)
 }
 
 int
-setenv (name, value, replace)
-     const char *name;
-     const char *value;
-     int replace;
+setenv (const char *name, const char *value, int replace)
 {
   if (name == NULL || *name == '\0' || strchr (name, '=') != NULL)
     {
@@ -270,8 +267,7 @@ setenv (name, value, replace)
 }
 
 int
-unsetenv (name)
-     const char *name;
+unsetenv (const char *name)
 {
   size_t len;
   char **ep;
index 8be470ba1ff81cd853f3d1b8d896ad39d2debead..0f11ff1e3052251498024dd072fc96ce79c773c1 100644 (file)
@@ -20,8 +20,7 @@
 
 
 void
-srand48 (seedval)
-     long seedval;
+srand48 (long seedval)
 {
   (void) __srand48_r (seedval, &__libc_drand48_data);
 }
index 03a96994a160142855b11b2bf8f3a04a20941221..ef534c16aa899995042f7218d21f1936be4b5052 100644 (file)
@@ -20,9 +20,7 @@
 #include <limits.h>
 
 int
-__srand48_r (seedval, buffer)
-     long int seedval;
-     struct drand48_data *buffer;
+__srand48_r (long int seedval, struct drand48_data *buffer)
 {
   /* The standards say we only have 32 bits.  */
   if (sizeof (long int) > 4)
index 988e4aae3f7c6b593da9f4344038a87029871a97..94dc92cd46de85319a5d800a6ea9eafb80e99a4a 100644 (file)
@@ -19,9 +19,7 @@
 #include <ucontext.h>
 
 int
-swapcontext (oucp, ucp)
-     ucontext_t *oucp;
-     const ucontext_t *ucp;
+swapcontext (ucontext_t *oucp, const ucontext_t *ucp)
 {
   __set_errno (ENOSYS);
   return -1;
index f3dbe50c64ac07de691e2bd12e076bee5de70e1f..c4a4a9008101494e1339a82721cbf4b044452762 100644 (file)
@@ -21,8 +21,7 @@
 
 /* Execute LINE as a shell command.  */
 int
-__libc_system (line)
-     const char *line;
+__libc_system (const char *line)
 {
   if (line == NULL)
     return 0;                  /* This indicates no command processor.  */
index b985990822d685b6720280ef77a325165cadd408..848e10737f1a635e7587845c7752b22db5a4e61c 100644 (file)
@@ -182,9 +182,7 @@ do_test (void)
 }
 
 static void
-expand (dst, c)
-     char *dst;
-     int c;
+expand (char *dst, int c)
 {
   if (isprint (c))
     {
index 448102a2d9652ee3724e97b91abcd16f26bbb600..5b80622e07bc71dcf7e65d1632db9c17e786f842 100644 (file)
@@ -611,9 +611,7 @@ do_test (void)
 }
 
 static void
-expand (dst, c)
-     char *dst;
-     int c;
+expand (char *dst, int c)
 {
   if (isprint (c))
     {
index 93f1a56a56956bdbe8317b5f86a786ffaf3ff67d..de39ee3a5e12d287a876de485d268528bf02cab2 100644 (file)
@@ -386,9 +386,7 @@ do_test (void)
 }
 
 static void
-expand (dst, c)
-     char *dst;
-     int c;
+expand (char *dst, int c)
 {
   if (isprint (c))
     {
index 6a282d89a8164f540ca2556a312c80c6397c454e..8e1edfc50f2389cfefb4dc53b4ff5b3d8b9597a0 100644 (file)
@@ -19,9 +19,7 @@
 #include <stropts.h>
 
 int
-fattach (fildes, path)
-     int fildes;
-     const char *path;
+fattach (int fildes, const char *path)
 {
   __set_errno (ENOSYS);
   return -1;
index 09706de30ae20e1042f9ba89586a81995bc7dc7e..44d9d937a980421a3a975e50c0f6858df1d4a0e7 100644 (file)
@@ -19,8 +19,7 @@
 #include <stropts.h>
 
 int
-fdetach (path)
-     const char *path;
+fdetach (const char *path)
 {
   __set_errno (ENOSYS);
   return -1;
index 5ca595a99823a2b9bde75a652ac75516e1c0f042..12fbb7a0953b54f2aada30f4ff267cfde7e41f32 100644 (file)
 #include <stropts.h>
 
 int
-getmsg (fildes, ctlptr, dataptr, flagsp)
-     int fildes;
-     struct strbuf *ctlptr;
-     struct strbuf *dataptr;
-     int *flagsp;
+getmsg (int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *flagsp)
 {
   __set_errno (ENOSYS);
   return -1;
index f8d2b2003228ec1885f9a90a6044f1e9dd8cf6a3..5ed976a330a0a26d3561a49fd24747862d1cd3bd 100644 (file)
@@ -20,8 +20,7 @@
 #include <stropts.h>
 
 int
-isastream (fildes)
-     int fildes;
+isastream (int fildes)
 {
   /* In general we do not have a STREAMS implementation and therefore
      return 0.  But for invalid file descriptors we have to return an
index a30deeb36a56e3d43d36802e2db03ed31e7d7fd2..28f7fc4c16e7cf156d3109f6cd0f9a008e7c0eec 100644 (file)
@@ -24,8 +24,7 @@
 
 /* Find the first bit set in I.  */
 int
-__ffs (i)
-     int i;
+__ffs (int i)
 {
   static const unsigned char table[] =
     {
index 2c89171d03942fd2383f020f5ee508689856d470..6bcfe125ef6f36724f629c19f302e36d2c301a41 100644 (file)
@@ -24,8 +24,7 @@
 
 /* Find the first bit set in I.  */
 int
-ffsll (i)
-     long long int i;
+ffsll (long long int i)
 {
   unsigned long long int x = i & -i;
 
index 41e058629d4d1643c86ec3de15daffbf3d952f77..429c9c838d1760dcd648a0a73ac05932ac643334 100644 (file)
@@ -118,10 +118,7 @@ static int memcmp_common_alignment (long, long, size_t) __THROW;
    objects (not LEN bytes!).  Both SRCP1 and SRCP2 should be aligned for
    memory operations on `op_t's.  */
 static int
-memcmp_common_alignment (srcp1, srcp2, len)
-     long int srcp1;
-     long int srcp2;
-     size_t len;
+memcmp_common_alignment (long int srcp1, long int srcp2, size_t len)
 {
   op_t a0, a1;
   op_t b0, b1;
@@ -205,10 +202,7 @@ static int memcmp_not_common_alignment (long, long, size_t) __THROW;
    `op_t' objects (not LEN bytes!).  SRCP2 should be aligned for memory
    operations on `op_t', but SRCP1 *should be unaligned*.  */
 static int
-memcmp_not_common_alignment (srcp1, srcp2, len)
-     long int srcp1;
-     long int srcp2;
-     size_t len;
+memcmp_not_common_alignment (long int srcp1, long int srcp2, size_t len)
 {
   op_t a0, a1, a2, a3;
   op_t b0, b1, b2, b3;
@@ -308,10 +302,7 @@ memcmp_not_common_alignment (srcp1, srcp2, len)
 }
 
 int
-MEMCMP (s1, s2, len)
-     const __ptr_t s1;
-     const __ptr_t s2;
-     size_t len;
+MEMCMP (const __ptr_t s1, const __ptr_t s2, size_t len)
 {
   op_t a0;
   op_t b0;
index 4a585086fc689f0d5f84adaf9e6a33271269a961..edf77968441b3cf04702e0d93cad28cfd4b0d5fb 100644 (file)
 #undef memcpy
 
 void *
-memcpy (dstpp, srcpp, len)
-     void *dstpp;
-     const void *srcpp;
-     size_t len;
+memcpy (void *dstpp, const void *srcpp, size_t len)
 {
   unsigned long int dstp = (long int) dstpp;
   unsigned long int srcp = (long int) srcpp;
index 574825651905d178b577a43b27a07cd55a436627..ecb36a99dbf8b10626626ca08f199c88eac50ffd 100644 (file)
 
 rettype
 inhibit_loop_to_libcall
-MEMMOVE (a1, a2, len)
-     a1const void *a1;
-     a2const void *a2;
-     size_t len;
+MEMMOVE (a1const void *a1, a2const void *a2, size_t len)
 {
   unsigned long int dstp = (long int) dest;
   unsigned long int srcp = (long int) src;
index 18faf06e4206ec643f9eecad2d8de1c86a398b66..5bdf05ba382addc94ad84a1e9ccaa5bc119074ef 100644 (file)
 
 void *
 inhibit_loop_to_libcall
-memset (dstpp, c, len)
-     void *dstpp;
-     int c;
-     size_t len;
+memset (void *dstpp, int c, size_t len)
 {
   long int dstp = (long int) dstpp;
 
index 228ca9d216d2361825f6a91f1870b6000fe5baef..b18c8adce9a9b57ac8ff29dec970b5f8206c1dd3 100644 (file)
@@ -53,9 +53,7 @@
 
 /* Find the first occurrence of C in S.  */
 __ptr_t
-RAWMEMCHR (s, c_in)
-     const __ptr_t s;
-     int c_in;
+RAWMEMCHR (const __ptr_t s, int c_in)
 {
   const unsigned char *char_ptr;
   const unsigned long int *longword_ptr;
index daf0b3f659d6d0e9bfb3c79448f3d9593bfbe8ba..e084f5d316c5f7d9c21975617703db2b5adf20bd 100644 (file)
@@ -33,9 +33,7 @@
 
 /* Find the first occurrence of C in S or the final NUL byte.  */
 char *
-STRCHRNUL (s, c_in)
-     const char *s;
-     int c_in;
+STRCHRNUL (const char *s, int c_in)
 {
   const unsigned char *char_ptr;
   const unsigned long int *longword_ptr;
index 824d09f759e90da78f137adf4f4130073fe1ed35..922ebb7a068cbb4eea20667f3d64716d1538f1f0 100644 (file)
@@ -26,8 +26,7 @@
 libc_freeres_ptr (static char *buf);
 
 char *
-strerror (errnum)
-     int errnum;
+strerror (int errnum)
 {
   char *ret = __strerror_r (errnum, NULL, 0);
   int saved_errno;
index 15b19f720af00d89605321cef828c5015193cdb9..a15a0062aa9a2279b4b087091dcf7494891193fe 100644 (file)
@@ -37,9 +37,7 @@ char *malloc ();
 #endif
 
 char *
-__strndup (s, n)
-     const char *s;
-     size_t n;
+__strndup (const char *s, size_t n)
 {
   size_t len = __strnlen (s, n);
   char *new = (char *) malloc (len + 1);
index 38bf5e2e6f5b62c3f7647d001f267b10fdc16a46..0c15e52b3fb59850299b00b235b737222070d28f 100644 (file)
@@ -39,9 +39,7 @@
 */
 
 int
-__strverscmp (s1, s2)
-     const char *s1;
-     const char *s2;
+__strverscmp (const char *s1, const char *s2)
 {
   const unsigned char *p1 = (const unsigned char *) s1;
   const unsigned char *p2 = (const unsigned char *) s2;
index 4004c6b6a8e7665af12a73ae23af532e849521ad..6653ee42fbc9edbed04bc7805241ae89de485cad 100644 (file)
@@ -223,10 +223,7 @@ clntraw_geterr (CLIENT *cl, struct rpc_err *err)
 
 
 static bool_t
-clntraw_freeres (cl, xdr_res, res_ptr)
-     CLIENT *cl;
-     xdrproc_t xdr_res;
-     caddr_t res_ptr;
+clntraw_freeres (CLIENT *cl, xdrproc_t xdr_res, caddr_t res_ptr)
 {
   struct clntraw_private_s *clp = clntraw_private;
   XDR *xdrs = &clp->xdr_stream;
index f4ba0efe165a7fa82366f47116155febbe76bdc0..534b3107ed74eaca48a3d0affa181444f06c8c2d 100644 (file)
@@ -332,9 +332,7 @@ call_again:
 }
 
 static void
-clnttcp_geterr (h, errp)
-     CLIENT *h;
-     struct rpc_err *errp;
+clnttcp_geterr (CLIENT *h, struct rpc_err *errp)
 {
   struct ct_data *ct =
   (struct ct_data *) h->cl_private;
@@ -343,10 +341,7 @@ clnttcp_geterr (h, errp)
 }
 
 static bool_t
-clnttcp_freeres (cl, xdr_res, res_ptr)
-     CLIENT *cl;
-     xdrproc_t xdr_res;
-     caddr_t res_ptr;
+clnttcp_freeres (CLIENT *cl, xdrproc_t xdr_res, caddr_t res_ptr)
 {
   struct ct_data *ct = (struct ct_data *) cl->cl_private;
   XDR *xdrs = &(ct->ct_xdrs);
index 32d88b942568120e077e02ad57e462b0dd4750f5..ac3465ee0150824aa11f58a1c67231f9fb0428ae 100644 (file)
@@ -317,10 +317,7 @@ clntunix_geterr (CLIENT *h, struct rpc_err *errp)
 }
 
 static bool_t
-clntunix_freeres (cl, xdr_res, res_ptr)
-     CLIENT *cl;
-     xdrproc_t xdr_res;
-     caddr_t res_ptr;
+clntunix_freeres (CLIENT *cl, xdrproc_t xdr_res, caddr_t res_ptr)
 {
   struct ct_data *ct = (struct ct_data *) cl->cl_private;
   XDR *xdrs = &(ct->ct_xdrs);
index 8df41dc5f269055485a997150b926309d37a2b32..0919d0917ddb454c976715c4c527303955c4b39b 100644 (file)
@@ -38,9 +38,7 @@
 
 
 bool_t
-xdr_pmap (xdrs, regs)
-     XDR *xdrs;
-     struct pmap *regs;
+xdr_pmap (XDR *xdrs, struct pmap *regs)
 {
 
   if (xdr_u_long (xdrs, &regs->pm_prog) &&
index 57b08001780118f8db00957c8b150d8899ce4ac6..01f158d6b80c4044553f4e35bc8575c7819b0195 100644 (file)
@@ -76,9 +76,7 @@
  * this sounds like a job for xdr_reference!
  */
 bool_t
-xdr_pmaplist (xdrs, rp)
-     XDR *xdrs;
-     struct pmaplist **rp;
+xdr_pmaplist (XDR *xdrs, struct pmaplist **rp)
 {
   /*
    * more_elements is pre-computed in case the direction is
index fd8de85589e32c8e71352cb6f3630b157cf39e65..c0adc5b49ac4c54f2feecc6a8453caa728b68aaf 100644 (file)
@@ -144,9 +144,7 @@ libc_hidden_nolink_sunrpc (xdr_rmtcall_args, GLIBC_2_0)
  * written for XDR_DECODE direction only
  */
 bool_t
-xdr_rmtcallres (xdrs, crp)
-     XDR *xdrs;
-     struct rmtcallres *crp;
+xdr_rmtcallres (XDR *xdrs, struct rmtcallres *crp)
 {
   caddr_t port_ptr;
 
index dc24f3673ba5b9fc07b8fef1f089976f856650da..f47c6befe423b8b8f463d77e74b421168c6a067e 100644 (file)
@@ -130,9 +130,7 @@ static const struct xdr_discrim reply_dscrm[3] =
  * XDR a reply message
  */
 bool_t
-xdr_replymsg (xdrs, rmsg)
-     XDR *xdrs;
-     struct rpc_msg *rmsg;
+xdr_replymsg (XDR *xdrs, struct rpc_msg *rmsg)
 {
   if (xdr_u_long (xdrs, &(rmsg->rm_xid)) &&
       xdr_enum (xdrs, (enum_t *) & (rmsg->rm_direction)) &&
@@ -151,9 +149,7 @@ libc_hidden_nolink_sunrpc (xdr_replymsg, GLIBC_2_0)
  * The rm_xid is not really static, but the user can easily munge on the fly.
  */
 bool_t
-xdr_callhdr (xdrs, cmsg)
-     XDR *xdrs;
-     struct rpc_msg *cmsg;
+xdr_callhdr (XDR *xdrs, struct rpc_msg *cmsg)
 {
 
   cmsg->rm_direction = CALL;
index e490a7ee12bae739a7ebf806ca83884507cb4961..2b55eb4a9c99f0909919d733833be3ab41158bc3 100644 (file)
@@ -201,10 +201,7 @@ main (int argc, char **argv)
 }
 
 static void
-udpping (portnum, argc, argv)
-     u_short portnum;
-     int argc;
-     char **argv;
+udpping (u_short portnum, int argc, char **argv)
 {
   struct timeval to;
   struct sockaddr_in addr;
@@ -356,10 +353,7 @@ udpping (portnum, argc, argv)
 }
 
 static void
-tcpping (portnum, argc, argv)
-     u_short portnum;
-     int argc;
-     char **argv;
+tcpping (u_short portnum, int argc, char **argv)
 {
   struct timeval to;
   struct sockaddr_in addr;
@@ -505,10 +499,7 @@ tcpping (portnum, argc, argv)
  * a good error message.
  */
 static int
-pstatus (client, prognum, vers)
-     register CLIENT *client;
-     u_long prognum;
-     u_long vers;
+pstatus (register CLIENT *client, u_long prognum, u_long vers)
 {
   struct rpc_err rpcerr;
 
@@ -527,9 +518,7 @@ pstatus (client, prognum, vers)
 }
 
 static void
-pmapdump (argc, argv)
-     int argc;
-     char **argv;
+pmapdump (int argc, char **argv)
 {
   struct sockaddr_in server_addr;
   register struct hostent *hp;
@@ -624,9 +613,7 @@ reply_proc (res, who)
 }
 
 static void
-brdcst (argc, argv)
-     int argc;
-     char **argv;
+brdcst (int argc, char **argv)
 {
   enum clnt_stat rpc_stat;
   u_long prognum, vers;
@@ -651,9 +638,7 @@ brdcst (argc, argv)
 }
 
 static void
-deletereg (argc, argv)
-     int argc;
-     char **argv;
+deletereg (int argc, char **argv)
 {
   u_long prog_num, version_num;
 
@@ -700,8 +685,7 @@ print_version (void)
 }
 
 static u_long
-getprognum (arg)
-     char *arg;
+getprognum (char *arg)
 {
   register struct rpcent *rpc;
   register u_long prognum;
@@ -725,8 +709,7 @@ getprognum (arg)
 }
 
 static u_long
-getvers (arg)
-     char *arg;
+getvers (char *arg)
 {
   register u_long vers;
 
@@ -735,9 +718,7 @@ getvers (arg)
 }
 
 static void
-get_inet_address (addr, host)
-     struct sockaddr_in *addr;
-     char *host;
+get_inet_address (struct sockaddr_in *addr, char *host)
 {
   register struct hostent *hp;
 
index 7d885574afb3fc34bb1ea789f6b437180fbcfe18..99bfdfebe87484cb470089b15639d29f58b83a4d 100644 (file)
@@ -97,9 +97,7 @@ svcraw_stat (SVCXPRT *xprt)
 }
 
 static bool_t
-svcraw_recv (xprt, msg)
-     SVCXPRT *xprt;
-     struct rpc_msg *msg;
+svcraw_recv (SVCXPRT *xprt, struct rpc_msg *msg)
 {
   struct svcraw_private_s *srp = svcraw_private;
   XDR *xdrs;
index f4beea62fdca2d0476fe023ad83c6b6331b20adb..2097f9245e51ca9b46e365b182fa10ac21bae56c 100644 (file)
@@ -205,8 +205,7 @@ libc_hidden_nolink_sunrpc (svcudp_bufcreate, GLIBC_2_0)
 #endif
 
 SVCXPRT *
-svcudp_create (sock)
-     int sock;
+svcudp_create (int sock)
 {
   return svcudp_bufcreate (sock, UDPMSGSIZE, UDPMSGSIZE);
 }
@@ -217,17 +216,14 @@ libc_hidden_nolink_sunrpc (svcudp_create, GLIBC_2_0)
 #endif
 
 static enum xprt_stat
-svcudp_stat (xprt)
-     SVCXPRT *xprt;
+svcudp_stat (SVCXPRT *xprt)
 {
 
   return XPRT_IDLE;
 }
 
 static bool_t
-svcudp_recv (xprt, msg)
-     SVCXPRT *xprt;
-     struct rpc_msg *msg;
+svcudp_recv (SVCXPRT *xprt, struct rpc_msg *msg)
 {
   struct svcudp_data *su = su_data (xprt);
   XDR *xdrs = &(su->su_xdrs);
@@ -329,9 +325,7 @@ again:
 }
 
 static bool_t
-svcudp_reply (xprt, msg)
-     SVCXPRT *xprt;
-     struct rpc_msg *msg;
+svcudp_reply (SVCXPRT *xprt, struct rpc_msg *msg)
 {
   struct svcudp_data *su = su_data (xprt);
   XDR *xdrs = &(su->su_xdrs);
@@ -375,20 +369,14 @@ svcudp_reply (xprt, msg)
 }
 
 static bool_t
-svcudp_getargs (xprt, xdr_args, args_ptr)
-     SVCXPRT *xprt;
-     xdrproc_t xdr_args;
-     caddr_t args_ptr;
+svcudp_getargs (SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr)
 {
 
   return (*xdr_args) (&(su_data (xprt)->su_xdrs), args_ptr);
 }
 
 static bool_t
-svcudp_freeargs (xprt, xdr_args, args_ptr)
-     SVCXPRT *xprt;
-     xdrproc_t xdr_args;
-     caddr_t args_ptr;
+svcudp_freeargs (SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr)
 {
   XDR *xdrs = &(su_data (xprt)->su_xdrs);
 
@@ -397,8 +385,7 @@ svcudp_freeargs (xprt, xdr_args, args_ptr)
 }
 
 static void
-svcudp_destroy (xprt)
-     SVCXPRT *xprt;
+svcudp_destroy (SVCXPRT *xprt)
 {
   struct svcudp_data *su = su_data (xprt);
 
index fade667c8e263f8c51f2d55f8baa6b1845755900..5fd64633744787a65204d5434fdf9a1669f07be6 100644 (file)
@@ -590,11 +590,7 @@ libc_hidden_nolink_sunrpc (xdr_opaque, GLIBC_2_0)
  * If *cpp is NULL maxsize bytes are allocated
  */
 bool_t
-xdr_bytes (xdrs, cpp, sizep, maxsize)
-     XDR *xdrs;
-     char **cpp;
-     u_int *sizep;
-     u_int maxsize;
+xdr_bytes (XDR *xdrs, char **cpp, u_int *sizep, u_int maxsize)
 {
   char *sp = *cpp;     /* sp is the actual string pointer */
   u_int nodesize;
@@ -656,9 +652,7 @@ libc_hidden_nolink_sunrpc (xdr_bytes, GLIBC_2_0)
  * Implemented here due to commonality of the object.
  */
 bool_t
-xdr_netobj (xdrs, np)
-     XDR *xdrs;
-     struct netobj *np;
+xdr_netobj (XDR *xdrs, struct netobj *np)
 {
 
   return xdr_bytes (xdrs, &np->n_bytes, &np->n_len, MAX_NETOBJ_SZ);
@@ -733,10 +727,7 @@ libc_hidden_nolink_sunrpc (xdr_union, GLIBC_2_0)
  * of the string as specified by a protocol.
  */
 bool_t
-xdr_string (xdrs, cpp, maxsize)
-     XDR *xdrs;
-     char **cpp;
-     u_int maxsize;
+xdr_string (XDR *xdrs, char **cpp, u_int maxsize)
 {
   char *sp = *cpp;     /* sp is the actual string pointer */
   /* Initialize to silence the compiler.  It is not really needed because SIZE
@@ -817,9 +808,7 @@ libc_hidden_nolink_sunrpc (xdr_string, GLIBC_2_0)
  * routines like clnt_call
  */
 bool_t
-xdr_wrapstring (xdrs, cpp)
-     XDR *xdrs;
-     char **cpp;
+xdr_wrapstring (XDR *xdrs, char **cpp)
 {
   if (xdr_string (xdrs, cpp, LASTUNSIGNED))
     {
index 78e8f3bd2da567f2de002e9ab1b153ca4d3853c1..4ce8ae7a9c314e979cf5a354ca0f28303c00184f 100644 (file)
@@ -80,9 +80,7 @@ static struct sgl_limits {
 #endif /* vax */
 
 bool_t
-xdr_float(xdrs, fp)
-     XDR *xdrs;
-     float *fp;
+xdr_float (XDR *xdrs, float *fp)
 {
 #ifdef vax
        struct ieee_single is;
@@ -201,9 +199,7 @@ static struct dbl_limits {
 
 
 bool_t
-xdr_double(xdrs, dp)
-     XDR *xdrs;
-     double *dp;
+xdr_double (XDR *xdrs, double *dp)
 {
 #ifdef vax
        struct  ieee_double id;
index ba7661aa549b7792fcd0f73fd2c80a9b4a429119..8b9858959476ad8bee7f7eaa7250c516beda55b4 100644 (file)
@@ -172,9 +172,7 @@ xdrmem_getpos (const XDR *xdrs)
  * xdrs modified
  */
 static bool_t
-xdrmem_setpos (xdrs, pos)
-     XDR *xdrs;
-     u_int pos;
+xdrmem_setpos (XDR *xdrs, u_int pos)
 {
   caddr_t newaddr = xdrs->x_base + pos;
   caddr_t lastaddr = xdrs->x_private + xdrs->x_handy;
index 8fb4584a75c4fd54fb7e210e8657cba22cc1df21..a7d9264ed6be6fe24b0e43e63adfe7fc06393a3d 100644 (file)
@@ -113,11 +113,7 @@ libc_hidden_nolink_sunrpc (xdr_reference, GLIBC_2_0)
  *
  */
 bool_t
-xdr_pointer (xdrs, objpp, obj_size, xdr_obj)
-     XDR *xdrs;
-     char **objpp;
-     u_int obj_size;
-     xdrproc_t xdr_obj;
+xdr_pointer (XDR *xdrs, char **objpp, u_int obj_size, xdrproc_t xdr_obj)
 {
 
   bool_t more_data;
index 62974590d95f0864f1140be7a0df5eb8039d5c78..38fc4658544cddeb1ec708fd50cf51e99be0d39a 100644 (file)
@@ -20,9 +20,7 @@
 #include <sys/stat.h>
 
 key_t
-ftok (pathname, proj_id)
-     const char *pathname;
-     int proj_id;
+ftok (const char *pathname, int proj_id)
 {
   struct stat64 st;
   key_t key;
index c532bd999dc634c3a0f218b94dd9b230f944a1f6..e97664ac9a1534e8064df918d922f4552ae43c1d 100644 (file)
    objects.  */
 
 int
-msgctl (msqid, cmd, buf)
-     int msqid;
-     int cmd;
-     struct msqid_ds *buf;
+msgctl (int msqid, int cmd, struct msqid_ds *buf)
 {
   __set_errno (ENOSYS);
   return -1;
index 0d68701e790c1785db14cff1d1ebcedccf01853f..a1f0ebed0c84822de7145631e82099d9a41b9613 100644 (file)
@@ -23,9 +23,7 @@
    parameter describes how to proceed with clashing of key values.  */
 
 int
-msgget (key, msgflg)
-     key_t key;
-     int msgflg;
+msgget (key_t key, int msgflg)
 {
   __set_errno (ENOSYS);
   return -1;
index 1a78f9e35a5af223c839a8e2c78882359c8c71ce..00b869b303dc1dc352b4a4e3053b420679f97a1e 100644 (file)
    in buffer overflow or queue underflow.  */
 
 ssize_t
-msgrcv (msqid, msgp, msgsz, msgtyp, msgflg)
-     int msqid;
-     void *msgp;
-     size_t msgsz;
-     long msgtyp;
-     int msgflg;
+msgrcv (int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg)
 {
   __set_errno (ENOSYS);
   return -1;
index 49eba4baac2e01eae871db750a802004bc17e5d2..140b459abd1906d4952cde8cef5bb59e36cc9176 100644 (file)
    when the limit of the message queue length is reached.  */
 
 int
-msgsnd (msqid, msgp, msgsz, msgflg)
-     int msqid;
-     const void *msgp;
-     size_t msgsz;
-     int msgflg;
+msgsnd (int msqid, const void *msgp, size_t msgsz, int msgflg)
 {
   __set_errno (ENOSYS);
   return -1;
index be850cdeea7a5273746003fac9dd627d8752e017..e863ec6a3f7b8fff480ec9a1dc07673561810b14 100644 (file)
    KEY.  */
 
 int
-semget (key, nsems, semflg)
-     key_t key;
-     int nsems;
-     int semflg;
+semget (key_t key, int nsems, int semflg)
 {
   __set_errno (ENOSYS);
   return -1;
index 1f03797c7a1186da9c8e032eb1b62e428f14f41e..da6cc437df1035e0b354cd36e9eaaacf65dd7f4e 100644 (file)
 /* Perform user-defined atomical operation of array of semaphores.  */
 
 int
-semop (semid, sops, nsops)
-     int semid;
-     struct sembuf *sops;
-     size_t nsops;
+semop (int semid, struct sembuf *sops, size_t nsops)
 {
   __set_errno (ENOSYS);
   return -1;
index 30fb015c6589a7e36c85a04abcc3d9a7f6e7f8a6..13b16cd9bd11bd869dc104e8d7cadb859b01f72b 100644 (file)
    and where the segment is attached.  */
 
 void *
-shmat (shmid, shmaddr, shmflg)
-     int shmid;
-     const void *shmaddr;
-     int shmflg;
+shmat (int shmid, const void *shmaddr, int shmflg)
 {
   __set_errno (ENOSYS);
   return (void *) -1;
index 2c4f1982c4116c9a7e1944d949a1d1e894801d6e..e56515a096cc100d11f8dea8182ebc31610d1173 100644 (file)
 /* Provide operations to control over shared memory segments.  */
 
 int
-shmctl (shmid, cmd, buf)
-     int shmid;
-     int cmd;
-     struct shmid_ds *buf;
+shmctl (int shmid, int cmd, struct shmid_ds *buf)
 {
   __set_errno (ENOSYS);
   return -1;
index 660a69b6f06430ccbec0473092bdf2779e150b68..174d6740701795610f623f54cfe2ca4011218c04 100644 (file)
@@ -23,8 +23,7 @@
    from the caller's data segment.  */
 
 int
-shmdt (shmaddr)
-     const void *shmaddr;
+shmdt (const void *shmaddr)
 {
   __set_errno (ENOSYS);
   return -1;
index 973c0c790d93ba96ab552424bb0d89cf91ae0d3f..a84f8af252062aea76afdbf5ad9b5a806e53d9a9 100644 (file)
    which is associated with KEY.  */
 
 int
-shmget (key, size, shmflg)
-     key_t key;
-     size_t size;
-     int shmflg;
+shmget (key_t key, size_t size, int shmflg)
 {
   __set_errno (ENOSYS);
   return -1;
index 035a6d6ce43bad7bcaaded2dff642fa9d203587e..0f955a3c2a0e5ceefda16b5f04f3d57859c31228 100644 (file)
@@ -19,8 +19,7 @@
 
 /* Set *T to indicate raw mode.  */
 void
-cfmakeraw (t)
-     struct termios *t;
+cfmakeraw (struct termios *t)
 {
   t->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
   t->c_oflag &= ~OPOST;
index a6380a948ff76889e51ebcc135388d624cf5e1b2..b3d81c2c373a8109217cb85dac32c12e5461f3d4 100644 (file)
 
 /* Return the output baud rate stored in *TERMIOS_P.  */
 speed_t
-cfgetospeed (termios_p)
-     const struct termios *termios_p;
+cfgetospeed (const struct termios *termios_p)
 {
   return termios_p->__ospeed;
 }
 
 /* Return the input baud rate stored in *TERMIOS_P.  */
 speed_t
-cfgetispeed (termios_p)
-     const struct termios *termios_p;
+cfgetispeed (const struct termios *termios_p)
 {
   return termios_p->__ispeed;
 }
 
 /* Set the output baud rate stored in *TERMIOS_P to SPEED.  */
 int
-cfsetospeed (termios_p, speed)
-     struct termios *termios_p;
-     speed_t speed;
+cfsetospeed (struct termios *termios_p, speed_t speed)
 {
   if (termios_p == NULL)
     {
@@ -55,9 +51,7 @@ libc_hidden_def (cfsetospeed)
 
 /* Set the input baud rate stored in *TERMIOS_P to SPEED.  */
 int
-cfsetispeed (termios_p, speed)
-     struct termios *termios_p;
-     speed_t speed;
+cfsetispeed (struct termios *termios_p, speed_t speed)
 {
   if (termios_p == NULL)
     {
index a86fe8bd54458ef59369d50144ca11b06d947960..c505b7d6691c4698e3ab1545d09dd6e5850ddfed 100644 (file)
@@ -20,9 +20,7 @@
 
 /* Suspend or restart transmission on FD.  */
 int
-tcflow (fd, action)
-     int fd;
-     int action;
+tcflow (int fd, int action)
 {
   if (fd < 0)
     {
index db3c945f98c7d662ddb9b71684cf111c2756605b..4bb085b2b9373520e404c94e777db37d506c4e48 100644 (file)
@@ -20,9 +20,7 @@
 
 /* Flush pending data on FD.  */
 int
-tcflush (fd, queue_selector)
-     int fd;
-     int queue_selector;
+tcflush (int fd, int queue_selector)
 {
   switch (queue_selector)
     {
index badbb5996534c3a8f905fde373c0f118c4056bae..b512e68c2221dac43b3f5f46862f8b7c4ef9d788 100644 (file)
@@ -21,9 +21,7 @@
 
 /* Put the state of FD into *TERMIOS_P.  */
 int
-__tcgetattr (fd, termios_p)
-     int fd;
-     struct termios *termios_p;
+__tcgetattr (int fd, struct termios *termios_p)
 {
   if (fd < 0)
     {
index b1a05476f30b7d4520affe08b5ebf809dc466abb..71019745ddb337baf55f19d4e13329efc8b01012 100644 (file)
@@ -21,8 +21,7 @@
 
 /* Return the foreground process group ID of FD.  */
 pid_t
-tcgetpgrp (fd)
-     int fd;
+tcgetpgrp (int fd)
 {
   if (fd < 0)
     {
index fcf4d7f32f3bab772398fd6cddebdf40b5b5203f..59e2a7c8dada9699283092751d5ab7ec147cc339 100644 (file)
@@ -23,8 +23,7 @@
 
 /* Return the session ID of FD.  */
 pid_t
-tcgetsid (fd)
-     int fd;
+tcgetsid (int fd)
 {
   pid_t pgrp;
   pid_t sid;
index abd4d11a19cb4b81f6488e48462b205875e5caac..ff8b4dd2675919b6f0cc825e1a2d15ef677fe28f 100644 (file)
@@ -20,9 +20,7 @@
 
 /* Send zero bits on FD.  */
 int
-tcsendbreak (fd, duration)
-     int fd;
-     int duration;
+tcsendbreak (int fd, int duration)
 {
   if (fd < 0)
     {
index e6205c53e989526ce9f2b78b7acd30056c6a5a78..cec1e98010c71fd9cdea53a84d4c28dd849c9837 100644 (file)
@@ -21,9 +21,7 @@
 
 /* Set the foreground process group ID of FD set PGRP_ID.  */
 int
-tcsetpgrp (fd, pgrp_id)
-     int fd;
-     pid_t pgrp_id;
+tcsetpgrp (int fd, pid_t pgrp_id)
 {
   if (fd < 0)
     {
index 052931d4e97e61a35426d6f3137235e4fb408f80..436ff043ae3820280855b0ac2c8215533735dc82 100644 (file)
@@ -23,9 +23,7 @@
    of time adjustment remaining to be done from the last `__adjtime' call.
    This call is restricted to the super-user.  */
 int
-__adjtime (delta, olddelta)
-     const struct timeval *delta;
-     struct timeval *olddelta;
+__adjtime (const struct timeval *delta, struct timeval *olddelta)
 {
   __set_errno (ENOSYS);
   return -1;
index 95b6095b3709cdeb56a337559d102e30d6cd7754..f1b5a08bd7fcfeafa1f1ae99d340d0d4e49fa307 100644 (file)
@@ -18,8 +18,7 @@
 #include <time.h>
 
 int
-dysize (year)
-     int year;
+dysize (int year)
 {
   return __isleap (year) ? 366 : 365;
 }
index 607467242d221d7ac6eaadccc652f49b919cbefb..5f71da809cd2f089afac7db5d2ca1a6d6a8b52b2 100644 (file)
@@ -20,8 +20,7 @@
 #include <sys/timeb.h>
 
 int
-ftime (timebuf)
-     struct timeb *timebuf;
+ftime (struct timeb *timebuf)
 {
   int save = errno;
   struct tm tp;
index e9d2920a567dadd70717476bdcecebca775c9fa5..c138414cd54b21a902f7e6f1d58c157f87906f5a 100644 (file)
@@ -22,9 +22,7 @@
 /* Set *VALUE to the current setting of timer WHICH.
    Return 0 on success, -1 on errors.  */
 int
-__getitimer (which, value)
-     enum __itimer_which which;
-     struct itimerval *value;
+__getitimer (enum __itimer_which which, struct itimerval *value)
 {
   if (value == NULL)
     {
index 399eb60846b2689e2adabf9047447d20b7c232f3..f120f5598937ee328aca7bad1e4b38157df843cf 100644 (file)
@@ -22,9 +22,7 @@
    putting it into *TV and *TZ.  If TZ is NULL, *TZ is not filled.
    Returns 0 on success, -1 on errors.  */
 int
-__gettimeofday (tv, tz)
-     struct timeval *tv;
-     struct timezone *tz;
+__gettimeofday (struct timeval *tv, struct timezone *tz)
 {
   __set_errno (ENOSYS);
   return -1;
index 60ac207b63b9b9753cb8d8eb094646980b3a437d..ae18c8c30c2d8269ed40ab35db07389f2514287a 100644 (file)
@@ -21,9 +21,7 @@
 /* Return the `struct tm' representation of *T in UTC,
    using *TP to store the result.  */
 struct tm *
-__gmtime_r (t, tp)
-     const time_t *t;
-     struct tm *tp;
+__gmtime_r (const time_t *t, struct tm *tp)
 {
   return __tz_convert (t, 0, tp);
 }
@@ -33,8 +31,7 @@ weak_alias (__gmtime_r, gmtime_r)
 
 /* Return the `struct tm' representation of *T in UTC. */
 struct tm *
-gmtime (t)
-     const time_t *t;
+gmtime (const time_t *t)
 {
   return __tz_convert (t, 0, &_tmbuf);
 }
index 38f3123d9a4093c3bbd78e4d39f63491af1fed56..14b685420792cbdd0fdd41d26b58036dfdc3708f 100644 (file)
@@ -25,9 +25,7 @@ struct tm _tmbuf;
 /* Return the `struct tm' representation of *T in local time,
    using *TP to store the result.  */
 struct tm *
-__localtime_r (t, tp)
-     const time_t *t;
-     struct tm *tp;
+__localtime_r (const time_t *t, struct tm *tp)
 {
   return __tz_convert (t, 1, tp);
 }
@@ -36,8 +34,7 @@ weak_alias (__localtime_r, localtime_r)
 
 /* Return the `struct tm' representation of *T in local time.  */
 struct tm *
-localtime (t)
-     const time_t *t;
+localtime (const time_t *t)
 {
   return __tz_convert (t, 1, &_tmbuf);
 }
index a437266e95eaaf7bb99e1b4512a633f9dfd906d4..8aaabb2a1ebb12b78e28aefc573195209f1257ec 100644 (file)
    and store year, yday, mon, mday, wday, hour, min, sec into *TP.
    Return nonzero if successful.  */
 int
-__offtime (t, offset, tp)
-     const time_t *t;
-     long int offset;
-     struct tm *tp;
+__offtime (const time_t *t, long int offset, struct tm *tp)
 {
   time_t days, rem, y;
   const unsigned short int *ip;
index 513e194af2906f6e3b062a4d60d4c2b7ce6304f7..d6a632a3949cc91d02b9ee97d032985679c088fd 100644 (file)
@@ -21,9 +21,7 @@
 /* Set the current time of day and timezone information.
    This call is restricted to the super-user.  */
 int
-__settimeofday (tv, tz)
-     const struct timeval *tv;
-     const struct timezone *tz;
+__settimeofday (const struct timeval *tv, const struct timezone *tz)
 {
   __set_errno (ENOSYS);
   return -1;
index b86b152c5e3d8acadb9df1862565ef206181281a..4d6533360542c4c6d0f4be1766283cd261e99e52 100644 (file)
@@ -22,8 +22,7 @@
 /* Set the system clock to *WHEN.  */
 
 int
-stime (when)
-     const time_t *when;
+stime (const time_t *when)
 {
   if (when == NULL)
     {
index 4eb647c9761b7de6f16d67d009f9a86c5a1e217c..26829cf7bd639fab74c306ee26b4484ba74767f2 100644 (file)
@@ -366,9 +366,7 @@ memcpy_uppcase (dest, src, len LOCALE_PARAM)
 # define tm_diff ftime_tm_diff
 static int tm_diff (const struct tm *, const struct tm *) __THROW;
 static int
-tm_diff (a, b)
-     const struct tm *a;
-     const struct tm *b;
+tm_diff (const struct tm *a, const struct tm *b)
 {
   /* Compute intervening leap days correctly even if year is negative.
      Take care to avoid int overflow in leap day calculations,
@@ -403,9 +401,7 @@ static int iso_week_days (int, int) __THROW;
 __inline__
 #endif
 static int
-iso_week_days (yday, wday)
-     int yday;
-     int wday;
+iso_week_days (int yday, int wday)
 {
   /* Add enough to the first operand of % to make it nonnegative.  */
   int big_enough_multiple_of_7 = (-YDAY_MINIMUM / 7 + 2) * 7;
index fb98c62c22cc30b6d1e2170fb32487fc433ad3bb..04e8135a877236a059a5ec9eaa21f8374de43150 100644 (file)
 
 
 char *
-strptime (buf, format, tm)
-     const char *buf;
-     const char *format;
-     struct tm *tm;
+strptime (const char *buf, const char *format, struct tm *tm)
 {
   return __strptime_internal (buf, format, tm, NULL, _NL_CURRENT_LOCALE);
 }
index ee313e370c9ff29a1424a9c4beaa7ceb07756a47..78f5e0d2cc9548e7e3bea6331ae8e10c3377b432 100644 (file)
@@ -20,8 +20,7 @@
 
 /* Return the time now, and store it in *TIMER if not NULL.  */
 time_t
-time (timer)
-     time_t *timer;
+time (time_t *timer)
 {
   __set_errno (ENOSYS);
 
index 28772d5a050722168b3d83210470c581c65ed00c..a1d169ef312dc358b66618a478a160f4839022f8 100644 (file)
@@ -20,9 +20,7 @@
 
 /* Set TS to calendar time based in time base BASE.  */
 int
-timespec_get (ts, base)
-     struct timespec *ts;
-     int base;
+timespec_get (struct timespec *ts, int base)
 {
   switch (base)
     {
index 01b76b47deb12998be23bf58a22a10557e63c969..ee255f4243f355b55771fa07bb0db5829b40dea4 100644 (file)
@@ -394,9 +394,7 @@ __tzset_parse_tz (const char *tz)
 /* Interpret the TZ envariable.  */
 static void
 internal_function
-tzset_internal (always, explicit)
-     int always;
-     int explicit;
+tzset_internal (int always, int explicit)
 {
   static int is_initialized;
   const char *tz;
@@ -466,9 +464,7 @@ tzset_internal (always, explicit)
    put it in RULE->change, saving YEAR in RULE->computed_for.  */
 static void
 internal_function
-compute_change (rule, year)
-     tz_rule *rule;
-     int year;
+compute_change (tz_rule *rule, int year)
 {
   time_t t;
 
@@ -557,10 +553,7 @@ compute_change (rule, year)
    `__timezone', and `__daylight' accordingly.  */
 void
 internal_function
-__tz_compute (timer, tm, use_localtime)
-     time_t timer;
-     struct tm *tm;
-     int use_localtime;
+__tz_compute (time_t timer, struct tm *tm, int use_localtime)
 {
   compute_change (&tz_rules[0], 1900 + tm->tm_year);
   compute_change (&tz_rules[1], 1900 + tm->tm_year);
index 9bb03f35df9d2b7dacaff293e24baf331b2ab1b0..fe27f3413f00390c39fe0dec86a5ee8da30712d5 100644 (file)
@@ -29,8 +29,7 @@
 
 
 wint_t
-__btowc (c)
-     int c;
+__btowc (int c)
 {
   const struct gconv_fcts *fcts;
 
index 25f6f4571fc6dc3af606a40c6c360703a8de94c6..8464266d247b22aca03d2e0c6b6f5fb260132e33 100644 (file)
@@ -24,10 +24,7 @@ static mbstate_t internal;
 
 
 size_t
-__mbrlen (s, n, ps)
-     const char *s;
-     size_t n;
-     mbstate_t *ps;
+__mbrlen (const char *s, size_t n, mbstate_t *ps)
 {
   return __mbrtowc (NULL, s, n, ps ?: &internal);
 }
index 4e337341ba7b9947ac16a309d5d28fa136ff789e..79323b501776b5402140ff89b37ad2cf03a403af 100644 (file)
@@ -31,8 +31,7 @@
    value collected so far.  Especially, we don't have different shift
    states.  */
 int
-__mbsinit (ps)
-     const mbstate_t *ps;
+__mbsinit (const mbstate_t *ps)
 {
   return ps == NULL || ps->__count == 0;
 }
index 7e468b656576b631e5bde98823e74a2cf952c0b6..e2566385b9da2d4b5f428712fc4430a8287f328d 100644 (file)
 static mbstate_t state;
 
 size_t
-__mbsrtowcs (dst, src, len, ps)
-     wchar_t *dst;
-     const char **src;
-     size_t len;
-     mbstate_t *ps;
+__mbsrtowcs (wchar_t *dst, const char **src, size_t len, mbstate_t *ps)
 {
   return __mbsrtowcs_l (dst, src, len, ps ?: &state, _NL_CURRENT_LOCALE);
 }
index 0c8ded32e0700dd1dcb6497891893eba5dd78563..a4bcfc5959f1d418221d86d93f236b004a531e34 100644 (file)
@@ -27,9 +27,7 @@
 /* Copy SRC to DEST, returning the address of the terminating L'\0' in
    DEST.  */
 wchar_t *
-__wcpcpy (dest, src)
-     wchar_t *dest;
-     const wchar_t *src;
+__wcpcpy (wchar_t *dest, const wchar_t *src)
 {
   wchar_t *wcp = (wchar_t *) dest - 1;
   wint_t c;
index e19e44c6c660164c47d3b5de7a667f65a7b5f1f5..2f14090b4c51e6ea7f6ebf2aec056a27986af011 100644 (file)
 /* Copy no more than N wide-characters of SRC to DEST, returning the
    address of the last character written into DEST.  */
 wchar_t *
-__wcpncpy (dest, src, n)
-     wchar_t *dest;
-     const wchar_t *src;
-     size_t n;
+__wcpncpy (wchar_t *dest, const wchar_t *src, size_t n)
 {
   wint_t c;
   wchar_t *const s = dest;
index b0f0873cf45ff7f0e4a19d680959abf781d41246..129f7da17c0593b0dca07f7ee629d8f184c77bc2 100644 (file)
@@ -24,9 +24,7 @@
 
 /* Append SRC on the end of DEST.  */
 wchar_t *
-__wcscat (dest, src)
-     wchar_t *dest;
-     const wchar_t *src;
+__wcscat (wchar_t *dest, const wchar_t *src)
 {
   wchar_t *s1 = dest;
   const wchar_t *s2 = src;
index 97ef3b9dfd0c87af466d3d8b2b481f1cf33f99d0..418725f9db7155eb343c1b2f8c80164c4f7b6baa 100644 (file)
@@ -23,9 +23,7 @@
 
 /* Find the first occurrence of WC in WCS.  */
 wchar_t *
-__wcschrnul (wcs, wc)
-     const wchar_t *wcs;
-     const wchar_t wc;
+__wcschrnul (const wchar_t *wcs, const wchar_t wc)
 {
   while (*wcs != L'\0')
     if (*wcs == wc)
index fcfe0c5bcb4477f4f77efb94ef4d65b1cc4a8c69..897ac356d2ea9f172e87b9be6ceeb61f9594e686 100644 (file)
@@ -26,9 +26,7 @@
    greater than zero if S1 is lexicographically less than,
    equal to or greater than S2.         */
 int
-WCSCMP (s1, s2)
-     const wchar_t *s1;
-     const wchar_t *s2;
+WCSCMP (const wchar_t *s1, const wchar_t *s2)
 {
   wchar_t c1, c2;
 
index 56e8fc19eb5cf03e4ba6eed54bcaecb28dee9ab3..aa3a313ca2f51b0012e055692fc8a4e162dc650e 100644 (file)
@@ -26,9 +26,7 @@
 
 /* Copy SRC to DEST.  */
 wchar_t *
-WCSCPY (dest, src)
-     wchar_t *dest;
-     const wchar_t *src;
+WCSCPY (wchar_t *dest, const wchar_t *src)
 {
   wint_t c;
   wchar_t *wcp;
index d735f8c86e528037e10306969ce8d84caad48248..fb21a413c033abecc29225384439392f7ea080f8 100644 (file)
@@ -25,9 +25,7 @@
 /* Return the length of the maximum initial segment
    of WCS which contains only wide-characters not in REJECT.  */
 size_t
-wcscspn (wcs, reject)
-     const wchar_t *wcs;
-     const wchar_t *reject;
+wcscspn (const wchar_t *wcs, const wchar_t *reject)
 {
   size_t count = 0;
 
index 58c2c52af71115d65e1fe3bf7bff3942147b6af1..eb806e34112b9355f84ddbda71f079f68ac4c32a 100644 (file)
@@ -23,8 +23,7 @@
 
 /* Duplicate S, returning an identical malloc'd string.         */
 wchar_t *
-wcsdup (s)
-     const wchar_t *s;
+wcsdup (const wchar_t *s)
 {
   size_t len = (__wcslen (s) + 1) * sizeof (wchar_t);
   void *new = malloc (len);
index e0767210d82742155c0cb9ba94e4e68d855740dd..94eda2b1b931d3c54eacf3c817f65b78355b9f98 100644 (file)
@@ -24,8 +24,7 @@
 #endif
 
 size_t
-__wcslen (s)
-     const wchar_t *s;
+__wcslen (const wchar_t *s)
 {
   size_t len = 0;
 
index 78fe7653fdd2d4a2743052e76675e4b6c5bf688d..3ab88536a2282eb42f2dca166152fd12fb75ee59 100644 (file)
 
 /* Append no more than N wide-character of SRC onto DEST.  */
 wchar_t *
-WCSNCAT (dest, src, n)
-     wchar_t *dest;
-     const wchar_t *src;
-     size_t n;
+WCSNCAT (wchar_t *dest, const wchar_t *src, size_t n)
 {
   wchar_t c;
   wchar_t * const s = dest;
index 4de2ca8c0a5abd960cef4b5fc13cc810fa02a854..73f054be5f72ee1d33881e2749e864c8023b2ee7 100644 (file)
    if S1 is lexicographically less than, equal to or
    greater than S2.  */
 int
-WCSNCMP (s1, s2, n)
-     const wchar_t *s1;
-     const wchar_t *s2;
-     size_t n;
+WCSNCMP (const wchar_t *s1, const wchar_t *s2, size_t n)
 {
   wchar_t c1 = L'\0';
   wchar_t c2 = L'\0';
index 5ee5ee6bdeb1109c48b324458d0e17cdcd277b81..306c52b8bae66e8b37b226cf485806f3f818a01b 100644 (file)
 
 /* Copy no more than N wide-characters of SRC to DEST. */
 wchar_t *
-__wcsncpy (dest, src, n)
-     wchar_t *dest;
-     const wchar_t *src;
-     size_t n;
+__wcsncpy (wchar_t *dest, const wchar_t *src, size_t n)
 {
   wint_t c;
   wchar_t *const s = dest;
index e928ab6961b805f0275036ea23bd2532f14c8701..2d8380fab52a8d081bf2883ec7452b74e78ee8c8 100644 (file)
@@ -24,9 +24,7 @@
 
 /* Return length of string S at most maxlen.  */
 size_t
-__wcsnlen (s, maxlen)
-     const wchar_t *s;
-     size_t maxlen;
+__wcsnlen (const wchar_t *s, size_t maxlen)
 {
   size_t len = 0;
 
index 9bb43d63ef111a313e8eee9fb1fd8d7cb9d1734d..81391b777ac3bd0f6258e4d910c2fe04d8070974 100644 (file)
@@ -24,9 +24,7 @@
 
 /* Find the first occurrence in WCS of any wide-character in ACCEPT.  */
 wchar_t *
-wcspbrk (wcs, accept)
-     const wchar_t *wcs;
-     const wchar_t *accept;
+wcspbrk (const wchar_t *wcs, const wchar_t *accept)
 {
   while (*wcs != L'\0')
     if (wcschr (accept, *wcs) == NULL)
index 72b04fb111b5ffcee11484e6f1d0f59ccbccfde5..32033be40b801c51336b72bd0283b60870ef8cbb 100644 (file)
@@ -24,9 +24,7 @@
 
 /* Find the last occurrence of WC in WCS.  */
 wchar_t *
-WCSRCHR (wcs, wc)
-     const wchar_t *wcs;
-     const wchar_t wc;
+WCSRCHR (const wchar_t *wcs, const wchar_t wc)
 {
   const wchar_t *retval = NULL;
 
index 7a3cdf7a21855dddac2b16e64b8a69f6a850c9ff..332b6a6f1707b28fe3e18ae42fd32493a9279b89 100644 (file)
@@ -25,9 +25,7 @@
 /* Return the length of the maximum initial segment
    of WCS which contains only wide-characters in ACCEPT.  */
 size_t
-wcsspn (wcs, accept)
-     const wchar_t *wcs;
-     const wchar_t *accept;
+wcsspn (const wchar_t *wcs, const wchar_t *accept)
 {
   const wchar_t *p;
   const wchar_t *a;
index a62c29eaecbff52436aac159b10432e3d5ff153e..4fbc7eab9b955bd31b4010c10b10b257ed23563d 100644 (file)
@@ -29,9 +29,7 @@
 #include <wchar.h>
 
 wchar_t *
-wcsstr (haystack, needle)
-     const wchar_t *haystack;
-     const wchar_t *needle;
+wcsstr (const wchar_t *haystack, const wchar_t *needle)
 {
   wchar_t b, c;
 
index 73610177f50b884a342ff289239f37a519630bed..47a7fd8756a34bfb126aab14cc35ae1591505287 100644 (file)
 /* Parse WCS into tokens separated by characters in DELIM.  If WCS is
    NULL, the last string wcstok() was called with is used.  */
 wchar_t *
-wcstok (wcs, delim, save_ptr)
-     wchar_t *wcs;
-     const wchar_t *delim;
-     wchar_t **save_ptr;
+wcstok (wchar_t *wcs, const wchar_t *delim, wchar_t **save_ptr)
 {
   wchar_t *result;
 
index 035f045ea037406f2eec8f241fc4e650cf38943b..08d6a42c8e5ca8f50a19a009acf5e6fa898f70db 100644 (file)
@@ -27,8 +27,7 @@
 
 
 int
-wctob (c)
-     wint_t c;
+wctob (wint_t c)
 {
   unsigned char buf[MB_LEN_MAX];
   struct __gconv_step_data data;
index 9e8d57bd5da46dce36fcdbf5f0d8b526b03621a2..364a95d8c394572a23df1e7d5008c5e8f60b06c8 100644 (file)
 #endif
 
 wchar_t *
-__wmemchr (s, c, n)
-     const wchar_t *s;
-     wchar_t c;
-     size_t n;
+__wmemchr (const wchar_t *s, wchar_t c, size_t n)
 {
   /* For performance reasons unfold the loop four times.  */
   while (n >= 4)
index 5aa934cedcfa74b69c286238a01fb5ba08e50564..76a1ccc6522b89c0812a3b657911b1baedc1b153 100644 (file)
 #endif
 
 int
-WMEMCMP (s1, s2, n)
-     const wchar_t *s1;
-     const wchar_t *s2;
-     size_t n;
+WMEMCMP (const wchar_t *s1, const wchar_t *s2, size_t n)
 {
   wchar_t c1;
   wchar_t c2;
index 0b75be77f619d7536295ed9f2d4e2e3362de36e2..c6f6401c722febb0eb7693df93b5024cc820613e 100644 (file)
 
 
 wchar_t *
-__wmemcpy (s1, s2, n)
-     wchar_t *s1;
-     const wchar_t *s2;
-     size_t n;
+__wmemcpy (wchar_t *s1, const wchar_t *s2, size_t n)
 {
   return (wchar_t *) memcpy ((char *) s1, (char *) s2, n * sizeof (wchar_t));
 }
index 68878fa9d6732ac4fc6b104342df5cd460e861df..8a8d920996fa8f383fb1305310ca19ad9f0d4f6e 100644 (file)
 
 
 wchar_t *
-__wmemmove (s1, s2, n)
-     wchar_t *s1;
-     const wchar_t *s2;
-     size_t n;
+__wmemmove (wchar_t *s1, const wchar_t *s2, size_t n)
 {
   return (wchar_t *) memmove ((char *) s1, (char *) s2, n * sizeof (wchar_t));
 }
index 9639c5f44432bca18ab9df3e1b1ce43efb68e93d..dd09cd6da320ad182f4b4bc740927bbbc2dd358b 100644 (file)
 
 
 wchar_t *
-__wmempcpy (s1, s2, n)
-     wchar_t *s1;
-     const wchar_t *s2;
-     size_t n;
+__wmempcpy (wchar_t *s1, const wchar_t *s2, size_t n)
 {
   return (wchar_t *) __mempcpy ((char *) s1, (char *) s2,
                                n * sizeof (wchar_t));
index 1eb6b2bc4e0efd3cd66af245f8c0061379b33f53..f5a9b089c809b6e5636696ae5173fbba69badf74 100644 (file)
 #endif
 
 wchar_t *
-__wmemset (s, c, n)
-     wchar_t *s;
-     wchar_t c;
-     size_t n;
+__wmemset (wchar_t *s, wchar_t c, size_t n)
 {
   wchar_t *wp = s;
 
index e7c0308d6d10ea8aab1cc70e85f1cf008d768c63..6037ca6d5be3c72eada29a9d64d84473cd3c98f2 100644 (file)
@@ -71,8 +71,7 @@ libc_hidden_weak (iswxdigit)
 
 #undef towlower
 wint_t
-__towlower (wc)
-     wint_t wc;
+__towlower (wint_t wc)
 {
   size_t i = _NL_CURRENT_WORD (LC_CTYPE, _NL_CTYPE_MAP_OFFSET) + __TOW_tolower;
   const char *desc = _NL_CURRENT (LC_CTYPE, i);
@@ -84,8 +83,7 @@ libc_hidden_weak (towlower)
 
 #undef towupper
 wint_t
-__towupper (wc)
-     wint_t wc;
+__towupper (wint_t wc)
 {
   size_t i = _NL_CURRENT_WORD (LC_CTYPE, _NL_CTYPE_MAP_OFFSET) + __TOW_toupper;
   const char *desc = _NL_CURRENT (LC_CTYPE, i);