[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commits] r23248 - in /fsf/trunk/libc: ./ catgets/ crypt/ hurd/ inet/ intl/ libio/ login/ malloc/ misc/ nptl/ nptl/sysdeps/pthread/ po...



Author: eglibc
Date: Sun Jun  9 00:02:13 2013
New Revision: 23248

Log:
Import glibc-mainline for 2013-06-09

Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/catgets/gencat.c
    fsf/trunk/libc/crypt/crypt_util.c
    fsf/trunk/libc/crypt/speeds.c
    fsf/trunk/libc/hurd/hurdmalloc.c
    fsf/trunk/libc/inet/ruserpass.c
    fsf/trunk/libc/intl/finddomain.c
    fsf/trunk/libc/intl/localealias.c
    fsf/trunk/libc/intl/plural-exp.c
    fsf/trunk/libc/libio/fcloseall.c
    fsf/trunk/libc/libio/genops.c
    fsf/trunk/libc/libio/getchar.c
    fsf/trunk/libc/libio/getchar_u.c
    fsf/trunk/libc/libio/getwchar.c
    fsf/trunk/libc/libio/getwchar_u.c
    fsf/trunk/libc/libio/oldstdfiles.c
    fsf/trunk/libc/login/getpt.c
    fsf/trunk/libc/login/tst-utmp.c
    fsf/trunk/libc/malloc/hooks.c
    fsf/trunk/libc/malloc/malloc.c
    fsf/trunk/libc/malloc/mtrace.c
    fsf/trunk/libc/misc/fstab.c
    fsf/trunk/libc/misc/getclktck.c
    fsf/trunk/libc/misc/getdtsz.c
    fsf/trunk/libc/misc/gethostid.c
    fsf/trunk/libc/misc/getpagesize.c
    fsf/trunk/libc/misc/getsysstats.c
    fsf/trunk/libc/misc/getttyent.c
    fsf/trunk/libc/misc/getusershell.c
    fsf/trunk/libc/misc/hsearch.c
    fsf/trunk/libc/misc/sync.c
    fsf/trunk/libc/misc/syslog.c
    fsf/trunk/libc/misc/ttyslot.c
    fsf/trunk/libc/misc/vhangup.c
    fsf/trunk/libc/nptl/ChangeLog
    fsf/trunk/libc/nptl/sysdeps/pthread/allocalim.h
    fsf/trunk/libc/ports/ChangeLog.ia64
    fsf/trunk/libc/ports/ChangeLog.m68k
    fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/ia64/getpagesize.c
    fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/m68k/getpagesize.c
    fsf/trunk/libc/posix/fork.c
    fsf/trunk/libc/posix/getegid.c
    fsf/trunk/libc/posix/geteuid.c
    fsf/trunk/libc/posix/getgid.c
    fsf/trunk/libc/posix/getpid.c
    fsf/trunk/libc/posix/getppid.c
    fsf/trunk/libc/posix/getuid.c
    fsf/trunk/libc/posix/pause.c
    fsf/trunk/libc/posix/setpgrp.c
    fsf/trunk/libc/posix/setsid.c
    fsf/trunk/libc/posix/test-vfork.c
    fsf/trunk/libc/resolv/gethnamaddr.c
    fsf/trunk/libc/stdlib/drand48.c
    fsf/trunk/libc/stdlib/lrand48.c
    fsf/trunk/libc/stdlib/mrand48.c
    fsf/trunk/libc/stdlib/rand.c
    fsf/trunk/libc/stdlib/random.c
    fsf/trunk/libc/stdlib/setenv.c
    fsf/trunk/libc/sunrpc/clnt_tcp.c
    fsf/trunk/libc/sunrpc/clnt_unix.c
    fsf/trunk/libc/sysdeps/gnu/errlist.awk
    fsf/trunk/libc/sysdeps/gnu/errlist.c
    fsf/trunk/libc/sysdeps/mach/getpagesize.c
    fsf/trunk/libc/sysdeps/mach/getsysstats.c
    fsf/trunk/libc/sysdeps/mach/hurd/dl-sysdep.c
    fsf/trunk/libc/sysdeps/mach/hurd/getclktck.c
    fsf/trunk/libc/sysdeps/mach/hurd/getdtsz.c
    fsf/trunk/libc/sysdeps/mach/hurd/getegid.c
    fsf/trunk/libc/sysdeps/mach/hurd/geteuid.c
    fsf/trunk/libc/sysdeps/mach/hurd/getgid.c
    fsf/trunk/libc/sysdeps/mach/hurd/gethostid.c
    fsf/trunk/libc/sysdeps/mach/hurd/getlogin.c
    fsf/trunk/libc/sysdeps/mach/hurd/getpid.c
    fsf/trunk/libc/sysdeps/mach/hurd/getppid.c
    fsf/trunk/libc/sysdeps/mach/hurd/getuid.c
    fsf/trunk/libc/sysdeps/mach/hurd/sync.c
    fsf/trunk/libc/sysdeps/posix/clock.c
    fsf/trunk/libc/sysdeps/unix/bsd/setsid.c
    fsf/trunk/libc/sysdeps/unix/getpagesize.c
    fsf/trunk/libc/sysdeps/unix/sysv/linux/getclktck.c
    fsf/trunk/libc/sysdeps/unix/sysv/linux/gethostid.c
    fsf/trunk/libc/sysdeps/unix/sysv/linux/getpagesize.c
    fsf/trunk/libc/sysdeps/unix/sysv/linux/getsysstats.c
    fsf/trunk/libc/time/clock.c
    fsf/trunk/libc/time/tzset.c

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Sun Jun  9 00:02:13 2013
@@ -1,3 +1,116 @@
+2013-06-08  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/gnu/errlist.awk: Do not generate space at end of
+	otherwise empty TRANS lines.
+	* sysdeps/gnu/errlist.c: Regenerated.
+
+	* catgets/gencat.c (error_print): Use (void) in function
+	definition.
+	* crypt/crypt_util.c (__init_des): Likewise.
+	* crypt/speeds.c (Stop): Likewise.
+	(main): Likewise.
+	* hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
+	* inet/ruserpass.c (token): Likewise.
+	* intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
+	* intl/localealias.c (extend_alias_table): Likewise.
+	* intl/plural-exp.c (init_germanic_plural): Likewise.
+	* libio/fcloseall.c (__fcloseall): Likewise.
+	* libio/genops.c (_IO_flush_all): Likewise.
+	(_IO_flush_all_linebuffered): Likewise.
+	(_IO_cleanup): Likewise.
+	(_IO_iter_begin): Likewise.
+	(_IO_iter_end): Likewise.
+	(_IO_list_lock): Likewise.
+	(_IO_list_unlock): Likewise.
+	(_IO_list_resetlock): Likewise.
+	* libio/getchar.c (getchar): Likewise.
+	* libio/getchar_u.c (getchar_unlocked): Likewise.
+	* libio/getwchar.c (getwchar): Likewise.
+	* libio/getwchar_u.c (getwchar_unlocked): Likewise.
+	* libio/oldstdfiles.c (_IO_check_libio): Likewise.
+	* login/getpt.c (__getpt): Likewise.
+	* login/tst-utmp.c (main): Likewise.
+	* malloc/hooks.c (__malloc_check_init): Likewise.
+	* malloc/malloc.c (__malloc_stats): Likewise.
+	* malloc/mtrace.c (tr_break): Likewise.
+	(mtrace): Likewise.
+	(muntrace): Likewise.
+	* misc/fstab.c (endfsent): Likewise.
+	* misc/getclktck.c (__getclktck): Likewise.
+	* misc/getdtsz.c (__getdtablesize): Likewise.
+	* misc/gethostid.c (gethostid): Likewise.
+	* misc/getpagesize.c (__getpagesize): Likewise.
+	* misc/getsysstats.c (__get_nprocs_conf): Likewise.
+	(__get_nprocs): Likewise.
+	(__get_phys_pages): Likewise.
+	(__get_avphys_pages): Likewise.
+	* misc/getttyent.c (getttyent): Likewise.
+	(setttyent): Likewise.
+	(endttyent): Likewise.
+	* misc/getusershell.c (getusershell): Likewise.
+	(endusershell): Likewise.
+	(setusershell): Likewise.
+	(initshells): Likewise.
+	* misc/hsearch.c (__hdestroy): Likewise.
+	* misc/sync.c (sync): Likewise.
+	* misc/syslog.c (closelog_internal): Likewise.
+	(closelog): Likewise.
+	* misc/ttyslot.c (ttyslot): Likewise.
+	* misc/vhangup.c (vhangup): Likewise.
+	* posix/fork.c (__fork): Likewise.
+	* posix/getegid.c (__getegid): Likewise.
+	* posix/geteuid.c (__geteuid): Likewise.
+	* posix/getgid.c (__getgid): Likewise.
+	* posix/getpid.c (__getpid): Likewise.
+	* posix/getppid.c (__getppid): Likewise.
+	* posix/getuid.c (__getuid): Likewise.
+	* posix/pause.c (pause): Likewise.
+	* posix/setpgrp.c (setpgrp): Likewise.
+	* posix/setsid.c (__setsid): Likewise.
+	* posix/test-vfork.c (noop): Likewise.
+	* resolv/gethnamaddr.c (_endhtent): Likewise.
+	(_gethtent): Likewise.
+	(ht_endhostent): Likewise.
+	(gethostent): Likewise.
+	(dns_service): Likewise.
+	* stdlib/drand48.c (drand48): Likewise.
+	* stdlib/lrand48.c (lrand48): Likewise.
+	* stdlib/mrand48.c (mrand48): Likewise.
+	* stdlib/rand.c (rand): Likewise.
+	* stdlib/random.c (__random): Likewise.
+	* stdlib/setenv.c (clearenv): Likewise.
+	* sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
+	* sunrpc/clnt_unix.c (clntunix_abort): Likewise.
+	* sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
+	* sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
+	(__get_nprocs): Likewise.
+	(__get_phys_pages): Likewise.
+	(__get_avphys_pages): Likewise.
+	* sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
+	* sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
+	* sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
+	* sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
+	* sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
+	* sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
+	* sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
+	* sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
+	* sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
+	* sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
+	* sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
+	* sysdeps/mach/hurd/sync.c (sync): Likewise.
+	* sysdeps/posix/clock.c (clock): Likewise.
+	* sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
+	* sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
+	* sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
+	* sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
+	* sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
+	* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
+	(__get_nprocs_conf): Likewise.
+	(__get_phys_pages): Likewise.
+	(__get_avphys_pages): Likewise.
+	* time/clock.c (clock): Likewise.
+	* time/tzset.c (__tzname_max): Likewise.
+
 2013-06-07  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]

Modified: fsf/trunk/libc/catgets/gencat.c
==============================================================================
--- fsf/trunk/libc/catgets/gencat.c (original)
+++ fsf/trunk/libc/catgets/gencat.c Sun Jun  9 00:02:13 2013
@@ -254,7 +254,7 @@
 /* The address of this function will be assigned to the hook in the
    error functions.  */
 static void
-error_print ()
+error_print (void)
 {
   /* We don't want the program name to be printed in messages.  Emacs'
      compile.el does not like this.  */

Modified: fsf/trunk/libc/crypt/crypt_util.c
==============================================================================
--- fsf/trunk/libc/crypt/crypt_util.c (original)
+++ fsf/trunk/libc/crypt/crypt_util.c Sun Jun  9 00:02:13 2013
@@ -553,7 +553,7 @@
 }
 
 void
-__init_des()
+__init_des (void)
 {
   __init_des_r(&_ufc_foobar);
 }

Modified: fsf/trunk/libc/crypt/speeds.c
==============================================================================
--- fsf/trunk/libc/crypt/speeds.c (original)
+++ fsf/trunk/libc/crypt/speeds.c Sun Jun  9 00:02:13 2013
@@ -42,7 +42,7 @@
 char *crypt(), *fcrypt();
 
 void
-Stop ()
+Stop (void)
 {
     double elapsed;
 #ifdef NO_ITIMER
@@ -76,7 +76,7 @@
       *start++ = '\0';
   }
 
-main ()
+main (void)
 {
    char *s;
 #ifdef NO_ITIMER

Modified: fsf/trunk/libc/hurd/hurdmalloc.c
==============================================================================
--- fsf/trunk/libc/hurd/hurdmalloc.c (original)
+++ fsf/trunk/libc/hurd/hurdmalloc.c Sun Jun  9 00:02:13 2013
@@ -380,7 +380,7 @@
 
 #ifdef	DEBUG
 void
-print_malloc_free_list()
+print_malloc_free_list (void)
 {
 	int i, size;
 	free_list_t fl;

Modified: fsf/trunk/libc/inet/ruserpass.c
==============================================================================
--- fsf/trunk/libc/inet/ruserpass.c (original)
+++ fsf/trunk/libc/inet/ruserpass.c Sun Jun  9 00:02:13 2013
@@ -289,7 +289,7 @@
 libc_hidden_def (ruserpass)
 
 static int
-token()
+token (void)
 {
 	char *cp;
 	int c;

Modified: fsf/trunk/libc/intl/finddomain.c
==============================================================================
--- fsf/trunk/libc/intl/finddomain.c (original)
+++ fsf/trunk/libc/intl/finddomain.c Sun Jun  9 00:02:13 2013
@@ -170,7 +170,7 @@
 /* This is called from iconv/gconv_db.c's free_mem, as locales must
    be freed before freeing gconv steps arrays.  */
 void __libc_freeres_fn_section
-_nl_finddomain_subfreeres ()
+_nl_finddomain_subfreeres (void)
 {
   struct loaded_l10nfile *runp = _nl_loaded_domains;
 

Modified: fsf/trunk/libc/intl/localealias.c
==============================================================================
--- fsf/trunk/libc/intl/localealias.c (original)
+++ fsf/trunk/libc/intl/localealias.c Sun Jun  9 00:02:13 2013
@@ -362,7 +362,7 @@
 
 
 static int
-extend_alias_table ()
+extend_alias_table (void)
 {
   size_t new_size;
   struct alias_map *new_map;

Modified: fsf/trunk/libc/intl/plural-exp.c
==============================================================================
--- fsf/trunk/libc/intl/plural-exp.c (original)
+++ fsf/trunk/libc/intl/plural-exp.c Sun Jun  9 00:02:13 2013
@@ -72,7 +72,7 @@
 struct expression GERMANIC_PLURAL;
 
 static void
-init_germanic_plural ()
+init_germanic_plural (void)
 {
   if (plone.val.num == 0)
     {

Modified: fsf/trunk/libc/libio/fcloseall.c
==============================================================================
--- fsf/trunk/libc/libio/fcloseall.c (original)
+++ fsf/trunk/libc/libio/fcloseall.c Sun Jun  9 00:02:13 2013
@@ -28,7 +28,7 @@
 #include <stdio.h>
 
 int
-__fcloseall ()
+__fcloseall (void)
 {
   /* Close all streams.  */
   return _IO_cleanup ();

Modified: fsf/trunk/libc/libio/genops.c
==============================================================================
--- fsf/trunk/libc/libio/genops.c (original)
+++ fsf/trunk/libc/libio/genops.c Sun Jun  9 00:02:13 2013
@@ -873,7 +873,7 @@
 
 
 int
-_IO_flush_all ()
+_IO_flush_all (void)
 {
   /* We want locking.  */
   return _IO_flush_all_lockp (1);
@@ -881,7 +881,7 @@
 libc_hidden_def (_IO_flush_all)
 
 void
-_IO_flush_all_linebuffered ()
+_IO_flush_all_linebuffered (void)
 {
   struct _IO_FILE *fp;
   int last_stamp;
@@ -1006,7 +1006,7 @@
 
 
 int
-_IO_cleanup ()
+_IO_cleanup (void)
 {
   /* We do *not* want locking.  Some threads might use streams but
      that is their problem, we flush them underneath them.  */
@@ -1266,14 +1266,14 @@
 }
 
 _IO_ITER
-_IO_iter_begin()
+_IO_iter_begin (void)
 {
   return (_IO_ITER) _IO_list_all;
 }
 libc_hidden_def (_IO_iter_begin)
 
 _IO_ITER
-_IO_iter_end()
+_IO_iter_end (void)
 {
   return NULL;
 }
@@ -1296,7 +1296,7 @@
 libc_hidden_def (_IO_iter_file)
 
 void
-_IO_list_lock()
+_IO_list_lock (void)
 {
 #ifdef _IO_MTSAFE_IO
   _IO_lock_lock (list_all_lock);
@@ -1305,7 +1305,7 @@
 libc_hidden_def (_IO_list_lock)
 
 void
-_IO_list_unlock()
+_IO_list_unlock (void)
 {
 #ifdef _IO_MTSAFE_IO
   _IO_lock_unlock (list_all_lock);
@@ -1314,7 +1314,7 @@
 libc_hidden_def (_IO_list_unlock)
 
 void
-_IO_list_resetlock()
+_IO_list_resetlock (void)
 {
 #ifdef _IO_MTSAFE_IO
   _IO_lock_init (list_all_lock);

Modified: fsf/trunk/libc/libio/getchar.c
==============================================================================
--- fsf/trunk/libc/libio/getchar.c (original)
+++ fsf/trunk/libc/libio/getchar.c Sun Jun  9 00:02:13 2013
@@ -30,7 +30,7 @@
 #undef getchar
 
 int
-getchar ()
+getchar (void)
 {
   int result;
   _IO_acquire_lock (_IO_stdin);

Modified: fsf/trunk/libc/libio/getchar_u.c
==============================================================================
--- fsf/trunk/libc/libio/getchar_u.c (original)
+++ fsf/trunk/libc/libio/getchar_u.c Sun Jun  9 00:02:13 2013
@@ -30,7 +30,7 @@
 #undef getchar_unlocked
 
 int
-getchar_unlocked ()
+getchar_unlocked (void)
 {
   return _IO_getc_unlocked (_IO_stdin);
 }

Modified: fsf/trunk/libc/libio/getwchar.c
==============================================================================
--- fsf/trunk/libc/libio/getwchar.c (original)
+++ fsf/trunk/libc/libio/getwchar.c Sun Jun  9 00:02:13 2013
@@ -30,7 +30,7 @@
 #undef getwchar
 
 wint_t
-getwchar ()
+getwchar (void)
 {
   wint_t result;
   _IO_acquire_lock (_IO_stdin);

Modified: fsf/trunk/libc/libio/getwchar_u.c
==============================================================================
--- fsf/trunk/libc/libio/getwchar_u.c (original)
+++ fsf/trunk/libc/libio/getwchar_u.c Sun Jun  9 00:02:13 2013
@@ -30,7 +30,7 @@
 #undef getwchar_unlocked
 
 wint_t
-getwchar_unlocked ()
+getwchar_unlocked (void)
 {
   return _IO_getwc_unlocked (_IO_stdin);
 }

Modified: fsf/trunk/libc/libio/oldstdfiles.c
==============================================================================
--- fsf/trunk/libc/libio/oldstdfiles.c (original)
+++ fsf/trunk/libc/libio/oldstdfiles.c Sun Jun  9 00:02:13 2013
@@ -73,7 +73,7 @@
    _IO_list_all accordingly. */
 
 static void
-_IO_check_libio ()
+_IO_check_libio (void)
 {
   if (&_IO_stdin_used == NULL)
     {

Modified: fsf/trunk/libc/login/getpt.c
==============================================================================
--- fsf/trunk/libc/login/getpt.c (original)
+++ fsf/trunk/libc/login/getpt.c Sun Jun  9 00:02:13 2013
@@ -22,7 +22,7 @@
 /* Open the master side of a pseudoterminal and return its file
    descriptor, or -1 on error. */
 int
-__getpt ()
+__getpt (void)
 {
   __set_errno (ENOSYS);
   return -1;

Modified: fsf/trunk/libc/login/tst-utmp.c
==============================================================================
--- fsf/trunk/libc/login/tst-utmp.c (original)
+++ fsf/trunk/libc/login/tst-utmp.c Sun Jun  9 00:02:13 2013
@@ -395,7 +395,7 @@
 
 /* No field 'ut_type' in struct utmp.  */
 int
-main ()
+main (void)
 {
   return 0;
 }

Modified: fsf/trunk/libc/malloc/hooks.c
==============================================================================
--- fsf/trunk/libc/malloc/hooks.c (original)
+++ fsf/trunk/libc/malloc/hooks.c Sun Jun  9 00:02:13 2013
@@ -69,7 +69,7 @@
 
 /* Activate a standard set of debugging hooks. */
 void
-__malloc_check_init()
+__malloc_check_init (void)
 {
   if (disallow_malloc_check) {
     disallow_malloc_check = 0;

Modified: fsf/trunk/libc/malloc/malloc.c
==============================================================================
--- fsf/trunk/libc/malloc/malloc.c (original)
+++ fsf/trunk/libc/malloc/malloc.c Sun Jun  9 00:02:13 2013
@@ -4602,7 +4602,7 @@
 */
 
 void
-__malloc_stats()
+__malloc_stats (void)
 {
   int i;
   mstate ar_ptr;

Modified: fsf/trunk/libc/malloc/mtrace.c
==============================================================================
--- fsf/trunk/libc/malloc/mtrace.c (original)
+++ fsf/trunk/libc/malloc/mtrace.c Sun Jun  9 00:02:13 2013
@@ -72,7 +72,7 @@
 extern void tr_break (void) __THROW;
 libc_hidden_proto (tr_break)
 void
-tr_break ()
+tr_break (void)
 {
 }
 libc_hidden_def (tr_break)
@@ -298,7 +298,7 @@
    don't forget to set a breakpoint on tr_break!  */
 
 void
-mtrace ()
+mtrace (void)
 {
 #ifdef _LIBC
   static int added_atexit_handler;
@@ -363,7 +363,7 @@
 }
 
 void
-muntrace ()
+muntrace (void)
 {
   if (mallstream == NULL)
     return;

Modified: fsf/trunk/libc/misc/fstab.c
==============================================================================
--- fsf/trunk/libc/misc/fstab.c (original)
+++ fsf/trunk/libc/misc/fstab.c Sun Jun  9 00:02:13 2013
@@ -95,7 +95,7 @@
 
 
 void
-endfsent ()
+endfsent (void)
 {
   struct fstab_state *state;
 

Modified: fsf/trunk/libc/misc/getclktck.c
==============================================================================
--- fsf/trunk/libc/misc/getclktck.c (original)
+++ fsf/trunk/libc/misc/getclktck.c Sun Jun  9 00:02:13 2013
@@ -19,7 +19,7 @@
 
 /* Return frequency of times().  */
 int
-__getclktck ()
+__getclktck (void)
 {
 #ifdef	CLK_TCK
   return CLK_TCK;

Modified: fsf/trunk/libc/misc/getdtsz.c
==============================================================================
--- fsf/trunk/libc/misc/getdtsz.c (original)
+++ fsf/trunk/libc/misc/getdtsz.c Sun Jun  9 00:02:13 2013
@@ -21,7 +21,7 @@
 /* Return the maximum number of file descriptors
    the current process could possibly have.  */
 int
-__getdtablesize ()
+__getdtablesize (void)
 {
   __set_errno (ENOSYS);
   return -1;

Modified: fsf/trunk/libc/misc/gethostid.c
==============================================================================
--- fsf/trunk/libc/misc/gethostid.c (original)
+++ fsf/trunk/libc/misc/gethostid.c Sun Jun  9 00:02:13 2013
@@ -20,7 +20,7 @@
 
 /* Return the current machine's Internet number.  */
 long int
-gethostid ()
+gethostid (void)
 {
   __set_errno (ENOSYS);
   return -1L;

Modified: fsf/trunk/libc/misc/getpagesize.c
==============================================================================
--- fsf/trunk/libc/misc/getpagesize.c (original)
+++ fsf/trunk/libc/misc/getpagesize.c Sun Jun  9 00:02:13 2013
@@ -20,7 +20,7 @@
 
 /* Return the system page size.  */
 int
-__getpagesize ()
+__getpagesize (void)
 {
   __set_errno (ENOSYS);
   return 0;

Modified: fsf/trunk/libc/misc/getsysstats.c
==============================================================================
--- fsf/trunk/libc/misc/getsysstats.c (original)
+++ fsf/trunk/libc/misc/getsysstats.c Sun Jun  9 00:02:13 2013
@@ -21,7 +21,7 @@
 #include <sys/sysinfo.h>
 
 int
-__get_nprocs_conf ()
+__get_nprocs_conf (void)
 {
   /* We don't know how to determine the number.  Simply return always 1.  */
   return 1;
@@ -33,7 +33,7 @@
 
 
 int
-__get_nprocs ()
+__get_nprocs (void)
 {
   /* We don't know how to determine the number.  Simply return always 1.  */
   return 1;
@@ -44,7 +44,7 @@
 
 
 long int
-__get_phys_pages ()
+__get_phys_pages (void)
 {
   /* We have no general way to determine this value.  */
   __set_errno (ENOSYS);
@@ -56,7 +56,7 @@
 
 
 long int
-__get_avphys_pages ()
+__get_avphys_pages (void)
 {
   /* We have no general way to determine this value.  */
   __set_errno (ENOSYS);

Modified: fsf/trunk/libc/misc/getttyent.c
==============================================================================
--- fsf/trunk/libc/misc/getttyent.c (original)
+++ fsf/trunk/libc/misc/getttyent.c Sun Jun  9 00:02:13 2013
@@ -61,7 +61,7 @@
 static char *value (char *) __THROW internal_function;
 
 struct ttyent *
-getttyent()
+getttyent (void)
 {
 	static struct ttyent tty;
 	int c;
@@ -184,7 +184,7 @@
 }
 
 int
-setttyent()
+setttyent (void)
 {
 
 	if (tf) {
@@ -200,7 +200,7 @@
 libc_hidden_def (setttyent)
 
 int
-endttyent()
+endttyent (void)
 {
 	int rval;
 

Modified: fsf/trunk/libc/misc/getusershell.c
==============================================================================
--- fsf/trunk/libc/misc/getusershell.c (original)
+++ fsf/trunk/libc/misc/getusershell.c Sun Jun  9 00:02:13 2013
@@ -62,7 +62,7 @@
  * Get a list of shells from _PATH_SHELLS, if it exists.
  */
 char *
-getusershell()
+getusershell (void)
 {
 	char *ret;
 
@@ -75,7 +75,7 @@
 }
 
 void
-endusershell()
+endusershell (void)
 {
 
 	free(shells);
@@ -86,14 +86,14 @@
 }
 
 void
-setusershell()
+setusershell (void)
 {
 
 	curshell = initshells();
 }
 
 static char **
-initshells()
+initshells (void)
 {
 	char **sp, *cp;
 	FILE *fp;

Modified: fsf/trunk/libc/misc/hsearch.c
==============================================================================
--- fsf/trunk/libc/misc/hsearch.c (original)
+++ fsf/trunk/libc/misc/hsearch.c Sun Jun  9 00:02:13 2013
@@ -45,7 +45,7 @@
 
 
 void
-__hdestroy ()
+__hdestroy (void)
 {
   hdestroy_r (&htab);
 }

Modified: fsf/trunk/libc/misc/sync.c
==============================================================================
--- fsf/trunk/libc/misc/sync.c (original)
+++ fsf/trunk/libc/misc/sync.c Sun Jun  9 00:02:13 2013
@@ -20,7 +20,7 @@
 
 /* Make all changes done to all files actually appear on disk.  */
 void
-sync ()
+sync (void)
 {
   __set_errno (ENOSYS);
 }

Modified: fsf/trunk/libc/misc/syslog.c
==============================================================================
--- fsf/trunk/libc/misc/syslog.c (original)
+++ fsf/trunk/libc/misc/syslog.c Sun Jun  9 00:02:13 2013
@@ -425,7 +425,7 @@
 #endif
 
 static void
-closelog_internal()
+closelog_internal (void)
 {
   if (!connected)
     return;
@@ -436,7 +436,7 @@
 }
 
 void
-closelog ()
+closelog (void)
 {
   /* Protect against multiple users and cancellation.  */
   __libc_cleanup_push (cancel_handler, NULL);

Modified: fsf/trunk/libc/misc/ttyslot.c
==============================================================================
--- fsf/trunk/libc/misc/ttyslot.c (original)
+++ fsf/trunk/libc/misc/ttyslot.c Sun Jun  9 00:02:13 2013
@@ -38,7 +38,7 @@
 #include <unistd.h>
 
 int
-ttyslot()
+ttyslot (void)
 {
 	struct ttyent *ttyp;
 	int slot;

Modified: fsf/trunk/libc/misc/vhangup.c
==============================================================================
--- fsf/trunk/libc/misc/vhangup.c (original)
+++ fsf/trunk/libc/misc/vhangup.c Sun Jun  9 00:02:13 2013
@@ -22,7 +22,7 @@
    with the control terminal, and then send a SIGHUP signal to the process
    group of the control terminal.  */
 int
-vhangup ()
+vhangup (void)
 {
   __set_errno (ENOSYS);
   return -1;

Modified: fsf/trunk/libc/nptl/ChangeLog
==============================================================================
--- fsf/trunk/libc/nptl/ChangeLog (original)
+++ fsf/trunk/libc/nptl/ChangeLog Sun Jun  9 00:02:13 2013
@@ -1,3 +1,7 @@
+2013-08-06   OndÃÂej BÃÂlka  <neleai@xxxxxxxxx>
+
+	* sysdeps/pthread/allocalim.h: (__libc_use_alloca): Fix warning.
+
 2013-06-06   OndÃÂej BÃÂlka  <neleai@xxxxxxxxx>
 
 	* tst-cond22.c: Fix leading whitespaces.

Modified: fsf/trunk/libc/nptl/sysdeps/pthread/allocalim.h
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/pthread/allocalim.h (original)
+++ fsf/trunk/libc/nptl/sysdeps/pthread/allocalim.h Sun Jun  9 00:02:13 2013
@@ -20,8 +20,8 @@
 #include <limits.h>
 
 
-extern int
-__always_inline
+extern __always_inline
+int
 __libc_use_alloca (size_t size)
 {
   return (__builtin_expect (size <= PTHREAD_STACK_MIN / 4, 1)

Modified: fsf/trunk/libc/ports/ChangeLog.ia64
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.ia64 (original)
+++ fsf/trunk/libc/ports/ChangeLog.ia64 Sun Jun  9 00:02:13 2013
@@ -1,3 +1,8 @@
+2013-06-08  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize): Use
+	(void) in function definition.
+
 2013-06-07  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/ia64/bits/byteswap-16.h [__GNUC__ && __GNUC__ >= 2]

Modified: fsf/trunk/libc/ports/ChangeLog.m68k
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.m68k (original)
+++ fsf/trunk/libc/ports/ChangeLog.m68k Sun Jun  9 00:02:13 2013
@@ -1,3 +1,8 @@
+2013-06-08  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/m68k/getpagesize.c (__getpagesize): Use
+	(void) in function definition.
+
 2013-06-05  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/m68k/socket.S: Remove trailing

Modified: fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/ia64/getpagesize.c
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/ia64/getpagesize.c (original)
+++ fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/ia64/getpagesize.c Sun Jun  9 00:02:13 2013
@@ -29,7 +29,7 @@
    as mmap and friends.  --davidm 99/11/30 */
 
 int
-__getpagesize ()
+__getpagesize (void)
 {
   assert (GLRO(dl_pagesize) != 0);
   return GLRO(dl_pagesize);

Modified: fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/m68k/getpagesize.c
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/m68k/getpagesize.c (original)
+++ fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/m68k/getpagesize.c Sun Jun  9 00:02:13 2013
@@ -26,7 +26,7 @@
 
 /* Return the system page size.  */
 int
-__getpagesize ()
+__getpagesize (void)
 {
 #ifdef __NR_getpagesize
   int result;

Modified: fsf/trunk/libc/posix/fork.c
==============================================================================
--- fsf/trunk/libc/posix/fork.c (original)
+++ fsf/trunk/libc/posix/fork.c Sun Jun  9 00:02:13 2013
@@ -23,7 +23,7 @@
    Return -1 for errors, 0 to the new process,
    and the process ID of the new process to the old process.  */
 int
-__fork ()
+__fork (void)
 {
   __set_errno (ENOSYS);
   return -1;

Modified: fsf/trunk/libc/posix/getegid.c
==============================================================================
--- fsf/trunk/libc/posix/getegid.c (original)
+++ fsf/trunk/libc/posix/getegid.c Sun Jun  9 00:02:13 2013
@@ -20,7 +20,7 @@
 
 /* Get the effective group ID of the calling process.  */
 __gid_t
-__getegid ()
+__getegid (void)
 {
   __set_errno (ENOSYS);
   return -1;

Modified: fsf/trunk/libc/posix/geteuid.c
==============================================================================
--- fsf/trunk/libc/posix/geteuid.c (original)
+++ fsf/trunk/libc/posix/geteuid.c Sun Jun  9 00:02:13 2013
@@ -21,7 +21,7 @@
 
 /* Get the effective user ID of the calling process.  */
 __uid_t
-__geteuid ()
+__geteuid (void)
 {
   __set_errno (ENOSYS);
   return -1;

Modified: fsf/trunk/libc/posix/getgid.c
==============================================================================
--- fsf/trunk/libc/posix/getgid.c (original)
+++ fsf/trunk/libc/posix/getgid.c Sun Jun  9 00:02:13 2013
@@ -21,7 +21,7 @@
 
 /* Get the real group ID of the calling process.  */
 gid_t
-__getgid ()
+__getgid (void)
 {
   __set_errno (ENOSYS);
   return -1;

Modified: fsf/trunk/libc/posix/getpid.c
==============================================================================
--- fsf/trunk/libc/posix/getpid.c (original)
+++ fsf/trunk/libc/posix/getpid.c Sun Jun  9 00:02:13 2013
@@ -20,7 +20,7 @@
 
 /* Get the process ID of the calling process.  */
 int
-__getpid ()
+__getpid (void)
 {
   __set_errno (ENOSYS);
   return -1;

Modified: fsf/trunk/libc/posix/getppid.c
==============================================================================
--- fsf/trunk/libc/posix/getppid.c (original)
+++ fsf/trunk/libc/posix/getppid.c Sun Jun  9 00:02:13 2013
@@ -21,7 +21,7 @@
 
 /* Get the parent process ID of the calling process.  */
 int
-__getppid ()
+__getppid (void)
 {
   __set_errno (ENOSYS);
   return -1;

Modified: fsf/trunk/libc/posix/getuid.c
==============================================================================
--- fsf/trunk/libc/posix/getuid.c (original)
+++ fsf/trunk/libc/posix/getuid.c Sun Jun  9 00:02:13 2013
@@ -21,7 +21,7 @@
 
 /* Get the real user ID of the calling process.  */
 uid_t
-__getuid ()
+__getuid (void)
 {
   __set_errno (ENOSYS);
   return -1;

Modified: fsf/trunk/libc/posix/pause.c
==============================================================================
--- fsf/trunk/libc/posix/pause.c (original)
+++ fsf/trunk/libc/posix/pause.c Sun Jun  9 00:02:13 2013
@@ -23,7 +23,7 @@
    This is supposed to always return -1 and set errno to EINTR,
    but rules were meant to be broken.  */
 int
-pause ()
+pause (void)
 {
   __set_errno (ENOSYS);
   return -1;

Modified: fsf/trunk/libc/posix/setpgrp.c
==============================================================================
--- fsf/trunk/libc/posix/setpgrp.c (original)
+++ fsf/trunk/libc/posix/setpgrp.c Sun Jun  9 00:02:13 2013
@@ -18,7 +18,7 @@
 #include <unistd.h>
 
 int
-setpgrp ()
+setpgrp (void)
 {
   return __setpgid (0, 0);
 }

Modified: fsf/trunk/libc/posix/setsid.c
==============================================================================
--- fsf/trunk/libc/posix/setsid.c (original)
+++ fsf/trunk/libc/posix/setsid.c Sun Jun  9 00:02:13 2013
@@ -23,7 +23,7 @@
    The process group IDs of the session and the calling process
    are set to the process ID of the calling process, which is returned.  */
 int
-__setsid ()
+__setsid (void)
 {
   __set_errno (ENOSYS);
   return -1;

Modified: fsf/trunk/libc/posix/test-vfork.c
==============================================================================
--- fsf/trunk/libc/posix/test-vfork.c (original)
+++ fsf/trunk/libc/posix/test-vfork.c Sun Jun  9 00:02:13 2013
@@ -37,6 +37,6 @@
 }
 
 void
-noop ()
+noop (void)
 {
 }

Modified: fsf/trunk/libc/resolv/gethnamaddr.c
==============================================================================
--- fsf/trunk/libc/resolv/gethnamaddr.c (original)
+++ fsf/trunk/libc/resolv/gethnamaddr.c Sun Jun  9 00:02:13 2013
@@ -795,7 +795,7 @@
 libresolv_hidden_def (_sethtent)
 
 void
-_endhtent()
+_endhtent (void)
 {
 	if (hostf && !stayopen) {
 		(void) fclose(hostf);
@@ -804,7 +804,7 @@
 }
 
 struct hostent *
-_gethtent()
+_gethtent (void)
 {
 	char *p;
 	char *cp, **q;
@@ -1028,7 +1028,7 @@
 }
 
 void
-ht_endhostent()
+ht_endhostent (void)
 {
 	_endhtent();
 }
@@ -1050,13 +1050,13 @@
 }
 
 struct hostent *
-gethostent()
+gethostent (void)
 {
 	return (_gethtent());
 }
 
 void
-dns_service()
+dns_service (void)
 {
 	return;
 }

Modified: fsf/trunk/libc/stdlib/drand48.c
==============================================================================
--- fsf/trunk/libc/stdlib/drand48.c (original)
+++ fsf/trunk/libc/stdlib/drand48.c Sun Jun  9 00:02:13 2013
@@ -20,7 +20,7 @@
 
 
 double
-drand48 ()
+drand48 (void)
 {
   double result;
 

Modified: fsf/trunk/libc/stdlib/lrand48.c
==============================================================================
--- fsf/trunk/libc/stdlib/lrand48.c (original)
+++ fsf/trunk/libc/stdlib/lrand48.c Sun Jun  9 00:02:13 2013
@@ -20,7 +20,7 @@
 
 
 long int
-lrand48 ()
+lrand48 (void)
 {
   long int result;
 

Modified: fsf/trunk/libc/stdlib/mrand48.c
==============================================================================
--- fsf/trunk/libc/stdlib/mrand48.c (original)
+++ fsf/trunk/libc/stdlib/mrand48.c Sun Jun  9 00:02:13 2013
@@ -20,7 +20,7 @@
 
 
 long int
-mrand48 ()
+mrand48 (void)
 {
   long int result;
 

Modified: fsf/trunk/libc/stdlib/rand.c
==============================================================================
--- fsf/trunk/libc/stdlib/rand.c (original)
+++ fsf/trunk/libc/stdlib/rand.c Sun Jun  9 00:02:13 2013
@@ -22,7 +22,7 @@
 
 /* Return a random integer between 0 and RAND_MAX.  */
 int
-rand ()
+rand (void)
 {
   return (int) __random ();
 }

Modified: fsf/trunk/libc/stdlib/random.c
==============================================================================
--- fsf/trunk/libc/stdlib/random.c (original)
+++ fsf/trunk/libc/stdlib/random.c Sun Jun  9 00:02:13 2013
@@ -289,7 +289,7 @@
    pointer if the front one has wrapped.  Returns a 31-bit random number.  */
 
 long int
-__random ()
+__random (void)
 {
   int32_t retval;
 

Modified: fsf/trunk/libc/stdlib/setenv.c
==============================================================================
--- fsf/trunk/libc/stdlib/setenv.c (original)
+++ fsf/trunk/libc/stdlib/setenv.c Sun Jun  9 00:02:13 2013
@@ -349,7 +349,7 @@
    never made it.  Nevertheless the POSIX.9 standard (POSIX bindings
    for Fortran 77) requires this function.  */
 int
-clearenv ()
+clearenv (void)
 {
   LOCK;
 

Modified: fsf/trunk/libc/sunrpc/clnt_tcp.c
==============================================================================
--- fsf/trunk/libc/sunrpc/clnt_tcp.c (original)
+++ fsf/trunk/libc/sunrpc/clnt_tcp.c Sun Jun  9 00:02:13 2013
@@ -356,7 +356,7 @@
 }
 
 static void
-clnttcp_abort ()
+clnttcp_abort (void)
 {
 }
 

Modified: fsf/trunk/libc/sunrpc/clnt_unix.c
==============================================================================
--- fsf/trunk/libc/sunrpc/clnt_unix.c (original)
+++ fsf/trunk/libc/sunrpc/clnt_unix.c Sun Jun  9 00:02:13 2013
@@ -330,7 +330,7 @@
 }
 
 static void
-clntunix_abort ()
+clntunix_abort (void)
 {
 }
 

Modified: fsf/trunk/libc/sysdeps/gnu/errlist.awk
==============================================================================
--- fsf/trunk/libc/sysdeps/gnu/errlist.awk (original)
+++ fsf/trunk/libc/sysdeps/gnu/errlist.awk Sun Jun  9 00:02:13 2013
@@ -99,7 +99,7 @@
 errnoh == 4 \
   {
     # This magic tag in C comments gets them copied into libc.pot.
-    desc = desc "\nTRANS " $0; next
+    desc = desc "\nTRANS" ($0 != "" ? " " : "") $0; next
   }
 { errnoh=0 }
 END {

Modified: fsf/trunk/libc/sysdeps/gnu/errlist.c
==============================================================================
--- fsf/trunk/libc/sysdeps/gnu/errlist.c (original)
+++ fsf/trunk/libc/sysdeps/gnu/errlist.c Sun Jun  9 00:02:13 2013
@@ -53,7 +53,7 @@
 TRANS Interrupted function call; an asynchronous signal occurred and prevented
 TRANS completion of the call.  When this happens, you should try the call
 TRANS again.
-TRANS 
+TRANS
 TRANS You can choose to have functions resume after a signal that is handled,
 TRANS rather than failing with @code{EINTR}; see @ref{Interrupted
 TRANS Primitives}. */
@@ -256,7 +256,7 @@
 /*
 TRANS The current process has too many files open and can't open any more.
 TRANS Duplicate descriptors do count toward this limit.
-TRANS 
+TRANS
 TRANS In BSD and GNU, the number of open files is controlled by a resource
 TRANS limit that can usually be increased.  If you get this error, you might
 TRANS want to increase the @code{RLIMIT_NOFILE} limit or make it unlimited;
@@ -387,9 +387,9 @@
 TRANS Resource temporarily unavailable; the call might work if you try again
 TRANS later.  The macro @code{EWOULDBLOCK} is another name for @code{EAGAIN};
 TRANS they are always the same in @theglibc{}.
-TRANS 
+TRANS
 TRANS This error can happen in a few different situations:
-TRANS 
+TRANS
 TRANS @itemize @bullet
 TRANS @item
 TRANS An operation that would block was attempted on an object that has
@@ -397,12 +397,12 @@
 TRANS until some external condition makes it possible to read, write, or
 TRANS connect (whatever the operation).  You can use @code{select} to find out
 TRANS when the operation will be possible; @pxref{Waiting for I/O}.
-TRANS 
+TRANS
 TRANS @strong{Portability Note:} In many older Unix systems, this condition
 TRANS was indicated by @code{EWOULDBLOCK}, which was a distinct error code
 TRANS different from @code{EAGAIN}.  To make your program portable, you should
 TRANS check for both codes and treat them the same.
-TRANS 
+TRANS
 TRANS @item
 TRANS A temporary resource shortage made an operation impossible.  @code{fork}
 TRANS can return this error.  It indicates that the shortage is expected to
@@ -423,7 +423,7 @@
 /*
 TRANS In @theglibc{}, this is another name for @code{EAGAIN} (above).
 TRANS The values are always the same, on every operating system.
-TRANS 
+TRANS
 TRANS C libraries in many older Unix systems have @code{EWOULDBLOCK} as a
 TRANS separate error code. */
     [ERR_REMAP (EWOULDBLOCK)] = N_("Operation would block"),
@@ -864,7 +864,7 @@
 /*
 TRANS Inappropriate file type or format.  The file was the wrong type for the
 TRANS operation, or a data file had the wrong format.
-TRANS 
+TRANS
 TRANS On some systems @code{chmod} returns this error if you try to set the
 TRANS sticky bit on a non-directory file; @pxref{Setting Permissions}. */
     [ERR_REMAP (EFTYPE)] = N_("Inappropriate file type or format"),
@@ -915,7 +915,7 @@
 TRANS descriptor, port, etc.) is unable to support the other parameters given;
 TRANS different file descriptors might support different ranges of parameter
 TRANS values.
-TRANS 
+TRANS
 TRANS If the entire function is not available at all in the implementation,
 TRANS it returns @code{ENOSYS} instead. */
     [ERR_REMAP (ENOTSUP)] = N_("Not supported"),

Modified: fsf/trunk/libc/sysdeps/mach/getpagesize.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/getpagesize.c (original)
+++ fsf/trunk/libc/sysdeps/mach/getpagesize.c Sun Jun  9 00:02:13 2013
@@ -20,7 +20,7 @@
 
 /* Return the system page size.  */
 int
-__getpagesize ()
+__getpagesize (void)
 {
   return __vm_page_size;
 }

Modified: fsf/trunk/libc/sysdeps/mach/getsysstats.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/getsysstats.c (original)
+++ fsf/trunk/libc/sysdeps/mach/getsysstats.c Sun Jun  9 00:02:13 2013
@@ -24,7 +24,7 @@
 
 /* Return the number of processors configured on the system. */
 int
-__get_nprocs_conf ()
+__get_nprocs_conf (void)
 {
   struct host_basic_info hbi;
   kern_return_t err;
@@ -43,7 +43,7 @@
 
 /* Return the number of processors currently available on the system. */
 int
-__get_nprocs ()
+__get_nprocs (void)
 {
   struct host_basic_info hbi;
   kern_return_t err;
@@ -62,7 +62,7 @@
 
 /* Return the number of physical pages on the system. */
 long int
-__get_phys_pages ()
+__get_phys_pages (void)
 {
   struct host_basic_info hbi;
   kern_return_t err;
@@ -81,7 +81,7 @@
 
 /* Return the number of available physical pages */
 long int
-__get_avphys_pages ()
+__get_avphys_pages (void)
 {
   vm_statistics_data_t vs;
   kern_return_t err;

Modified: fsf/trunk/libc/sysdeps/mach/hurd/dl-sysdep.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/dl-sysdep.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/dl-sysdep.c Sun Jun  9 00:02:13 2013
@@ -553,7 +553,7 @@
 }
 
 pid_t weak_function
-__getpid ()
+__getpid (void)
 {
   pid_t pid, ppid;
   int orphaned;

Modified: fsf/trunk/libc/sysdeps/mach/hurd/getclktck.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/getclktck.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/getclktck.c Sun Jun  9 00:02:13 2013
@@ -21,7 +21,7 @@
 /* Return frequency of `times'.
    Since Mach reports CPU times in microseconds, we always use 1 million.  */
 int
-__getclktck ()
+__getclktck (void)
 {
   return 1000000;
 }

Modified: fsf/trunk/libc/sysdeps/mach/hurd/getdtsz.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/getdtsz.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/getdtsz.c Sun Jun  9 00:02:13 2013
@@ -24,7 +24,7 @@
 /* Return the maximum number of file descriptors the current process
    could possibly have (until it raises the resource limit).  */
 int
-__getdtablesize ()
+__getdtablesize (void)
 {
   rlim_t limit;
 

Modified: fsf/trunk/libc/sysdeps/mach/hurd/getegid.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/getegid.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/getegid.c Sun Jun  9 00:02:13 2013
@@ -22,7 +22,7 @@
 
 /* Get the effective group ID of the calling process.  */
 gid_t
-__getegid ()
+__getegid (void)
 {
   error_t err;
   gid_t egid;

Modified: fsf/trunk/libc/sysdeps/mach/hurd/geteuid.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/geteuid.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/geteuid.c Sun Jun  9 00:02:13 2013
@@ -22,7 +22,7 @@
 
 /* Get the effective user ID of the calling process.  */
 uid_t
-__geteuid ()
+__geteuid (void)
 {
   error_t err;
   uid_t euid;

Modified: fsf/trunk/libc/sysdeps/mach/hurd/getgid.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/getgid.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/getgid.c Sun Jun  9 00:02:13 2013
@@ -22,7 +22,7 @@
 
 /* Get the real group ID of the calling process.  */
 gid_t
-__getgid ()
+__getgid (void)
 {
   error_t err;
   gid_t gid;

Modified: fsf/trunk/libc/sysdeps/mach/hurd/gethostid.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/gethostid.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/gethostid.c Sun Jun  9 00:02:13 2013
@@ -21,7 +21,7 @@
 
 /* Return the current machine's Internet number.  */
 long int
-gethostid ()
+gethostid (void)
 {
   /* The hostid is just the contents of the file /etc/hostid,
      kept as text of hexadecimal digits.  */

Modified: fsf/trunk/libc/sysdeps/mach/hurd/getlogin.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/getlogin.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/getlogin.c Sun Jun  9 00:02:13 2013
@@ -23,7 +23,7 @@
 /* Return the login name of the user, or NULL if it can't be determined.
    The returned pointer, if not NULL, is good only until the next call.  */
 char *
-getlogin ()
+getlogin (void)
 {
   static char login[1024];	/* XXX */
   error_t err;

Modified: fsf/trunk/libc/sysdeps/mach/hurd/getpid.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/getpid.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/getpid.c Sun Jun  9 00:02:13 2013
@@ -21,7 +21,7 @@
 
 /* Get the process ID of the calling process.  */
 pid_t
-__getpid ()
+__getpid (void)
 {
   /* Assumes atomic word fetch and store, so doesn't lock _hurd_pid_lock.  */
   return _hurd_pid;

Modified: fsf/trunk/libc/sysdeps/mach/hurd/getppid.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/getppid.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/getppid.c Sun Jun  9 00:02:13 2013
@@ -23,7 +23,7 @@
 
 /* Get the parent process ID of the calling process.  */
 pid_t
-__getppid ()
+__getppid (void)
 {
   /* Assumes atomic word fetch and store, so doesn't lock _hurd_pid_lock.  */
   return _hurd_ppid;

Modified: fsf/trunk/libc/sysdeps/mach/hurd/getuid.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/getuid.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/getuid.c Sun Jun  9 00:02:13 2013
@@ -22,7 +22,7 @@
 
 /* Get the real user ID of the calling process.  */
 uid_t
-__getuid ()
+__getuid (void)
 {
   error_t err;
   uid_t uid;

Modified: fsf/trunk/libc/sysdeps/mach/hurd/sync.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/sync.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/sync.c Sun Jun  9 00:02:13 2013
@@ -21,7 +21,7 @@
 
 /* Make all changes done to all files actually appear on disk.  */
 void
-sync ()
+sync (void)
 {
   /* This is not actually synchronous; we don't wait.  */
   error_t err = __USEPORT (CRDIR, __file_syncfs (port, 0, 1));

Modified: fsf/trunk/libc/sysdeps/posix/clock.c
==============================================================================
--- fsf/trunk/libc/sysdeps/posix/clock.c (original)
+++ fsf/trunk/libc/sysdeps/posix/clock.c Sun Jun  9 00:02:13 2013
@@ -20,7 +20,7 @@
 
 /* Return the time used by the program so far (user time + system time).  */
 clock_t
-clock ()
+clock (void)
 {
   struct tms buf;
 

Modified: fsf/trunk/libc/sysdeps/unix/bsd/setsid.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/bsd/setsid.c (original)
+++ fsf/trunk/libc/sysdeps/unix/bsd/setsid.c Sun Jun  9 00:02:13 2013
@@ -25,7 +25,7 @@
    The process group IDs of the session and the calling process
    are set to the process ID of the calling process, which is returned.  */
 int
-__setsid ()
+__setsid (void)
 {
   pid_t pid = getpid ();
   int tty;

Modified: fsf/trunk/libc/sysdeps/unix/getpagesize.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/getpagesize.c (original)
+++ fsf/trunk/libc/sysdeps/unix/getpagesize.c Sun Jun  9 00:02:13 2013
@@ -20,7 +20,7 @@
 
 /* Return the system page size.  */
 int
-__getpagesize ()
+__getpagesize (void)
 {
 #ifdef	EXEC_PAGESIZE
   return EXEC_PAGESIZE;

Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/getclktck.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/getclktck.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/getclktck.c Sun Jun  9 00:02:13 2013
@@ -25,7 +25,7 @@
 
 /* Return frequency of times().  */
 int
-__getclktck ()
+__getclktck (void)
 {
   return GLRO(dl_clktck) ?: SYSTEM_CLK_TCK;
 }

Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/gethostid.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/gethostid.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/gethostid.c Sun Jun  9 00:02:13 2013
@@ -66,7 +66,7 @@
 # include <netinet/in.h>
 
 long int
-gethostid ()
+gethostid (void)
 {
   char hostname[MAXHOSTNAMELEN + 1];
   size_t buflen;

Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/getpagesize.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/getpagesize.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/getpagesize.c Sun Jun  9 00:02:13 2013
@@ -24,7 +24,7 @@
 
 /* Return the system page size.  */
 int
-__getpagesize ()
+__getpagesize (void)
 {
   assert (GLRO(dl_pagesize) != 0);
   return GLRO(dl_pagesize);

Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/getsysstats.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/getsysstats.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/getsysstats.c Sun Jun  9 00:02:13 2013
@@ -124,7 +124,7 @@
 
 
 int
-__get_nprocs ()
+__get_nprocs (void)
 {
   static int cached_result;
   static time_t timestamp;
@@ -234,7 +234,7 @@
 /* On some architectures it is possible to distinguish between configured
    and active cpus.  */
 int
-__get_nprocs_conf ()
+__get_nprocs_conf (void)
 {
   /* XXX Here will come a test for the new system call.  */
 
@@ -333,7 +333,7 @@
    But not all systems have support for the /proc filesystem.  If it
    is not available we return -1 as an error signal.  */
 long int
-__get_phys_pages ()
+__get_phys_pages (void)
 {
   /* XXX Here will come a test for the new system call.  */
 
@@ -354,7 +354,7 @@
    But not all systems have support for the /proc filesystem.  If it
    is not available we return -1 as an error signal.  */
 long int
-__get_avphys_pages ()
+__get_avphys_pages (void)
 {
   /* XXX Here will come a test for the new system call.  */
 

Modified: fsf/trunk/libc/time/clock.c
==============================================================================
--- fsf/trunk/libc/time/clock.c (original)
+++ fsf/trunk/libc/time/clock.c Sun Jun  9 00:02:13 2013
@@ -21,7 +21,7 @@
 
 /* Return the time used by the program so far (user time + system time).  */
 clock_t
-clock ()
+clock (void)
 {
   __set_errno (ENOSYS);
   return (clock_t) -1;

Modified: fsf/trunk/libc/time/tzset.c
==============================================================================
--- fsf/trunk/libc/time/tzset.c (original)
+++ fsf/trunk/libc/time/tzset.c Sun Jun  9 00:02:13 2013
@@ -125,7 +125,7 @@
 size_t __tzname_cur_max;
 
 long int
-__tzname_max ()
+__tzname_max (void)
 {
   __libc_lock_lock (tzset_lock);
 

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits