wok-current rev 25582

Up gcc 6.3.0, fix grub4dos and others packages
author Stanislas Leduc <shann@slitaz.org>
date Sun May 21 15:09:45 2023 +0000 (18 months ago)
parents 735e6108f833
children 35db2ca0cb06
files attr/receipt binutils223/receipt elfutils/receipt file/receipt fuse/receipt gcc-lib-base/receipt gcc-lib-math/receipt gcc/receipt gettext-tools/receipt gettext/receipt gettext/stuff/gettext-0.21-disable-libtextstyle.patch gfortran/receipt glib/receipt glib/stuff/glib-2.41.2-ignore-format-nonliteral-warning.patch glibc/receipt glibc/stuff/glibc-2.21-gcc6_fix-1.patch glibc/stuff/glibc-2.21-gcc6_fix-2.patch glibc/stuff/glibc-2.21-gcc6_fix-3.patch gpxe/receipt grub4dos/receipt kbd/receipt libcap/receipt libgfortran/receipt libgomp/receipt libobjc/receipt libtasn1/receipt libusb/receipt linux/receipt microperl/receipt ncursesw-dev/receipt nettle/receipt pciutils/receipt perl/receipt perl/stuff/perl-5.24.1-microperl-fix.patch python/receipt util-linux-blkid/receipt util-linux-blockdev/receipt util-linux-cfdisk/receipt util-linux-column/receipt util-linux-cramfs/receipt util-linux-eject/receipt util-linux-fdisk/receipt util-linux-flock/receipt util-linux-getopt/receipt util-linux-losetup/receipt util-linux-minix/receipt util-linux-mkfs/receipt util-linux-mount/receipt util-linux-partx/receipt util-linux-setterm/receipt util-linux-sfdisk/receipt util-linux-smartcols/receipt util-linux-uuid/receipt util-linux-whereis/receipt util-linux/receipt
line diff
     1.1 --- a/attr/receipt	Wed May 17 06:35:38 2023 +0000
     1.2 +++ b/attr/receipt	Sun May 21 15:09:45 2023 +0000
     1.3 @@ -12,7 +12,7 @@
     1.4  WGET_URL="https://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
     1.5  
     1.6  DEPENDS="glibc-base"
     1.7 -BUILD_DEPENDS="autoconf automake m4 libtool gettext"
     1.8 +BUILD_DEPENDS="autoconf automake m4 bash libtool" #gettext (avoid loop build)
     1.9  HOST_ARCH="i486 arm"
    1.10  
    1.11  # When cross compiling auto-tools, gettext and m4 build system are used.
    1.12 @@ -36,13 +36,20 @@
    1.13  	# No need to use rpm
    1.14  	rm /bin/rpm
    1.15  
    1.16 -	export	INSTALL_USER=root
    1.17 -	export	INSTALL_GROUP=root
    1.18  
    1.19 -	./configure $CONFIGURE_ARGS &&
    1.20 -	make &&
    1.21 -	make install install-lib install-dev DIST_ROOT=$DESTDIR
    1.22 -	
    1.23 +        {
    1.24 +                INSTALL_USER=root               \
    1.25 +                INSTALL_GROUP=root              \
    1.26 +                ./configure                     \
    1.27 +                        $CONFIGURE_ARGS &&
    1.28 +                make &&
    1.29 +                make install install-lib        \
    1.30 +                install-dev DIST_ROOT=$DESTDIR
    1.31 +        } || {
    1.32 +                mv -f /bin/sh.bak /bin/sh
    1.33 +                return 1
    1.34 +        }
    1.35 +
    1.36  	mv -f /bin/sh.bak /bin/sh
    1.37  }
    1.38  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/binutils223/receipt	Sun May 21 15:09:45 2023 +0000
     2.3 @@ -0,0 +1,91 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="binutils223"
     2.7 +SOURCE="binutils"
     2.8 +VERSION="2.23.1"
     2.9 +CATEGORY="development"
    2.10 +TAGS="assembler linker"
    2.11 +SHORT_DESC="GNU assembler, linker and binary utilities."
    2.12 +MAINTAINER="pankso@slitaz.org"
    2.13 +LICENSE="GPL2"
    2.14 +WEB_SITE="https://www.gnu.org/software/binutils/"
    2.15 +
    2.16 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    2.17 +#WGET_URL="https://www.kernel.org/pub/linux/devel/binutils/$TARBALL"
    2.18 +WGET_URL="http://ftp.gnu.org/gnu/$SOURCE/$TARBALL"
    2.19 +
    2.20 +PROVIDE="libbfd"
    2.21 +DEPENDS="flex glibc zlib"
    2.22 +BUILD_DEPENDS="glibc-dev texinfo zlib-dev"
    2.23 +
    2.24 +HOST_ARCH="i486 arm"
    2.25 +
    2.26 +# Handle cross compilation.
    2.27 +case "$ARCH" in
    2.28 +	arm) BUILD_DEPENDS="" ;;
    2.29 +esac
    2.30 +
    2.31 +# @maintainer: Please update also: libbfd
    2.32 +
    2.33 +# What is the latest version available today?
    2.34 +current_version()
    2.35 +{
    2.36 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    2.37 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    2.38 +}
    2.39 +
    2.40 +# Rules to configure and make the package.
    2.41 +compile_rules()
    2.42 +{
    2.43 +	case "$ARCH" in
    2.44 +		i?86) ARCH_ARGS="--disable-werror --enable-64-bit-bfd" ;;
    2.45 +	esac
    2.46 +
    2.47 +	mkdir	../binutils-build &&
    2.48 +	cd	../binutils-build &&
    2.49 +	$src/configure					\
    2.50 +		--program-prefix=$TOOLPREFIX		\
    2.51 +		--program-suffix=-2.23			\
    2.52 +		--enable-shared				\
    2.53 +		--disable-initfini-array		\
    2.54 +		--with-bugurl="http://bugs.slitaz.org/"	\
    2.55 +		$CONFIGURE_ARGS				\
    2.56 +		$ARCH_ARGS &&
    2.57 +	make tooldir=/usr &&
    2.58 +	make install tooldir=/usr &&
    2.59 +	# This is the default binutils, so create symlinks to the target platform
    2.60 +	# binutil binaries. Delete duplicate binaries to save space.
    2.61 +	for binutil in $(ls -1 $DESTDIR/usr/bin | grep "${TOOLPREFIX}")
    2.62 +	  do
    2.63 +		path="$DESTDIR/usr/bin/$(echo "$binutil" | sed "s:$TOOLPREFIX::g")"
    2.64 +		if [ -e $path ]
    2.65 +		  then
    2.66 +			rm -f $path
    2.67 +		fi
    2.68 +		ln -s $binutil $path
    2.69 +	  done
    2.70 +}
    2.71 +
    2.72 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.73 +genpkg_rules()
    2.74 +{
    2.75 +	cook_copy_folders	bin
    2.76 +	cook_copy_folders	include
    2.77 +	cook_copy_files		*.a
    2.78 +	cook_copy_files		*.so*
    2.79 +
    2.80 +	# libiberty.h
    2.81 +	cp -a $src/include/libiberty.h	$fs/usr/include
    2.82 +
    2.83 +	# Remove 'strings' (Busybox).
    2.84 +	#rm $fs/usr/lib/libiberty.a
    2.85 +	rm				$fs/usr/bin/strings*
    2.86 +	rm				$fs/usr/bin/*-strings*
    2.87 +
    2.88 +	# Remove build directory (cookutils and tazwok path).
    2.89 +	rm -rf $WOK/$PACKAGE/source/$PACKAGE-build
    2.90 +	rm -rf $WOK/$PACKAGE/$PACKAGE-build
    2.91 +
    2.92 +	chown -R root:root		$fs/usr/include/libiberty.h
    2.93 +	chmod 644			$fs/usr/include/libiberty.h
    2.94 +}
     3.1 --- a/elfutils/receipt	Wed May 17 06:35:38 2023 +0000
     3.2 +++ b/elfutils/receipt	Sun May 21 15:09:45 2023 +0000
     3.3 @@ -12,7 +12,7 @@
     3.4  HOST_ARCH="i486 arm"
     3.5  
     3.6  DEPENDS="glibc-base"
     3.7 -BUILD_DEPENDS="wget bzip2-dev liblzma-dev"
     3.8 +BUILD_DEPENDS="bzip2-dev liblzma-dev"
     3.9  
    3.10  # Handle multiarch compilation
    3.11  case "$ARCH" in
     4.1 --- a/file/receipt	Wed May 17 06:35:38 2023 +0000
     4.2 +++ b/file/receipt	Sun May 21 15:09:45 2023 +0000
     4.3 @@ -11,8 +11,8 @@
     4.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     4.5  WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL"
     4.6  
     4.7 -DEPENDS="gcc83-lib-base libmagic zlib"
     4.8 -BUILD_DEPENDS="gcc83 python python-setuptools zlib-dev"
     4.9 +DEPENDS="gcc-lib-base libmagic zlib"
    4.10 +BUILD_DEPENDS="gcc python python-setuptools zlib-dev"
    4.11  
    4.12  HOST_ARCH="i486 arm"
    4.13  
    4.14 @@ -38,7 +38,7 @@
    4.15  		src/readelf.c
    4.16  
    4.17  	./configure				\
    4.18 -		CC=gcc-83			\
    4.19 +		CC=gcc				\
    4.20  		--datarootdir=/usr/share	\
    4.21  		$CONFIGURE_ARGS &&
    4.22  	make &&
     5.1 --- a/fuse/receipt	Wed May 17 06:35:38 2023 +0000
     5.2 +++ b/fuse/receipt	Sun May 21 15:09:45 2023 +0000
     5.3 @@ -12,8 +12,8 @@
     5.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
     5.5  WGET_URL="$WEB_SITE/releases/download/$PACKAGE-$VERSION/$TARBALL"
     5.6  
     5.7 -DEPENDS="gcc83-lib-base"
     5.8 -BUILD_DEPENDS="gcc83 meson ninja udev-dev"
     5.9 +DEPENDS="gcc-lib-base"
    5.10 +BUILD_DEPENDS="gcc meson ninja udev-dev"
    5.11  
    5.12  HOST_ARCH="i486 arm"
    5.13  
    5.14 @@ -27,8 +27,8 @@
    5.15  # Rules to configure and make the package.
    5.16  compile_rules()
    5.17  {
    5.18 -	export	CC=gcc-83
    5.19 -	export	CXX=g++-83
    5.20 +	export	CC=gcc
    5.21 +	export	CXX=g++
    5.22  
    5.23  	mkdir	_build
    5.24  	cd	_build
     6.1 --- a/gcc-lib-base/receipt	Wed May 17 06:35:38 2023 +0000
     6.2 +++ b/gcc-lib-base/receipt	Sun May 21 15:09:45 2023 +0000
     6.3 @@ -1,7 +1,7 @@
     6.4  # SliTaz package receipt.
     6.5  
     6.6  PACKAGE="gcc-lib-base"
     6.7 -VERSION="4.9.2"
     6.8 +VERSION="6.3.0"
     6.9  CATEGORY="development"
    6.10  SHORT_DESC="GCC base libraries, libgcc_s and libstdc++."
    6.11  WEB_SITE="http://gcc.gnu.org/"
     7.1 --- a/gcc-lib-math/receipt	Wed May 17 06:35:38 2023 +0000
     7.2 +++ b/gcc-lib-math/receipt	Sun May 21 15:09:45 2023 +0000
     7.3 @@ -1,7 +1,7 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="gcc-lib-math"
     7.7 -VERSION="4.9.2"
     7.8 +VERSION="6.3.0"
     7.9  CATEGORY="development"
    7.10  SHORT_DESC="GCC math libraries, libquadmath."
    7.11  WEB_SITE="http://gcc.gnu.org/"
     8.1 --- a/gcc/receipt	Wed May 17 06:35:38 2023 +0000
     8.2 +++ b/gcc/receipt	Sun May 21 15:09:45 2023 +0000
     8.3 @@ -1,7 +1,7 @@
     8.4  # SliTaz package receipt.
     8.5  
     8.6  PACKAGE="gcc"
     8.7 -VERSION="4.9.2"
     8.8 +VERSION="6.3.0"
     8.9  CATEGORY="development"
    8.10  SHORT_DESC="The GNU Compiler Collection."
    8.11  MAINTAINER="pankso@slitaz.org"
     9.1 --- a/gettext-tools/receipt	Wed May 17 06:35:38 2023 +0000
     9.2 +++ b/gettext-tools/receipt	Sun May 21 15:09:45 2023 +0000
     9.3 @@ -8,7 +8,7 @@
     9.4  LICENSE="GPL3"
     9.5  WEB_SITE="https://www.gnu.org/software/gettext/"
     9.6  
     9.7 -DEPENDS="acl attr glib libcroco libgomp liblzma libxml2 pcre zlib"
     9.8 +DEPENDS="acl attr glib libgomp liblzma libxml2 pcre zlib" #libcroco (unmaintained)
     9.9  WANTED="gettext"
    9.10  
    9.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    10.1 --- a/gettext/receipt	Wed May 17 06:35:38 2023 +0000
    10.2 +++ b/gettext/receipt	Sun May 21 15:09:45 2023 +0000
    10.3 @@ -11,9 +11,9 @@
    10.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
    10.5  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    10.6  
    10.7 -DEPENDS="acl-dev attr-dev gettext-base gettext-tools glib-dev libcroco 
    10.8 -	libcroco-dev liblzma libxml2 libxml2-dev m4 ncurses pcre-dev"
    10.9 -BUILD_DEPENDS="acl-dev coreutils glib-dev libcroco-dev libxml2-dev"
   10.10 +DEPENDS="acl-dev attr-dev gettext-base gettext-tools glib-dev liblzma \
   10.11 +libxml2 libxml2-dev m4 ncurses pcre-dev" #libcroco (security unmaintained)
   10.12 +BUILD_DEPENDS="automake m4 acl-dev coreutils glib-dev libxml2-dev" #libcroco-dev
   10.13  SPLIT="gettext-base gettext-tools"
   10.14  
   10.15  HOST_ARCH="i486 arm"
   10.16 @@ -35,7 +35,12 @@
   10.17  compile_rules()
   10.18  {
   10.19  	# 0.21	for textstyle.h to be found:
   10.20 -	export	CFLAGS="$CFLAGS -I../../libtextstyle/lib" &&
   10.21 +	#export	CFLAGS="$CFLAGS -I../../libtextstyle/lib" &&
   10.22 +
   10.23 +	#Disable libtextstyle required by libcroco unmaintained
   10.24 +        patch -p1 -i $stuff/gettext-0.21-disable-libtextstyle.patch
   10.25 +
   10.26 +	autoreconf --force
   10.27  
   10.28  	./configure		\
   10.29  		$CONFIGURE_ARGS	\
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/gettext/stuff/gettext-0.21-disable-libtextstyle.patch	Sun May 21 15:09:45 2023 +0000
    11.3 @@ -0,0 +1,128 @@
    11.4 +diff --git a/Makefile.am b/Makefile.am
    11.5 +index 815e3c7..e897de7 100644
    11.6 +--- a/Makefile.am
    11.7 ++++ b/Makefile.am
    11.8 +@@ -19,7 +19,7 @@
    11.9 + AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
   11.10 + ACLOCAL_AMFLAGS = -I m4
   11.11 + 
   11.12 +-SUBDIRS = gnulib-local gettext-runtime libtextstyle gettext-tools
   11.13 ++SUBDIRS = gnulib-local gettext-runtime gettext-tools
   11.14 + 
   11.15 + changelog_etc = \
   11.16 +   gettext-runtime/ChangeLog.0 \
   11.17 +@@ -123,7 +123,6 @@ distcheck-hook:
   11.18 + 	test "`sed 1,16d $(srcdir)/gettext-runtime/intl/xsize.h | md5sum`" = "`sed 1,16d $(srcdir)/gettext-tools/gnulib-lib/xsize.h | md5sum`"
   11.19 + 	cmp -s $(srcdir)/gettext-runtime/man/help2man $(srcdir)/gettext-tools/man/help2man
   11.20 + 	cmp -s $(srcdir)/gettext-runtime/man/x-to-1.in $(srcdir)/gettext-tools/man/x-to-1.in
   11.21 +-	cmp -s $(srcdir)/libtextstyle/m4/libtextstyle.m4 $(srcdir)/gettext-tools/gnulib-m4/libtextstyle.m4
   11.22 + 	cmp -s $(srcdir)/gettext-tools/examples/hello-java-awt/m4/TestAWT.java $(srcdir)/gettext-tools/examples/hello-java-swing/m4/TestAWT.java
   11.23 + 	cmp -s $(srcdir)/gettext-tools/examples/hello-java-awt/m4/TestAWT.class $(srcdir)/gettext-tools/examples/hello-java-swing/m4/TestAWT.class
   11.24 + 	test "`sed 1,15d $(srcdir)/gnulib-local/lib/alloca.in.h | md5sum`" = "`sed 1,15d $(srcdir)/gettext-runtime/libasprintf/alloca.in.h | md5sum`"
   11.25 +diff --git a/configure.ac b/configure.ac
   11.26 +index 49689fb..2d23b44 100644
   11.27 +--- a/configure.ac
   11.28 ++++ b/configure.ac
   11.29 +@@ -37,7 +37,7 @@ dnl Checks for typedefs, structures, and compiler characteristics.
   11.30 + 
   11.31 + dnl Checks for library functions.
   11.32 + 
   11.33 +-AC_CONFIG_SUBDIRS([gettext-runtime libtextstyle gettext-tools])
   11.34 ++AC_CONFIG_SUBDIRS([gettext-runtime gettext-tools])
   11.35 + 
   11.36 + AM_EXTRA_RECURSIVE_TARGETS([maintainer-update-po])
   11.37 + 
   11.38 +@@ -49,7 +49,7 @@ AC_CANONICAL_HOST
   11.39 + dnl Optional Features: AC_ARG_ENABLE calls
   11.40 + dnl Optional Packages: AC_ARG_WITH calls
   11.41 + dnl Some influential environment variables: AC_ARG_VAR calls
   11.42 +-esyscmd([{ cd gettext-runtime && autoconf --trace=AC_ARG_ENABLE:'$n([$1],[$2])' --trace=AC_ARG_WITH:'$n([$1],[$2])' --trace=AC_ARG_VAR:'$n($@)' && cd ..; cd libtextstyle && autoconf --trace=AC_ARG_ENABLE:'$n([$1],[$2])' --trace=AC_ARG_WITH:'$n([$1],[$2])' --trace=AC_ARG_VAR:'$n($@)' && cd ..; { cd gettext-tools && autoconf --trace=AC_ARG_ENABLE:'$n([$1],[$2])' --trace=AC_ARG_WITH:'$n([$1],[$2])' --trace=AC_ARG_VAR:'$n($@)' && cd ..; } | grep -v installed.libtextstyle | grep -v installed.csharp | grep -v 'installed C#'; } | sed -f build-aux/ac-help.sed ])
   11.43 ++esyscmd([{ cd gettext-runtime && autoconf --trace=AC_ARG_ENABLE:'$n([$1],[$2])' --trace=AC_ARG_WITH:'$n([$1],[$2])' --trace=AC_ARG_VAR:'$n($@)' && cd ..; { cd gettext-tools && autoconf --trace=AC_ARG_ENABLE:'$n([$1],[$2])' --trace=AC_ARG_WITH:'$n([$1],[$2])' --trace=AC_ARG_VAR:'$n($@)' && cd ..; } | grep -v installed.csharp | grep -v 'installed C#'; } | sed -f build-aux/ac-help.sed ])
   11.44 + 
   11.45 + AC_CONFIG_FILES([Makefile])
   11.46 + 
   11.47 +diff --git a/gettext-tools/Makefile.am b/gettext-tools/Makefile.am
   11.48 +index 449a797..c5719c2 100644
   11.49 +--- a/gettext-tools/Makefile.am
   11.50 ++++ b/gettext-tools/Makefile.am
   11.51 +@@ -19,7 +19,7 @@
   11.52 + AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
   11.53 + ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../m4 -I gnulib-m4 -I libgrep/gnulib-m4 -I libgettextpo/gnulib-m4
   11.54 + 
   11.55 +-SUBDIRS = intl gnulib-lib libgrep src libgettextpo po its projects styles emacs misc man m4 tests system-tests gnulib-tests examples doc
   11.56 ++SUBDIRS = intl gnulib-lib libgrep libgettextpo src po its projects styles emacs misc man m4 tests system-tests gnulib-tests examples doc
   11.57 + 
   11.58 + EXTRA_DIST = misc/DISCLAIM
   11.59 + MOSTLYCLEANFILES = core *.stackdump
   11.60 +diff --git a/gettext-tools/libgettextpo/textstyle.in.h b/gettext-tools/libgettextpo/textstyle.in.h
   11.61 +index 536b51b..585ce66 100644
   11.62 +--- a/gettext-tools/libgettextpo/textstyle.in.h
   11.63 ++++ b/gettext-tools/libgettextpo/textstyle.in.h
   11.64 +@@ -213,7 +213,8 @@ typedef ostream_t file_ostream_t;
   11.65 + static inline file_ostream_t
   11.66 + file_ostream_create (FILE *fp)
   11.67 + {
   11.68 +-  return fp;
   11.69 ++  /* Closing the stream we return should not close 'fp'.  */
   11.70 ++  return fdopen (dup (fileno (fp)), "w");
   11.71 + }
   11.72 + 
   11.73 + /* --------------------------- From fd-ostream.h --------------------------- */
   11.74 +@@ -413,6 +414,30 @@ html_styled_ostream_create (ostream_t destination _GL_UNUSED,
   11.75 +   return NULL;
   11.76 + }
   11.77 + 
   11.78 ++/* ----------------------- From noop-styled-ostream.h ----------------------- */
   11.79 ++
   11.80 ++/* noop_styled_ostream_t is a subtype of ostream_t.  */
   11.81 ++typedef ostream_t noop_styled_ostream_t;
   11.82 ++
   11.83 ++#define noop_styled_ostream_write_mem ostream_write_mem
   11.84 ++#define noop_styled_ostream_flush ostream_flush
   11.85 ++#define noop_styled_ostream_free ostream_free
   11.86 ++#define noop_styled_ostream_begin_use_class styled_ostream_begin_use_class
   11.87 ++#define noop_styled_ostream_end_use_class styled_ostream_end_use_class
   11.88 ++#define noop_styled_ostream_get_hyperlink_ref styled_ostream_get_hyperlink_ref
   11.89 ++#define noop_styled_ostream_get_hyperlink_id styled_ostream_get_hyperlink_id
   11.90 ++#define noop_styled_ostream_set_hyperlink styled_ostream_set_hyperlink
   11.91 ++#define noop_styled_ostream_flush_to_current_style styled_ostream_flush_to_current_style
   11.92 ++
   11.93 ++static inline ostream_t
   11.94 ++noop_styled_ostream_create (ostream_t destination, bool pass_ownership)
   11.95 ++{
   11.96 ++  if (pass_ownership)
   11.97 ++    return destination;
   11.98 ++  else
   11.99 ++    return fdopen (dup (fileno (destination)), "w");
  11.100 ++}
  11.101 ++
  11.102 + /* ------------------------------ From color.h ------------------------------ */
  11.103 + 
  11.104 + #define color_test_mode false
  11.105 +diff --git a/gettext-tools/src/Makefile.am b/gettext-tools/src/Makefile.am
  11.106 +index 764ffad..eccfbbd 100644
  11.107 +--- a/gettext-tools/src/Makefile.am
  11.108 ++++ b/gettext-tools/src/Makefile.am
  11.109 +@@ -292,19 +292,9 @@ cldr_plurals_SOURCES = cldr-plural.y cldr-plural-exp.c cldr-plurals.c
  11.110 + cldr_plurals_CFLAGS = $(AM_CFLAGS) $(INCXML)
  11.111 + cldr_plurals_LDADD = libgettextsrc.la $(LDADD)
  11.112 + 
  11.113 +-if USE_INSTALLED_LIBTEXTSTYLE
  11.114 +-LT_LIBTEXTSTYLE = @LTLIBTEXTSTYLE@
  11.115 +-else
  11.116 +-# How to get the include files of libtextstyle.
  11.117 +-textstyle.h textstyle/stdbool.h textstyle/version.h textstyle/woe32dll.h:
  11.118 +-	here=`pwd`; \
  11.119 +-	cd ../../libtextstyle/lib && \
  11.120 +-	  $(MAKE) install-nobase_includeHEADERS install-nobase_nodist_includeHEADERS includedir="$$here"
  11.121 +-BUILT_SOURCES    += textstyle.h textstyle/stdbool.h textstyle/version.h textstyle/woe32dll.h
  11.122 +-MOSTLYCLEANFILES += textstyle.h textstyle/stdbool.h textstyle/version.h textstyle/woe32dll.h
  11.123 +-# Where to find the built libtextstyle library.
  11.124 +-LT_LIBTEXTSTYLE = ../../libtextstyle/lib/libtextstyle.la
  11.125 +-endif
  11.126 ++# Use the dummy libtextstyle from gnulib, as libgettextpo does.
  11.127 ++LT_LIBTEXTSTYLE =
  11.128 ++AM_CPPFLAGS += -I../libgettextpo -I$(top_srcdir)/libgettextpo
  11.129 + 
  11.130 + # How to build libgettextsrc.la.
  11.131 + # Need ../gnulib-lib/libgettextlib.la.
    12.1 --- a/gfortran/receipt	Wed May 17 06:35:38 2023 +0000
    12.2 +++ b/gfortran/receipt	Sun May 21 15:09:45 2023 +0000
    12.3 @@ -1,7 +1,7 @@
    12.4  # SliTaz package receipt.
    12.5  
    12.6  PACKAGE="gfortran"
    12.7 -VERSION="4.9.2"
    12.8 +VERSION="6.3.0"
    12.9  CATEGORY="development"
   12.10  SHORT_DESC="GCC fortran extension."
   12.11  WEB_SITE="http://gcc.gnu.org/"
   12.12 @@ -20,6 +20,6 @@
   12.13  	cp -a $install/usr/lib/libgfortran.spec $fs/usr/lib
   12.14  	cp -a $install/usr/lib/gcc/$HOST_SYSTEM/$VERSION/f* \
   12.15  		$fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION
   12.16 -	cp -a $install/usr/lib/gcc/$HOST_SYSTEM/$VERSION/libgfortran* \
   12.17 -		$fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION
   12.18 +	#cp -a $install/usr/lib/gcc/$HOST_SYSTEM/$VERSION/libgfortran* \
   12.19 +	#	$fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION
   12.20  }
    13.1 --- a/glib/receipt	Wed May 17 06:35:38 2023 +0000
    13.2 +++ b/glib/receipt	Sun May 21 15:09:45 2023 +0000
    13.3 @@ -29,6 +29,10 @@
    13.4  # Rules to configure and make the package.
    13.5  compile_rules()
    13.6  {
    13.7 +
    13.8 +	# Fix build with gcc >= 6.x
    13.9 +	patch -p1 -i $stuff/glib-2.41.2-ignore-format-nonliteral-warning.patch
   13.10 +
   13.11  	case "$ARCH" in
   13.12  		i?86)
   13.13  			./configure \
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/glib/stuff/glib-2.41.2-ignore-format-nonliteral-warning.patch	Sun May 21 15:09:45 2023 +0000
    14.3 @@ -0,0 +1,33 @@
    14.4 +From 00148329967adb196138372771052a3f606a6ea3 Mon Sep 17 00:00:00 2001
    14.5 +From: coypu <coypu@sdf.org>
    14.6 +Date: Wed, 2 Mar 2016 19:43:10 +0200
    14.7 +Subject: [PATCH 2/2] gdate: Suppress string format literal warning
    14.8 +
    14.9 +Newer versions of GCC emit an error here, but we know it's safe.
   14.10 +https://bugzilla.gnome.org/761550
   14.11 +---
   14.12 + glib/gdate.c | 5 +++++
   14.13 + 1 file changed, 5 insertions(+)
   14.14 +
   14.15 +diff --git a/glib/gdate.c b/glib/gdate.c
   14.16 +index 4aece02..92c34d2 100644
   14.17 +--- a/glib/gdate.c
   14.18 ++++ b/glib/gdate.c
   14.19 +@@ -2439,6 +2439,9 @@ win32_strftime_helper (const GDate     *d,
   14.20 +  *
   14.21 +  * Returns: number of characters written to the buffer, or 0 the buffer was too small
   14.22 +  */
   14.23 ++#pragma GCC diagnostic push
   14.24 ++#pragma GCC diagnostic ignored "-Wformat-nonliteral"
   14.25 ++
   14.26 + gsize     
   14.27 + g_date_strftime (gchar       *s, 
   14.28 +                  gsize        slen, 
   14.29 +@@ -2549,3 +2552,5 @@ g_date_strftime (gchar       *s,
   14.30 +   return retval;
   14.31 + #endif
   14.32 + }
   14.33 ++
   14.34 ++#pragma GCC diagnostic pop
   14.35 +-- 
   14.36 +2.7.1
    15.1 --- a/glibc/receipt	Wed May 17 06:35:38 2023 +0000
    15.2 +++ b/glibc/receipt	Sun May 21 15:09:45 2023 +0000
    15.3 @@ -84,15 +84,24 @@
    15.4  	sed -i -e 's/"db1"/& \&\& $name ne "nss_test1"/' scripts/test-installation.pl
    15.5  	sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in
    15.6  
    15.7 +        # Fix a bug that prevents Glibc from building with GCC-6.3.0
    15.8 +        # https://bugzilla.redhat.com/show_bug.cgi?id=1312963 (-Werror=parentheses)
    15.9 +        # https://sourceware.org/pipermail/libc-alpha/2015-April/059886.html (array-bounds)
   15.10 +        patch -p1 -i $stuff/glibc-2.21-gcc6_fix-1.patch
   15.11 +        # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68024 (patch for style-definition)
   15.12 +        patch -p1 -i $stuff/glibc-2.21-gcc6_fix-2.patch
   15.13 +        # https://gcc.gnu.org/legacy-ml/gcc-patches/2015-11/msg00105.html
   15.14 +        patch -p1 -i $stuff/glibc-2.21-gcc6_fix-3.patch
   15.15 +
   15.16          # Glibc misc Bug Fixes
   15.17          # fix for {linux,sys}/xattr.h incompatibility - commit fdbe8eae
   15.18 -        patch -p1 -i $stuff/glibc-2.19-xattr_header.patch
   15.19 +        #patch -p1 -i $stuff/glibc-2.19-xattr_header.patch
   15.20  
   15.21          # fix issues in sin/cos slow path calculation - commit ffe768a9
   15.22 -        patch -p1 -i $stuff/glibc-2.19-fix-sign-in-bsloww1-input.patch
   15.23 +        #patch -p1 -i $stuff/glibc-2.19-fix-sign-in-bsloww1-input.patch
   15.24  
   15.25          # fix tzselect with missing TZDIR - commit 893b4f37/c72399fb
   15.26 -        patch -p1 -i $stuff/glibc-2.19-tzselect-default.patch
   15.27 +        #patch -p1 -i $stuff/glibc-2.19-tzselect-default.patch
   15.28  
   15.29  	# Glibc misc Bug Fixes
   15.30  	#patch -Np1 -i $stuff/glibc-2.14.1-fixes-1.patch
   15.31 @@ -104,7 +113,7 @@
   15.32  	#patch -Np1 -i $stuff/glibc-2.14.1-gcc_fix-1.patch
   15.33  	
   15.34  	# Revert commit causing issues with crappy DNS servers
   15.35 -	patch -Np1 -i $stuff/glibc-2.14-revert-4768ae77.patch
   15.36 +	#patch -Np1 -i $stuff/glibc-2.14-revert-4768ae77.patch
   15.37  	
   15.38  	# re-export RPC interface until libtirpc is ready as a replacement
   15.39  	# http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=acee4873 (only fedora branch...)
   15.40 @@ -117,6 +126,12 @@
   15.41  	# Update for binutils 2.29, see https://sourceware.org/bugzilla/show_bug.cgi?id=21661
   15.42  	sed -i 's|obstack_compat;|obstack_compat  __attribute__ ((nocommon));|' malloc/obstack.c
   15.43  
   15.44 +        # Fix unused const variable
   15.45 +        sed -i 's|static const float one=1.0;|static const float __attribute__ ((unused)) one=1.0;|' \
   15.46 +        sysdeps/ieee754/flt-32/s_cosf.c 
   15.47 +        sed -i 's|static const char rcsid\[\] =|static const char __attribute__ ((unused)) rcsid\[\] =|' \
   15.48 +        resolv/base64.c
   15.49 +
   15.50  	# Fix a stack imbalance that occurs under some conditions:
   15.51  	#sed -i '195,213 s/PRIVATE_FUTEX/FUTEX_CLOCK_REALTIME/' \
   15.52  	#	nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S \
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/glibc/stuff/glibc-2.21-gcc6_fix-1.patch	Sun May 21 15:09:45 2023 +0000
    16.3 @@ -0,0 +1,104 @@
    16.4 +diff -up glibc-arm-linux-gnu-2.23/glibc-2.23/nis/nis_call.c.gcc61 glibc-arm-linux-gnu-2.23/glibc-2.23/nis/nis_call.c
    16.5 +--- glibc-2.23/nis/nis_call.c.gcc61	2016-02-18 18:54:00.000000000 +0100
    16.6 ++++ glibc-2.23/nis/nis_call.c	2016-05-19 18:44:24.288550322 +0200
    16.7 +@@ -680,6 +680,7 @@ nis_server_cache_add (const_nis_name nam
    16.8 +   /* Choose which entry should be evicted from the cache.  */
    16.9 +   loc = &nis_server_cache[0];
   16.10 +   if (*loc != NULL)
   16.11 ++  {
   16.12 +     for (i = 1; i < 16; ++i)
   16.13 +       if (nis_server_cache[i] == NULL)
   16.14 + 	{
   16.15 +@@ -690,6 +691,7 @@ nis_server_cache_add (const_nis_name nam
   16.16 + 	       || ((*loc)->uses == nis_server_cache[i]->uses
   16.17 + 		   && (*loc)->expires > nis_server_cache[i]->expires))
   16.18 + 	loc = &nis_server_cache[i];
   16.19 ++  }
   16.20 +   old = *loc;
   16.21 +   *loc = new;
   16.22 + 
   16.23 +diff -up glibc-arm-linux-gnu-2.23/glibc-2.23/stdlib/setenv.c.gcc61 glibc-arm-linux-gnu-2.23/glibc-2.23/stdlib/setenv.c
   16.24 +--- glibc-2.23/stdlib/setenv.c.gcc61	2016-02-18 18:54:00.000000000 +0100
   16.25 ++++ glibc-2.23/stdlib/setenv.c	2016-05-19 18:41:09.778640989 +0200
   16.26 +@@ -277,6 +277,7 @@ unsetenv (const char *name)
   16.27 + 
   16.28 +   ep = __environ;
   16.29 +   if (ep != NULL)
   16.30 ++  {
   16.31 +     while (*ep != NULL)
   16.32 +       if (!strncmp (*ep, name, len) && (*ep)[len] == '=')
   16.33 + 	{
   16.34 +@@ -290,6 +291,7 @@ unsetenv (const char *name)
   16.35 + 	}
   16.36 +       else
   16.37 + 	++ep;
   16.38 ++  }
   16.39 + 
   16.40 +   UNLOCK;
   16.41 +
   16.42 +	* elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
   16.43 +	check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
   16.44 +	before using NSID as an index.
   16.45 +
   16.46 +diff --git a/elf/dl-open.c b/elf/dl-open.c
   16.47 +index 0dbe07f..2d0e082 100644
   16.48 +--- a/elf/dl-open.c
   16.49 ++++ b/elf/dl-open.c
   16.50 +@@ -619,8 +619,14 @@ no more namespaces available for dlmopen()"));
   16.51 +   /* Never allow loading a DSO in a namespace which is empty.  Such
   16.52 +      direct placements is only causing problems.  Also don't allow
   16.53 +      loading into a namespace used for auditing.  */
   16.54 +-  else if (__builtin_expect (nsid != LM_ID_BASE && nsid != __LM_ID_CALLER, 0)
   16.55 +-	   && (GL(dl_ns)[nsid]._ns_nloaded == 0
   16.56 ++  else if (__glibc_unlikely (nsid != LM_ID_BASE && nsid != __LM_ID_CALLER)
   16.57 ++	   && (__glibc_unlikely (nsid < 0 || nsid >= GL(dl_nns))
   16.58 ++	       /* This prevents the [NSID] index expressions from being
   16.59 ++		  evaluated, so the compiler won't think that we are
   16.60 ++		  accessing an invalid index here in the !SHARED case where
   16.61 ++		  DL_NNS is 1 and so any NSID != 0 is invalid.  */
   16.62 ++	       || DL_NNS == 1
   16.63 ++	       || GL(dl_ns)[nsid]._ns_nloaded == 0
   16.64 + 	       || GL(dl_ns)[nsid]._ns_loaded->l_auditing))
   16.65 +     _dl_signal_error (EINVAL, file, NULL,
   16.66 + 		      N_("invalid target namespace in dlmopen()"));
   16.67 +
   16.68 +	* elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
   16.69 +	IMAP->l_prev cannot be null, and #if out the code for the contrary
   16.70 +	case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
   16.71 +	believe that NS (&_dl_ns[NSID]) could point outside the array.
   16.72 +
   16.73 +diff --git a/elf/dl-close.c b/elf/dl-close.c
   16.74 +index cf8f9e0..412f71d 100644
   16.75 +--- a/elf/dl-close.c
   16.76 ++++ b/elf/dl-close.c
   16.77 +@@ -641,9 +641,16 @@ _dl_close_worker (struct link_map *map)
   16.78 + 	  DL_UNMAP (imap);
   16.79 + 
   16.80 + 	  /* Finally, unlink the data structure and free it.  */
   16.81 +-	  if (imap->l_prev != NULL)
   16.82 +-	    imap->l_prev->l_next = imap->l_next;
   16.83 +-	  else
   16.84 ++#if DL_NNS == 1
   16.85 ++	  /* The assert in the (imap->l_prev == NULL) case gives
   16.86 ++	     the compiler license to warn that NS points outside
   16.87 ++	     the dl_ns array bounds in that case (as nsid != LM_ID_BASE
   16.88 ++	     is tantamount to nsid >= DL_NNS).  That should be impossible
   16.89 ++	     in this configuration, so just assert about it instead.  */
   16.90 ++	  assert (nsid == LM_ID_BASE);
   16.91 ++	  assert (imap->l_prev != NULL);
   16.92 ++#else
   16.93 ++	  if (imap->l_prev == NULL)
   16.94 + 	    {
   16.95 + 	      assert (nsid != LM_ID_BASE);
   16.96 + 	      ns->_ns_loaded = imap->l_next;
   16.97 +@@ -652,6 +659,9 @@ _dl_close_worker (struct link_map *map)
   16.98 + 		 we leave for debuggers to examine.  */
   16.99 + 	      r->r_map = (void *) ns->_ns_loaded;
  16.100 + 	    }
  16.101 ++	  else
  16.102 ++#endif
  16.103 ++	    imap->l_prev->l_next = imap->l_next;
  16.104 + 
  16.105 + 	  --ns->_ns_nloaded;
  16.106 + 	  if (imap->l_next != NULL)
  16.107 + 
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/glibc/stuff/glibc-2.21-gcc6_fix-2.patch	Sun May 21 15:09:45 2023 +0000
    17.3 @@ -0,0 +1,2016 @@
    17.4 +From 9dd346ff431fc761f1b748bd4da8bb59f7652094 Mon Sep 17 00:00:00 2001
    17.5 +From: Joseph Myers <joseph@codesourcery.com>
    17.6 +Date: Tue, 20 Oct 2015 11:54:09 +0000
    17.7 +Subject: [PATCH] Convert 113 more function definitions to prototype style
    17.8 + (files with assertions).
    17.9 +
   17.10 +This mostly automatically-generated patch converts 113 function
   17.11 +definitions in glibc from old-style K&R to prototype-style.  Following
   17.12 +my other recent such patches, this one deals with the case of function
   17.13 +definitions in files that either contain assertions or where grep
   17.14 +suggested they might contain assertions - and thus where it isn't
   17.15 +possible to use a simple object code comparison as a sanity check on
   17.16 +the correctness of the patch, because line numbers are changed.
   17.17 +
   17.18 +A few such automatically-generated changes needed to be supplemented
   17.19 +by manual changes for the result to compile.  openat64 had a prototype
   17.20 +declaration with "..." but an old-style definition in
   17.21 +sysdeps/unix/sysv/linux/dl-openat64.c, and "..." needed adding to the
   17.22 +generated prototype in the definition (I've filed
   17.23 +<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68024> for diagnosing
   17.24 +such cases in GCC; the old state was undefined behavior not requiring
   17.25 +a diagnostic, but one seems a good idea).  In addition, as Florian has
   17.26 +noted regparm attribute mismatches between declaration and definition
   17.27 +are only diagnosed for prototype definitions, and five functions
   17.28 +needed internal_function added to their definitions (in the case of
   17.29 +__pthread_mutex_cond_lock, via the macro definition of
   17.30 +__pthread_mutex_lock) to compile on i386.
   17.31 +
   17.32 +After this patch is in, remaining old-style definitions are probably
   17.33 +most readily fixed manually before we can turn on
   17.34 +-Wold-style-definition for all builds.
   17.35 +
   17.36 +Tested for x86_64 and x86 (testsuite).
   17.37 +
   17.38 +	* crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
   17.39 +	function definition.
   17.40 +	* crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
   17.41 +	* crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
   17.42 +	* debug/backtracesyms.c (__backtrace_symbols): Likewise.
   17.43 +	* elf/dl-minimal.c (_itoa): Likewise.
   17.44 +	* hurd/hurdmalloc.c (malloc): Likewise.
   17.45 +	(free): Likewise.
   17.46 +	(realloc): Likewise.
   17.47 +	* inet/inet6_option.c (inet6_option_space): Likewise.
   17.48 +	(inet6_option_init): Likewise.
   17.49 +	(inet6_option_append): Likewise.
   17.50 +	(inet6_option_alloc): Likewise.
   17.51 +	(inet6_option_next): Likewise.
   17.52 +	(inet6_option_find): Likewise.
   17.53 +	* io/ftw.c (FTW_NAME): Likewise.
   17.54 +	(NFTW_NAME): Likewise.
   17.55 +	(NFTW_NEW_NAME): Likewise.
   17.56 +	(NFTW_OLD_NAME): Likewise.
   17.57 +	* libio/iofwide.c (_IO_fwide): Likewise.
   17.58 +	* libio/strops.c (_IO_str_init_static_internal): Likewise.
   17.59 +	(_IO_str_init_static): Likewise.
   17.60 +	(_IO_str_init_readonly): Likewise.
   17.61 +	(_IO_str_overflow): Likewise.
   17.62 +	(_IO_str_underflow): Likewise.
   17.63 +	(_IO_str_count): Likewise.
   17.64 +	(_IO_str_seekoff): Likewise.
   17.65 +	(_IO_str_pbackfail): Likewise.
   17.66 +	(_IO_str_finish): Likewise.
   17.67 +	* libio/wstrops.c (_IO_wstr_init_static): Likewise.
   17.68 +	(_IO_wstr_overflow): Likewise.
   17.69 +	(_IO_wstr_underflow): Likewise.
   17.70 +	(_IO_wstr_count): Likewise.
   17.71 +	(_IO_wstr_seekoff): Likewise.
   17.72 +	(_IO_wstr_pbackfail): Likewise.
   17.73 +	(_IO_wstr_finish): Likewise.
   17.74 +	* locale/programs/localedef.c (normalize_codeset): Likewise.
   17.75 +	* locale/programs/locarchive.c (add_locale_to_archive): Likewise.
   17.76 +	(add_locales_to_archive): Likewise.
   17.77 +	(delete_locales_from_archive): Likewise.
   17.78 +	* malloc/malloc.c (__libc_mallinfo): Likewise.
   17.79 +	* math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
   17.80 +	* misc/tsearch.c (__tfind): Likewise.
   17.81 +	* nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
   17.82 +	* nptl/pthread_attr_getdetachstate.c
   17.83 +	(__pthread_attr_getdetachstate): Likewise.
   17.84 +	* nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
   17.85 +	Likewise.
   17.86 +	* nptl/pthread_attr_getinheritsched.c
   17.87 +	(__pthread_attr_getinheritsched): Likewise.
   17.88 +	* nptl/pthread_attr_getschedparam.c
   17.89 +	(__pthread_attr_getschedparam): Likewise.
   17.90 +	* nptl/pthread_attr_getschedpolicy.c
   17.91 +	(__pthread_attr_getschedpolicy): Likewise.
   17.92 +	* nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
   17.93 +	Likewise.
   17.94 +	* nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
   17.95 +	Likewise.
   17.96 +	* nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
   17.97 +	Likewise.
   17.98 +	* nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
   17.99 +	Likewise.
  17.100 +	* nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
  17.101 +	(__pthread_attr_init_2_0): Likewise.
  17.102 +	* nptl/pthread_attr_setdetachstate.c
  17.103 +	(__pthread_attr_setdetachstate): Likewise.
  17.104 +	* nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
  17.105 +	Likewise.
  17.106 +	* nptl/pthread_attr_setinheritsched.c
  17.107 +	(__pthread_attr_setinheritsched): Likewise.
  17.108 +	* nptl/pthread_attr_setschedparam.c
  17.109 +	(__pthread_attr_setschedparam): Likewise.
  17.110 +	* nptl/pthread_attr_setschedpolicy.c
  17.111 +	(__pthread_attr_setschedpolicy): Likewise.
  17.112 +	* nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
  17.113 +	Likewise.
  17.114 +	* nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
  17.115 +	Likewise.
  17.116 +	* nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
  17.117 +	Likewise.
  17.118 +	* nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
  17.119 +	Likewise.
  17.120 +	* nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
  17.121 +	Likewise.
  17.122 +	* nptl/pthread_create.c (__find_in_stack_list): Likewise.
  17.123 +	* nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
  17.124 +	* nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
  17.125 +	use internal_function.
  17.126 +	* nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
  17.127 +	prototype-style function definition.
  17.128 +	* nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
  17.129 +	(__pthread_mutex_cond_lock_adjust): Likewise.  Use
  17.130 +	internal_function.
  17.131 +	* nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
  17.132 +	Convert to prototype-style function definition.
  17.133 +	* nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
  17.134 +	Likewise.
  17.135 +	* nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
  17.136 +	Likewise.
  17.137 +	(__pthread_mutex_unlock): Likewise.
  17.138 +	* nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
  17.139 +	* nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
  17.140 +	* nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
  17.141 +	* nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
  17.142 +	* nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
  17.143 +	* nss/makedb.c (process_input): Likewise.
  17.144 +	* posix/fnmatch.c (__strchrnul): Likewise.
  17.145 +	(__wcschrnul): Likewise.
  17.146 +	(fnmatch): Likewise.
  17.147 +	* posix/fnmatch_loop.c (FCT): Likewise.
  17.148 +	* posix/glob.c (globfree): Likewise.
  17.149 +	(__glob_pattern_type): Likewise.
  17.150 +	(__glob_pattern_p): Likewise.
  17.151 +	* posix/regcomp.c (re_compile_pattern): Likewise.
  17.152 +	(re_set_syntax): Likewise.
  17.153 +	(re_compile_fastmap): Likewise.
  17.154 +	(regcomp): Likewise.
  17.155 +	(regerror): Likewise.
  17.156 +	(regfree): Likewise.
  17.157 +	* posix/regexec.c (regexec): Likewise.
  17.158 +	(re_match): Likewise.
  17.159 +	(re_search): Likewise.
  17.160 +	(re_match_2): Likewise.
  17.161 +	(re_search_2): Likewise.
  17.162 +	(re_search_stub): Likewise.  Use internal_function
  17.163 +	(re_copy_regs): Likewise.
  17.164 +	(re_set_registers): Convert to prototype-style function
  17.165 +	definition.
  17.166 +	(prune_impossible_nodes): Likewise.  Use internal_function.
  17.167 +	* resolv/inet_net_pton.c (inet_net_pton): Convert to
  17.168 +	prototype-style function definition.
  17.169 +	(inet_net_pton_ipv4): Likewise.
  17.170 +	* stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
  17.171 +	* sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
  17.172 +	* sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
  17.173 +	* sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
  17.174 +	* sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
  17.175 +	Make variadic.
  17.176 +	* time/strptime_l.c (localtime_r): Convert to prototype-style
  17.177 +	function definition.
  17.178 +	* wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
  17.179 +	* wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
  17.180 +	* wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
  17.181 +	* wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
  17.182 +---
  17.183 + ChangeLog                             | 145 ++++++++++++++++++++++++++
  17.184 + crypt/md5-crypt.c                     |   6 +-
  17.185 + crypt/sha256-crypt.c                  |   6 +-
  17.186 + crypt/sha512-crypt.c                  |   6 +-
  17.187 + debug/backtracesyms.c                 |   4 +-
  17.188 + elf/dl-minimal.c                      |   7 +-
  17.189 + hurd/hurdmalloc.c                     |  10 +-
  17.190 + inet/inet6_option.c                   |  30 ++----
  17.191 + io/ftw.c                              |  23 +---
  17.192 + libio/iofwide.c                       |   4 +-
  17.193 + libio/strops.c                        |  42 ++------
  17.194 + libio/wstrops.c                       |  31 ++----
  17.195 + locale/programs/localedef.c           |   4 +-
  17.196 + locale/programs/locarchive.c          |  16 +--
  17.197 + malloc/malloc.c                       |   2 +-
  17.198 + math/gen-auto-libm-tests.c            |   2 +-
  17.199 + misc/tsearch.c                        |   5 +-
  17.200 + nptl/pthread_attr_destroy.c           |   3 +-
  17.201 + nptl/pthread_attr_getdetachstate.c    |   4 +-
  17.202 + nptl/pthread_attr_getguardsize.c      |   4 +-
  17.203 + nptl/pthread_attr_getinheritsched.c   |   4 +-
  17.204 + nptl/pthread_attr_getschedparam.c     |   5 +-
  17.205 + nptl/pthread_attr_getschedpolicy.c    |   4 +-
  17.206 + nptl/pthread_attr_getscope.c          |   4 +-
  17.207 + nptl/pthread_attr_getstack.c          |   6 +-
  17.208 + nptl/pthread_attr_getstackaddr.c      |   4 +-
  17.209 + nptl/pthread_attr_getstacksize.c      |   4 +-
  17.210 + nptl/pthread_attr_init.c              |   6 +-
  17.211 + nptl/pthread_attr_setdetachstate.c    |   4 +-
  17.212 + nptl/pthread_attr_setguardsize.c      |   4 +-
  17.213 + nptl/pthread_attr_setinheritsched.c   |   4 +-
  17.214 + nptl/pthread_attr_setschedparam.c     |   5 +-
  17.215 + nptl/pthread_attr_setschedpolicy.c    |   4 +-
  17.216 + nptl/pthread_attr_setscope.c          |   4 +-
  17.217 + nptl/pthread_attr_setstack.c          |   6 +-
  17.218 + nptl/pthread_attr_setstackaddr.c      |   4 +-
  17.219 + nptl/pthread_attr_setstacksize.c      |   4 +-
  17.220 + nptl/pthread_condattr_setclock.c      |   4 +-
  17.221 + nptl/pthread_create.c                 |   3 +-
  17.222 + nptl/pthread_getattr_np.c             |   4 +-
  17.223 + nptl/pthread_mutex_cond_lock.c        |   2 +-
  17.224 + nptl/pthread_mutex_init.c             |   5 +-
  17.225 + nptl/pthread_mutex_lock.c             |   7 +-
  17.226 + nptl/pthread_mutex_timedlock.c        |   5 +-
  17.227 + nptl/pthread_mutex_trylock.c          |   3 +-
  17.228 + nptl/pthread_mutex_unlock.c           |   7 +-
  17.229 + nptl_db/td_ta_clear_event.c           |   4 +-
  17.230 + nptl_db/td_ta_set_event.c             |   4 +-
  17.231 + nptl_db/td_thr_clear_event.c          |   4 +-
  17.232 + nptl_db/td_thr_event_enable.c         |   4 +-
  17.233 + nptl_db/td_thr_set_event.c            |   4 +-
  17.234 + nss/makedb.c                          |   6 +-
  17.235 + posix/fnmatch.c                       |  13 +--
  17.236 + posix/fnmatch_loop.c                  |  10 +-
  17.237 + posix/glob.c                          |  11 +-
  17.238 + posix/regcomp.c                       |  27 ++---
  17.239 + posix/regexec.c                       |  66 ++++--------
  17.240 + resolv/inet_net_pton.c                |  11 +-
  17.241 + stdlib/strtod_l.c                     |   7 +-
  17.242 + sysdeps/pthread/aio_cancel.c          |   4 +-
  17.243 + sysdeps/pthread/aio_suspend.c         |   6 +-
  17.244 + sysdeps/pthread/timer_delete.c        |   3 +-
  17.245 + sysdeps/unix/sysv/linux/dl-openat64.c |   5 +-
  17.246 + time/strptime_l.c                     |   4 +-
  17.247 + wcsmbs/mbsnrtowcs.c                   |   8 +-
  17.248 + wcsmbs/mbsrtowcs_l.c                  |   8 +-
  17.249 + wcsmbs/wcsnrtombs.c                   |   8 +-
  17.250 + wcsmbs/wcsrtombs.c                    |   6 +-
  17.251 + 68 files changed, 293 insertions(+), 400 deletions(-)
  17.252 +
  17.253 +diff --git a/ChangeLog b/ChangeLog
  17.254 +index 685fad5a8e..9e7c455c56 100644
  17.255 +--- a/ChangeLog
  17.256 ++++ b/ChangeLog
  17.257 +@@ -1,5 +1,150 @@
  17.258 + 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
  17.259 + 
  17.260 ++	* crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
  17.261 ++	function definition.
  17.262 ++	* crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
  17.263 ++	* crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
  17.264 ++	* debug/backtracesyms.c (__backtrace_symbols): Likewise.
  17.265 ++	* elf/dl-minimal.c (_itoa): Likewise.
  17.266 ++	* hurd/hurdmalloc.c (malloc): Likewise.
  17.267 ++	(free): Likewise.
  17.268 ++	(realloc): Likewise.
  17.269 ++	* inet/inet6_option.c (inet6_option_space): Likewise.
  17.270 ++	(inet6_option_init): Likewise.
  17.271 ++	(inet6_option_append): Likewise.
  17.272 ++	(inet6_option_alloc): Likewise.
  17.273 ++	(inet6_option_next): Likewise.
  17.274 ++	(inet6_option_find): Likewise.
  17.275 ++	* io/ftw.c (FTW_NAME): Likewise.
  17.276 ++	(NFTW_NAME): Likewise.
  17.277 ++	(NFTW_NEW_NAME): Likewise.
  17.278 ++	(NFTW_OLD_NAME): Likewise.
  17.279 ++	* libio/iofwide.c (_IO_fwide): Likewise.
  17.280 ++	* libio/strops.c (_IO_str_init_static_internal): Likewise.
  17.281 ++	(_IO_str_init_static): Likewise.
  17.282 ++	(_IO_str_init_readonly): Likewise.
  17.283 ++	(_IO_str_overflow): Likewise.
  17.284 ++	(_IO_str_underflow): Likewise.
  17.285 ++	(_IO_str_count): Likewise.
  17.286 ++	(_IO_str_seekoff): Likewise.
  17.287 ++	(_IO_str_pbackfail): Likewise.
  17.288 ++	(_IO_str_finish): Likewise.
  17.289 ++	* libio/wstrops.c (_IO_wstr_init_static): Likewise.
  17.290 ++	(_IO_wstr_overflow): Likewise.
  17.291 ++	(_IO_wstr_underflow): Likewise.
  17.292 ++	(_IO_wstr_count): Likewise.
  17.293 ++	(_IO_wstr_seekoff): Likewise.
  17.294 ++	(_IO_wstr_pbackfail): Likewise.
  17.295 ++	(_IO_wstr_finish): Likewise.
  17.296 ++	* locale/programs/localedef.c (normalize_codeset): Likewise.
  17.297 ++	* locale/programs/locarchive.c (add_locale_to_archive): Likewise.
  17.298 ++	(add_locales_to_archive): Likewise.
  17.299 ++	(delete_locales_from_archive): Likewise.
  17.300 ++	* malloc/malloc.c (__libc_mallinfo): Likewise.
  17.301 ++	* math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
  17.302 ++	* misc/tsearch.c (__tfind): Likewise.
  17.303 ++	* nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
  17.304 ++	* nptl/pthread_attr_getdetachstate.c
  17.305 ++	(__pthread_attr_getdetachstate): Likewise.
  17.306 ++	* nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
  17.307 ++	Likewise.
  17.308 ++	* nptl/pthread_attr_getinheritsched.c
  17.309 ++	(__pthread_attr_getinheritsched): Likewise.
  17.310 ++	* nptl/pthread_attr_getschedparam.c
  17.311 ++	(__pthread_attr_getschedparam): Likewise.
  17.312 ++	* nptl/pthread_attr_getschedpolicy.c
  17.313 ++	(__pthread_attr_getschedpolicy): Likewise.
  17.314 ++	* nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
  17.315 ++	Likewise.
  17.316 ++	* nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
  17.317 ++	Likewise.
  17.318 ++	* nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
  17.319 ++	Likewise.
  17.320 ++	* nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
  17.321 ++	Likewise.
  17.322 ++	* nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
  17.323 ++	(__pthread_attr_init_2_0): Likewise.
  17.324 ++	* nptl/pthread_attr_setdetachstate.c
  17.325 ++	(__pthread_attr_setdetachstate): Likewise.
  17.326 ++	* nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
  17.327 ++	Likewise.
  17.328 ++	* nptl/pthread_attr_setinheritsched.c
  17.329 ++	(__pthread_attr_setinheritsched): Likewise.
  17.330 ++	* nptl/pthread_attr_setschedparam.c
  17.331 ++	(__pthread_attr_setschedparam): Likewise.
  17.332 ++	* nptl/pthread_attr_setschedpolicy.c
  17.333 ++	(__pthread_attr_setschedpolicy): Likewise.
  17.334 ++	* nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
  17.335 ++	Likewise.
  17.336 ++	* nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
  17.337 ++	Likewise.
  17.338 ++	* nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
  17.339 ++	Likewise.
  17.340 ++	* nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
  17.341 ++	Likewise.
  17.342 ++	* nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
  17.343 ++	Likewise.
  17.344 ++	* nptl/pthread_create.c (__find_in_stack_list): Likewise.
  17.345 ++	* nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
  17.346 ++	* nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
  17.347 ++	use internal_function.
  17.348 ++	* nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
  17.349 ++	prototype-style function definition.
  17.350 ++	* nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
  17.351 ++	(__pthread_mutex_cond_lock_adjust): Likewise.  Use
  17.352 ++	internal_function.
  17.353 ++	* nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
  17.354 ++	Convert to prototype-style function definition.
  17.355 ++	* nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
  17.356 ++	Likewise.
  17.357 ++	* nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
  17.358 ++	Likewise.
  17.359 ++	(__pthread_mutex_unlock): Likewise.
  17.360 ++	* nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
  17.361 ++	* nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
  17.362 ++	* nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
  17.363 ++	* nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
  17.364 ++	* nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
  17.365 ++	* nss/makedb.c (process_input): Likewise.
  17.366 ++	* posix/fnmatch.c (__strchrnul): Likewise.
  17.367 ++	(__wcschrnul): Likewise.
  17.368 ++	(fnmatch): Likewise.
  17.369 ++	* posix/fnmatch_loop.c (FCT): Likewise.
  17.370 ++	* posix/glob.c (globfree): Likewise.
  17.371 ++	(__glob_pattern_type): Likewise.
  17.372 ++	(__glob_pattern_p): Likewise.
  17.373 ++	* posix/regcomp.c (re_compile_pattern): Likewise.
  17.374 ++	(re_set_syntax): Likewise.
  17.375 ++	(re_compile_fastmap): Likewise.
  17.376 ++	(regcomp): Likewise.
  17.377 ++	(regerror): Likewise.
  17.378 ++	(regfree): Likewise.
  17.379 ++	* posix/regexec.c (regexec): Likewise.
  17.380 ++	(re_match): Likewise.
  17.381 ++	(re_search): Likewise.
  17.382 ++	(re_match_2): Likewise.
  17.383 ++	(re_search_2): Likewise.
  17.384 ++	(re_search_stub): Likewise.  Use internal_function
  17.385 ++	(re_copy_regs): Likewise.
  17.386 ++	(re_set_registers): Convert to prototype-style function
  17.387 ++	definition.
  17.388 ++	(prune_impossible_nodes): Likewise.  Use internal_function.
  17.389 ++	* resolv/inet_net_pton.c (inet_net_pton): Convert to
  17.390 ++	prototype-style function definition.
  17.391 ++	(inet_net_pton_ipv4): Likewise.
  17.392 ++	* stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
  17.393 ++	* sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
  17.394 ++	* sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
  17.395 ++	* sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
  17.396 ++	* sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
  17.397 ++	Make variadic.
  17.398 ++	* time/strptime_l.c (localtime_r): Convert to prototype-style
  17.399 ++	function definition.
  17.400 ++	* wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
  17.401 ++	* wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
  17.402 ++	* wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
  17.403 ++	* wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
  17.404 ++
  17.405 + 	* crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
  17.406 + 	definition.
  17.407 + 	(_ufc_doit_r): Likewise.
  17.408 +diff --git a/crypt/md5-crypt.c b/crypt/md5-crypt.c
  17.409 +index 1b890bc49a..dad5942dba 100644
  17.410 +--- a/crypt/md5-crypt.c
  17.411 ++++ b/crypt/md5-crypt.c
  17.412 +@@ -89,11 +89,7 @@ extern char *__md5_crypt (const char *key, const char *salt);
  17.413 + /* This entry point is equivalent to the `crypt' function in Unix
  17.414 +    libcs.  */
  17.415 + char *
  17.416 +-__md5_crypt_r (key, salt, buffer, buflen)
  17.417 +-     const char *key;
  17.418 +-     const char *salt;
  17.419 +-     char *buffer;
  17.420 +-     int buflen;
  17.421 ++__md5_crypt_r (const char *key, const char *salt, char *buffer, int buflen)
  17.422 + {
  17.423 +   unsigned char alt_result[16]
  17.424 +     __attribute__ ((__aligned__ (__alignof__ (md5_uint32))));
  17.425 +diff --git a/crypt/sha256-crypt.c b/crypt/sha256-crypt.c
  17.426 +index d90e291aa7..96102e96c0 100644
  17.427 +--- a/crypt/sha256-crypt.c
  17.428 ++++ b/crypt/sha256-crypt.c
  17.429 +@@ -99,11 +99,7 @@ extern char *__sha256_crypt (const char *key, const char *salt);
  17.430 + 
  17.431 + 
  17.432 + char *
  17.433 +-__sha256_crypt_r (key, salt, buffer, buflen)
  17.434 +-     const char *key;
  17.435 +-     const char *salt;
  17.436 +-     char *buffer;
  17.437 +-     int buflen;
  17.438 ++__sha256_crypt_r (const char *key, const char *salt, char *buffer, int buflen)
  17.439 + {
  17.440 +   unsigned char alt_result[32]
  17.441 +     __attribute__ ((__aligned__ (__alignof__ (uint32_t))));
  17.442 +diff --git a/crypt/sha512-crypt.c b/crypt/sha512-crypt.c
  17.443 +index 9c581abb00..925749277a 100644
  17.444 +--- a/crypt/sha512-crypt.c
  17.445 ++++ b/crypt/sha512-crypt.c
  17.446 +@@ -99,11 +99,7 @@ extern char *__sha512_crypt (const char *key, const char *salt);
  17.447 + 
  17.448 + 
  17.449 + char *
  17.450 +-__sha512_crypt_r (key, salt, buffer, buflen)
  17.451 +-     const char *key;
  17.452 +-     const char *salt;
  17.453 +-     char *buffer;
  17.454 +-     int buflen;
  17.455 ++__sha512_crypt_r (const char *key, const char *salt, char *buffer, int buflen)
  17.456 + {
  17.457 +   unsigned char alt_result[64]
  17.458 +     __attribute__ ((__aligned__ (__alignof__ (uint64_t))));
  17.459 +diff --git a/debug/backtracesyms.c b/debug/backtracesyms.c
  17.460 +index 2c7305c81b..c25681b416 100644
  17.461 +--- a/debug/backtracesyms.c
  17.462 ++++ b/debug/backtracesyms.c
  17.463 +@@ -34,9 +34,7 @@
  17.464 + 
  17.465 + 
  17.466 + char **
  17.467 +-__backtrace_symbols (array, size)
  17.468 +-     void *const *array;
  17.469 +-     int size;
  17.470 ++__backtrace_symbols (void *const *array, int size)
  17.471 + {
  17.472 +   Dl_info info[size];
  17.473 +   int status[size];
  17.474 +diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c
  17.475 +index ec7fe88d30..9129e5b5f6 100644
  17.476 +--- a/elf/dl-minimal.c
  17.477 ++++ b/elf/dl-minimal.c
  17.478 +@@ -324,11 +324,8 @@ __strtoul_internal (const char *nptr, char **endptr, int base, int group)
  17.479 +    also has to be present and it is never about speed when these
  17.480 +    functions are used.  */
  17.481 + char *
  17.482 +-_itoa (value, buflim, base, upper_case)
  17.483 +-     unsigned long long int value;
  17.484 +-     char *buflim;
  17.485 +-     unsigned int base;
  17.486 +-     int upper_case;
  17.487 ++_itoa (unsigned long long int value, char *buflim, unsigned int base,
  17.488 ++       int upper_case)
  17.489 + {
  17.490 +   assert (! upper_case);
  17.491 + 
  17.492 +diff --git a/hurd/hurdmalloc.c b/hurd/hurdmalloc.c
  17.493 +index 071abeb718..58c29fa07d 100644
  17.494 +--- a/hurd/hurdmalloc.c
  17.495 ++++ b/hurd/hurdmalloc.c
  17.496 +@@ -202,8 +202,7 @@ more_memory(int size, free_list_t fl)
  17.497 + 
  17.498 + /* Declaration changed to standard one for GNU.  */
  17.499 + void *
  17.500 +-malloc(size)
  17.501 +-	size_t size;
  17.502 ++malloc (size_t size)
  17.503 + {
  17.504 + 	int i, n;
  17.505 + 	free_list_t fl;
  17.506 +@@ -269,8 +268,7 @@ malloc(size)
  17.507 + 
  17.508 + /* Declaration changed to standard one for GNU.  */
  17.509 + void
  17.510 +-free(base)
  17.511 +-	void *base;
  17.512 ++free (void *base)
  17.513 + {
  17.514 + 	header_t h;
  17.515 + 	free_list_t fl;
  17.516 +@@ -318,9 +316,7 @@ free(base)
  17.517 + 
  17.518 + /* Declaration changed to standard one for GNU.  */
  17.519 + void *
  17.520 +-realloc(old_base, new_size)
  17.521 +-        void *old_base;
  17.522 +-        size_t new_size;
  17.523 ++realloc (void *old_base, size_t new_size)
  17.524 + {
  17.525 + 	header_t h;
  17.526 + 	free_list_t fl;
  17.527 +diff --git a/inet/inet6_option.c b/inet/inet6_option.c
  17.528 +index 47ca82ffdc..070be3f9a6 100644
  17.529 +--- a/inet/inet6_option.c
  17.530 ++++ b/inet/inet6_option.c
  17.531 +@@ -88,8 +88,7 @@ static uint8_t *option_alloc (struct cmsghdr *cmsg, int datalen, int multx,
  17.532 +    beginning (the value y in the alignment term "xn + y"), the type
  17.533 +    byte, the length byte, and the option data.  */
  17.534 + int
  17.535 +-inet6_option_space (nbytes)
  17.536 +-     int nbytes;
  17.537 ++inet6_option_space (int nbytes)
  17.538 + {
  17.539 +   /* Add room for the extension header.  */
  17.540 +   nbytes += sizeof (struct ip6_ext);
  17.541 +@@ -106,10 +105,7 @@ link_warning (inet6_option_space,
  17.542 +    contain either Hop-by-Hop or Destination options.  It returns 0 on
  17.543 +    success or -1 on an error.  */
  17.544 + int
  17.545 +-inet6_option_init (bp, cmsgp, type)
  17.546 +-     void *bp;
  17.547 +-     struct cmsghdr **cmsgp;
  17.548 +-     int type;
  17.549 ++inet6_option_init (void *bp, struct cmsghdr **cmsgp, int type)
  17.550 + {
  17.551 +   /* Only Hop-by-Hop or Destination options allowed.  */
  17.552 +   if (type != IPV6_HOPOPTS && type != IPV6_DSTOPTS)
  17.553 +@@ -143,11 +139,8 @@ link_warning (inet6_option_init,
  17.554 +    inet6_option_init().  This function returns 0 if it succeeds or -1 on
  17.555 +    an error.  */
  17.556 + int
  17.557 +-inet6_option_append (cmsg, typep, multx, plusy)
  17.558 +-     struct cmsghdr *cmsg;
  17.559 +-     const uint8_t *typep;
  17.560 +-     int multx;
  17.561 +-     int plusy;
  17.562 ++inet6_option_append (struct cmsghdr *cmsg, const uint8_t *typep, int multx,
  17.563 ++		     int plusy)
  17.564 + {
  17.565 +   /* typep is a pointer to the 8-bit option type.  It is assumed that this
  17.566 +      field is immediately followed by the 8-bit option data length field,
  17.567 +@@ -223,11 +216,7 @@ option_alloc (struct cmsghdr *cmsg, int datalen, int multx, int plusy)
  17.568 + 
  17.569 + 
  17.570 + uint8_t *
  17.571 +-inet6_option_alloc (cmsg, datalen, multx, plusy)
  17.572 +-     struct cmsghdr *cmsg;
  17.573 +-     int datalen;
  17.574 +-     int multx;
  17.575 +-     int plusy;
  17.576 ++inet6_option_alloc (struct cmsghdr *cmsg, int datalen, int multx, int plusy)
  17.577 + {
  17.578 +   return option_alloc (cmsg, datalen, multx, plusy);
  17.579 + }
  17.580 +@@ -245,9 +234,7 @@ link_warning (inet6_option_alloc,
  17.581 +    to be processed, the return value is -1 and *tptrp is NULL.  If an
  17.582 +    error occurs, the return value is -1 and *tptrp is not NULL.  */
  17.583 + int
  17.584 +-inet6_option_next (cmsg, tptrp)
  17.585 +-     const struct cmsghdr *cmsg;
  17.586 +-     uint8_t **tptrp;
  17.587 ++inet6_option_next (const struct cmsghdr *cmsg, uint8_t **tptrp)
  17.588 + {
  17.589 +   /* Make sure it is an option of the right type.  */
  17.590 +   if (cmsg->cmsg_level != IPPROTO_IPV6
  17.591 +@@ -303,10 +290,7 @@ link_warning (inet6_option_next,
  17.592 +    pointer to cmsghdr structure of which cmsg_level equals IPPROTO_IPV6
  17.593 +    and cmsg_type equals either IPV6_HOPOPTS or IPV6_DSTOPTS.  */
  17.594 + int
  17.595 +-inet6_option_find (cmsg, tptrp, type)
  17.596 +-     const struct cmsghdr *cmsg;
  17.597 +-     uint8_t **tptrp;
  17.598 +-     int type;
  17.599 ++inet6_option_find (const struct cmsghdr *cmsg, uint8_t **tptrp, int type)
  17.600 + {
  17.601 +   /* Make sure it is an option of the right type.  */
  17.602 +   if (cmsg->cmsg_level != IPPROTO_IPV6
  17.603 +diff --git a/io/ftw.c b/io/ftw.c
  17.604 +index b95da60bb0..beffba4630 100644
  17.605 +--- a/io/ftw.c
  17.606 ++++ b/io/ftw.c
  17.607 +@@ -817,21 +817,14 @@ ftw_startup (const char *dir, int is_nftw, void *func, int descriptors,
  17.608 + /* Entry points.  */
  17.609 + 
  17.610 + int
  17.611 +-FTW_NAME (path, func, descriptors)
  17.612 +-     const char *path;
  17.613 +-     FTW_FUNC_T func;
  17.614 +-     int descriptors;
  17.615 ++FTW_NAME (const char *path, FTW_FUNC_T func, int descriptors)
  17.616 + {
  17.617 +   return ftw_startup (path, 0, func, descriptors, 0);
  17.618 + }
  17.619 + 
  17.620 + #ifndef _LIBC
  17.621 + int
  17.622 +-NFTW_NAME (path, func, descriptors, flags)
  17.623 +-     const char *path;
  17.624 +-     NFTW_FUNC_T func;
  17.625 +-     int descriptors;
  17.626 +-     int flags;
  17.627 ++NFTW_NAME (const char *path, NFTW_FUNC_T func, int descriptors, int flags)
  17.628 + {
  17.629 +   return ftw_startup (path, 1, func, descriptors, flags);
  17.630 + }
  17.631 +@@ -842,11 +835,7 @@ NFTW_NAME (path, func, descriptors, flags)
  17.632 + int NFTW_NEW_NAME (const char *, NFTW_FUNC_T, int, int);
  17.633 + 
  17.634 + int
  17.635 +-NFTW_NEW_NAME (path, func, descriptors, flags)
  17.636 +-     const char *path;
  17.637 +-     NFTW_FUNC_T func;
  17.638 +-     int descriptors;
  17.639 +-     int flags;
  17.640 ++NFTW_NEW_NAME (const char *path, NFTW_FUNC_T func, int descriptors, int flags)
  17.641 + {
  17.642 +   if (flags
  17.643 +       & ~(FTW_PHYS | FTW_MOUNT | FTW_CHDIR | FTW_DEPTH | FTW_ACTIONRETVAL))
  17.644 +@@ -867,11 +856,7 @@ int NFTW_OLD_NAME (const char *, NFTW_FUNC_T, int, int);
  17.645 + 
  17.646 + int
  17.647 + attribute_compat_text_section
  17.648 +-NFTW_OLD_NAME (path, func, descriptors, flags)
  17.649 +-     const char *path;
  17.650 +-     NFTW_FUNC_T func;
  17.651 +-     int descriptors;
  17.652 +-     int flags;
  17.653 ++NFTW_OLD_NAME (const char *path, NFTW_FUNC_T func, int descriptors, int flags)
  17.654 + {
  17.655 +   flags &= (FTW_PHYS | FTW_MOUNT | FTW_CHDIR | FTW_DEPTH);
  17.656 +   return ftw_startup (path, 1, func, descriptors, flags);
  17.657 +diff --git a/libio/iofwide.c b/libio/iofwide.c
  17.658 +index 0c175d19d1..f48ebe1e2f 100644
  17.659 +--- a/libio/iofwide.c
  17.660 ++++ b/libio/iofwide.c
  17.661 +@@ -85,9 +85,7 @@ const struct _IO_codecvt __libio_codecvt =
  17.662 +    the orientation first.  */
  17.663 + #undef _IO_fwide
  17.664 + int
  17.665 +-_IO_fwide (fp, mode)
  17.666 +-     _IO_FILE *fp;
  17.667 +-     int mode;
  17.668 ++_IO_fwide (_IO_FILE *fp, int mode)
  17.669 + {
  17.670 +   /* Normalize the value.  */
  17.671 +   mode = mode < 0 ? -1 : (mode == 0 ? 0 : 1);
  17.672 +diff --git a/libio/strops.c b/libio/strops.c
  17.673 +index 730dfc4ae1..aa5e700222 100644
  17.674 +--- a/libio/strops.c
  17.675 ++++ b/libio/strops.c
  17.676 +@@ -31,11 +31,8 @@
  17.677 + #include <stdio_ext.h>
  17.678 + 
  17.679 + void
  17.680 +-_IO_str_init_static_internal (sf, ptr, size, pstart)
  17.681 +-     _IO_strfile *sf;
  17.682 +-     char *ptr;
  17.683 +-     _IO_size_t size;
  17.684 +-     char *pstart;
  17.685 ++_IO_str_init_static_internal (_IO_strfile *sf, char *ptr, _IO_size_t size,
  17.686 ++			      char *pstart)
  17.687 + {
  17.688 +   _IO_FILE *fp = &sf->_sbf._f;
  17.689 +   char *end;
  17.690 +@@ -68,29 +65,20 @@ _IO_str_init_static_internal (sf, ptr, size, pstart)
  17.691 + }
  17.692 + 
  17.693 + void
  17.694 +-_IO_str_init_static (sf, ptr, size, pstart)
  17.695 +-     _IO_strfile *sf;
  17.696 +-     char *ptr;
  17.697 +-     int size;
  17.698 +-     char *pstart;
  17.699 ++_IO_str_init_static (_IO_strfile *sf, char *ptr, int size, char *pstart)
  17.700 + {
  17.701 +   return _IO_str_init_static_internal (sf, ptr, size < 0 ? -1 : size, pstart);
  17.702 + }
  17.703 + 
  17.704 + void
  17.705 +-_IO_str_init_readonly (sf, ptr, size)
  17.706 +-     _IO_strfile *sf;
  17.707 +-     const char *ptr;
  17.708 +-     int size;
  17.709 ++_IO_str_init_readonly (_IO_strfile *sf, const char *ptr, int size)
  17.710 + {
  17.711 +   _IO_str_init_static_internal (sf, (char *) ptr, size < 0 ? -1 : size, NULL);
  17.712 +   sf->_sbf._f._IO_file_flags |= _IO_NO_WRITES;
  17.713 + }
  17.714 + 
  17.715 + int
  17.716 +-_IO_str_overflow (fp, c)
  17.717 +-     _IO_FILE *fp;
  17.718 +-     int c;
  17.719 ++_IO_str_overflow (_IO_FILE *fp, int c)
  17.720 + {
  17.721 +   int flush_only = c == EOF;
  17.722 +   _IO_size_t pos;
  17.723 +@@ -151,8 +139,7 @@ _IO_str_overflow (fp, c)
  17.724 + libc_hidden_def (_IO_str_overflow)
  17.725 + 
  17.726 + int
  17.727 +-_IO_str_underflow (fp)
  17.728 +-     _IO_FILE *fp;
  17.729 ++_IO_str_underflow (_IO_FILE *fp)
  17.730 + {
  17.731 +   if (fp->_IO_write_ptr > fp->_IO_read_end)
  17.732 +     fp->_IO_read_end = fp->_IO_write_ptr;
  17.733 +@@ -172,8 +159,7 @@ libc_hidden_def (_IO_str_underflow)
  17.734 + /* The size of the valid part of the buffer.  */
  17.735 + 
  17.736 + _IO_ssize_t
  17.737 +-_IO_str_count (fp)
  17.738 +-     _IO_FILE *fp;
  17.739 ++_IO_str_count (_IO_FILE *fp)
  17.740 + {
  17.741 +   return ((fp->_IO_write_ptr > fp->_IO_read_end
  17.742 + 	   ? fp->_IO_write_ptr : fp->_IO_read_end)
  17.743 +@@ -246,11 +232,7 @@ enlarge_userbuf (_IO_FILE *fp, _IO_off64_t offset, int reading)
  17.744 + 
  17.745 + 
  17.746 + _IO_off64_t
  17.747 +-_IO_str_seekoff (fp, offset, dir, mode)
  17.748 +-     _IO_FILE *fp;
  17.749 +-     _IO_off64_t offset;
  17.750 +-     int dir;
  17.751 +-     int mode;
  17.752 ++_IO_str_seekoff (_IO_FILE *fp, _IO_off64_t offset, int dir, int mode)
  17.753 + {
  17.754 +   _IO_off64_t new_pos;
  17.755 + 
  17.756 +@@ -323,9 +305,7 @@ _IO_str_seekoff (fp, offset, dir, mode)
  17.757 + libc_hidden_def (_IO_str_seekoff)
  17.758 + 
  17.759 + int
  17.760 +-_IO_str_pbackfail (fp, c)
  17.761 +-     _IO_FILE *fp;
  17.762 +-     int c;
  17.763 ++_IO_str_pbackfail (_IO_FILE *fp, int c)
  17.764 + {
  17.765 +   if ((fp->_flags & _IO_NO_WRITES) && c != EOF)
  17.766 +     return EOF;
  17.767 +@@ -334,9 +314,7 @@ _IO_str_pbackfail (fp, c)
  17.768 + libc_hidden_def (_IO_str_pbackfail)
  17.769 + 
  17.770 + void
  17.771 +-_IO_str_finish (fp, dummy)
  17.772 +-     _IO_FILE *fp;
  17.773 +-     int dummy;
  17.774 ++_IO_str_finish (_IO_FILE *fp, int dummy)
  17.775 + {
  17.776 +   if (fp->_IO_buf_base && !(fp->_flags & _IO_USER_BUF))
  17.777 +     (((_IO_strfile *) fp)->_s._free_buffer) (fp->_IO_buf_base);
  17.778 +diff --git a/libio/wstrops.c b/libio/wstrops.c
  17.779 +index 3993579bd1..eeb9fb20d8 100644
  17.780 +--- a/libio/wstrops.c
  17.781 ++++ b/libio/wstrops.c
  17.782 +@@ -32,11 +32,8 @@
  17.783 + #include <stdio_ext.h>
  17.784 + 
  17.785 + void
  17.786 +-_IO_wstr_init_static (fp, ptr, size, pstart)
  17.787 +-     _IO_FILE *fp;
  17.788 +-     wchar_t *ptr;
  17.789 +-     _IO_size_t size;
  17.790 +-     wchar_t *pstart;
  17.791 ++_IO_wstr_init_static (_IO_FILE *fp, wchar_t *ptr, _IO_size_t size,
  17.792 ++		      wchar_t *pstart)
  17.793 + {
  17.794 +   wchar_t *end;
  17.795 + 
  17.796 +@@ -70,9 +67,7 @@ _IO_wstr_init_static (fp, ptr, size, pstart)
  17.797 + }
  17.798 + 
  17.799 + _IO_wint_t
  17.800 +-_IO_wstr_overflow (fp, c)
  17.801 +-     _IO_FILE *fp;
  17.802 +-     _IO_wint_t c;
  17.803 ++_IO_wstr_overflow (_IO_FILE *fp, _IO_wint_t c)
  17.804 + {
  17.805 +   int flush_only = c == WEOF;
  17.806 +   _IO_size_t pos;
  17.807 +@@ -142,8 +137,7 @@ _IO_wstr_overflow (fp, c)
  17.808 + 
  17.809 + 
  17.810 + _IO_wint_t
  17.811 +-_IO_wstr_underflow (fp)
  17.812 +-     _IO_FILE *fp;
  17.813 ++_IO_wstr_underflow (_IO_FILE *fp)
  17.814 + {
  17.815 +   if (fp->_wide_data->_IO_write_ptr > fp->_wide_data->_IO_read_end)
  17.816 +     fp->_wide_data->_IO_read_end = fp->_wide_data->_IO_write_ptr;
  17.817 +@@ -162,8 +156,7 @@ _IO_wstr_underflow (fp)
  17.818 + 
  17.819 + /* The size of the valid part of the buffer.  */
  17.820 + _IO_ssize_t
  17.821 +-_IO_wstr_count (fp)
  17.822 +-     _IO_FILE *fp;
  17.823 ++_IO_wstr_count (_IO_FILE *fp)
  17.824 + {
  17.825 +   struct _IO_wide_data *wd = fp->_wide_data;
  17.826 + 
  17.827 +@@ -244,11 +237,7 @@ enlarge_userbuf (_IO_FILE *fp, _IO_off64_t offset, int reading)
  17.828 + 
  17.829 + 
  17.830 + _IO_off64_t
  17.831 +-_IO_wstr_seekoff (fp, offset, dir, mode)
  17.832 +-     _IO_FILE *fp;
  17.833 +-     _IO_off64_t offset;
  17.834 +-     int dir;
  17.835 +-     int mode;
  17.836 ++_IO_wstr_seekoff (_IO_FILE *fp, _IO_off64_t offset, int dir, int mode)
  17.837 + {
  17.838 +   _IO_off64_t new_pos;
  17.839 + 
  17.840 +@@ -326,9 +315,7 @@ _IO_wstr_seekoff (fp, offset, dir, mode)
  17.841 + }
  17.842 + 
  17.843 + _IO_wint_t
  17.844 +-_IO_wstr_pbackfail (fp, c)
  17.845 +-     _IO_FILE *fp;
  17.846 +-     _IO_wint_t c;
  17.847 ++_IO_wstr_pbackfail (_IO_FILE *fp, _IO_wint_t c)
  17.848 + {
  17.849 +   if ((fp->_flags & _IO_NO_WRITES) && c != WEOF)
  17.850 +     return WEOF;
  17.851 +@@ -336,9 +323,7 @@ _IO_wstr_pbackfail (fp, c)
  17.852 + }
  17.853 + 
  17.854 + void
  17.855 +-_IO_wstr_finish (fp, dummy)
  17.856 +-     _IO_FILE *fp;
  17.857 +-     int dummy;
  17.858 ++_IO_wstr_finish (_IO_FILE *fp, int dummy)
  17.859 + {
  17.860 +   if (fp->_wide_data->_IO_buf_base && !(fp->_flags2 & _IO_FLAGS2_USER_WBUF))
  17.861 +     (((_IO_strfile *) fp)->_s._free_buffer) (fp->_wide_data->_IO_buf_base);
  17.862 +diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c
  17.863 +index 06fca12094..c8da20b813 100644
  17.864 +--- a/locale/programs/localedef.c
  17.865 ++++ b/locale/programs/localedef.c
  17.866 +@@ -504,9 +504,7 @@ construct_output_path (char *path)
  17.867 +    names.  Normalization allows the user to use any of the common
  17.868 +    names.  */
  17.869 + static const char *
  17.870 +-normalize_codeset (codeset, name_len)
  17.871 +-     const char *codeset;
  17.872 +-     size_t name_len;
  17.873 ++normalize_codeset (const char *codeset, size_t name_len)
  17.874 + {
  17.875 +   int len = 0;
  17.876 +   int only_digit = 1;
  17.877 +diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c
  17.878 +index 49f7f1b3cf..345f9b70e2 100644
  17.879 +--- a/locale/programs/locarchive.c
  17.880 ++++ b/locale/programs/locarchive.c
  17.881 +@@ -1127,11 +1127,8 @@ add_locale (struct locarhandle *ah,
  17.882 +    of the files if necessary.  Add all the names, possibly overwriting
  17.883 +    old files.  */
  17.884 + int
  17.885 +-add_locale_to_archive (ah, name, data, replace)
  17.886 +-     struct locarhandle *ah;
  17.887 +-     const char *name;
  17.888 +-     locale_data_t data;
  17.889 +-     bool replace;
  17.890 ++add_locale_to_archive (struct locarhandle *ah, const char *name,
  17.891 ++		       locale_data_t data, bool replace)
  17.892 + {
  17.893 +   char *normalized_name = NULL;
  17.894 +   uint32_t locrec_offset;
  17.895 +@@ -1329,10 +1326,7 @@ add_locale_to_archive (ah, name, data, replace)
  17.896 + 
  17.897 + 
  17.898 + int
  17.899 +-add_locales_to_archive (nlist, list, replace)
  17.900 +-     size_t nlist;
  17.901 +-     char *list[];
  17.902 +-     bool replace;
  17.903 ++add_locales_to_archive (size_t nlist, char *list[], bool replace)
  17.904 + {
  17.905 +   struct locarhandle ah;
  17.906 +   int result = 0;
  17.907 +@@ -1529,9 +1523,7 @@ add_locales_to_archive (nlist, list, replace)
  17.908 + 
  17.909 + 
  17.910 + int
  17.911 +-delete_locales_from_archive (nlist, list)
  17.912 +-     size_t nlist;
  17.913 +-     char *list[];
  17.914 ++delete_locales_from_archive (size_t nlist, char *list[])
  17.915 + {
  17.916 +   struct locarhandle ah;
  17.917 +   struct locarhead *head;
  17.918 +diff --git a/malloc/malloc.c b/malloc/malloc.c
  17.919 +index 0eca9ce0e2..9371b5a224 100644
  17.920 +--- a/malloc/malloc.c
  17.921 ++++ b/malloc/malloc.c
  17.922 +@@ -4667,7 +4667,7 @@ int_mallinfo (mstate av, struct mallinfo *m)
  17.923 + 
  17.924 + 
  17.925 + struct mallinfo
  17.926 +-__libc_mallinfo ()
  17.927 ++__libc_mallinfo (void)
  17.928 + {
  17.929 +   struct mallinfo m;
  17.930 +   mstate ar_ptr;
  17.931 +diff --git a/math/gen-auto-libm-tests.c b/math/gen-auto-libm-tests.c
  17.932 +index 465f7c602c..03ec6c4987 100644
  17.933 +--- a/math/gen-auto-libm-tests.c
  17.934 ++++ b/math/gen-auto-libm-tests.c
  17.935 +@@ -675,7 +675,7 @@ generic_value_copy (generic_value *dest, const generic_value *src)
  17.936 + /* Initialize data for floating-point formats.  */
  17.937 + 
  17.938 + static void
  17.939 +-init_fp_formats ()
  17.940 ++init_fp_formats (void)
  17.941 + {
  17.942 +   int global_max_exp = 0, global_min_subnorm_exp = 0;
  17.943 +   for (fp_format f = fp_first_format; f < fp_num_formats; f++)
  17.944 +diff --git a/misc/tsearch.c b/misc/tsearch.c
  17.945 +index 869dc9bec7..5b9276c9f2 100644
  17.946 +--- a/misc/tsearch.c
  17.947 ++++ b/misc/tsearch.c
  17.948 +@@ -301,10 +301,7 @@ weak_alias (__tsearch, tsearch)
  17.949 +    KEY is the key to be located, ROOTP is the address of tree root,
  17.950 +    COMPAR the ordering function.  */
  17.951 + void *
  17.952 +-__tfind (key, vrootp, compar)
  17.953 +-     const void *key;
  17.954 +-     void *const *vrootp;
  17.955 +-     __compar_fn_t compar;
  17.956 ++__tfind (const void *key, void *const *vrootp, __compar_fn_t compar)
  17.957 + {
  17.958 +   node *rootp = (node *) vrootp;
  17.959 + 
  17.960 +diff --git a/nptl/pthread_attr_destroy.c b/nptl/pthread_attr_destroy.c
  17.961 +index 72ee19eca9..f2701c8bb3 100644
  17.962 +--- a/nptl/pthread_attr_destroy.c
  17.963 ++++ b/nptl/pthread_attr_destroy.c
  17.964 +@@ -24,8 +24,7 @@
  17.965 + #include <shlib-compat.h>
  17.966 + 
  17.967 + int
  17.968 +-__pthread_attr_destroy (attr)
  17.969 +-     pthread_attr_t *attr;
  17.970 ++__pthread_attr_destroy (pthread_attr_t *attr)
  17.971 + {
  17.972 +   struct pthread_attr *iattr;
  17.973 + 
  17.974 +diff --git a/nptl/pthread_attr_getdetachstate.c b/nptl/pthread_attr_getdetachstate.c
  17.975 +index 92d683dc5c..8cc78785de 100644
  17.976 +--- a/nptl/pthread_attr_getdetachstate.c
  17.977 ++++ b/nptl/pthread_attr_getdetachstate.c
  17.978 +@@ -21,9 +21,7 @@
  17.979 + 
  17.980 + 
  17.981 + int
  17.982 +-__pthread_attr_getdetachstate (attr, detachstate)
  17.983 +-     const pthread_attr_t *attr;
  17.984 +-     int *detachstate;
  17.985 ++__pthread_attr_getdetachstate (const pthread_attr_t *attr, int *detachstate)
  17.986 + {
  17.987 +   struct pthread_attr *iattr;
  17.988 + 
  17.989 +diff --git a/nptl/pthread_attr_getguardsize.c b/nptl/pthread_attr_getguardsize.c
  17.990 +index 83cb8016ea..b05b36ecfb 100644
  17.991 +--- a/nptl/pthread_attr_getguardsize.c
  17.992 ++++ b/nptl/pthread_attr_getguardsize.c
  17.993 +@@ -21,9 +21,7 @@
  17.994 + 
  17.995 + 
  17.996 + int
  17.997 +-pthread_attr_getguardsize (attr, guardsize)
  17.998 +-     const pthread_attr_t *attr;
  17.999 +-     size_t *guardsize;
 17.1000 ++pthread_attr_getguardsize (const pthread_attr_t *attr, size_t *guardsize)
 17.1001 + {
 17.1002 +   struct pthread_attr *iattr;
 17.1003 + 
 17.1004 +diff --git a/nptl/pthread_attr_getinheritsched.c b/nptl/pthread_attr_getinheritsched.c
 17.1005 +index 9a0e8e6b8f..ed3435e020 100644
 17.1006 +--- a/nptl/pthread_attr_getinheritsched.c
 17.1007 ++++ b/nptl/pthread_attr_getinheritsched.c
 17.1008 +@@ -21,9 +21,7 @@
 17.1009 + 
 17.1010 + 
 17.1011 + int
 17.1012 +-__pthread_attr_getinheritsched (attr, inherit)
 17.1013 +-     const pthread_attr_t *attr;
 17.1014 +-     int *inherit;
 17.1015 ++__pthread_attr_getinheritsched (const pthread_attr_t *attr, int *inherit)
 17.1016 + {
 17.1017 +   struct pthread_attr *iattr;
 17.1018 + 
 17.1019 +diff --git a/nptl/pthread_attr_getschedparam.c b/nptl/pthread_attr_getschedparam.c
 17.1020 +index 3f38bd711d..3c9dffa6d3 100644
 17.1021 +--- a/nptl/pthread_attr_getschedparam.c
 17.1022 ++++ b/nptl/pthread_attr_getschedparam.c
 17.1023 +@@ -22,9 +22,8 @@
 17.1024 + 
 17.1025 + 
 17.1026 + int
 17.1027 +-__pthread_attr_getschedparam (attr, param)
 17.1028 +-     const pthread_attr_t *attr;
 17.1029 +-     struct sched_param *param;
 17.1030 ++__pthread_attr_getschedparam (const pthread_attr_t *attr,
 17.1031 ++			      struct sched_param *param)
 17.1032 + {
 17.1033 +   struct pthread_attr *iattr;
 17.1034 + 
 17.1035 +diff --git a/nptl/pthread_attr_getschedpolicy.c b/nptl/pthread_attr_getschedpolicy.c
 17.1036 +index 19996a68de..10728c364d 100644
 17.1037 +--- a/nptl/pthread_attr_getschedpolicy.c
 17.1038 ++++ b/nptl/pthread_attr_getschedpolicy.c
 17.1039 +@@ -21,9 +21,7 @@
 17.1040 + 
 17.1041 + 
 17.1042 + int
 17.1043 +-__pthread_attr_getschedpolicy (attr, policy)
 17.1044 +-     const pthread_attr_t *attr;
 17.1045 +-     int *policy;
 17.1046 ++__pthread_attr_getschedpolicy (const pthread_attr_t *attr, int *policy)
 17.1047 + {
 17.1048 +   struct pthread_attr *iattr;
 17.1049 + 
 17.1050 +diff --git a/nptl/pthread_attr_getscope.c b/nptl/pthread_attr_getscope.c
 17.1051 +index e72247a99a..e704161caf 100644
 17.1052 +--- a/nptl/pthread_attr_getscope.c
 17.1053 ++++ b/nptl/pthread_attr_getscope.c
 17.1054 +@@ -21,9 +21,7 @@
 17.1055 + 
 17.1056 + 
 17.1057 + int
 17.1058 +-__pthread_attr_getscope (attr, scope)
 17.1059 +-     const pthread_attr_t *attr;
 17.1060 +-     int *scope;
 17.1061 ++__pthread_attr_getscope (const pthread_attr_t *attr, int *scope)
 17.1062 + {
 17.1063 +   struct pthread_attr *iattr;
 17.1064 + 
 17.1065 +diff --git a/nptl/pthread_attr_getstack.c b/nptl/pthread_attr_getstack.c
 17.1066 +index 96c15c58ad..4cedcc5fd2 100644
 17.1067 +--- a/nptl/pthread_attr_getstack.c
 17.1068 ++++ b/nptl/pthread_attr_getstack.c
 17.1069 +@@ -21,10 +21,8 @@
 17.1070 + 
 17.1071 + 
 17.1072 + int
 17.1073 +-__pthread_attr_getstack (attr, stackaddr, stacksize)
 17.1074 +-     const pthread_attr_t *attr;
 17.1075 +-     void **stackaddr;
 17.1076 +-     size_t *stacksize;
 17.1077 ++__pthread_attr_getstack (const pthread_attr_t *attr, void **stackaddr,
 17.1078 ++			 size_t *stacksize)
 17.1079 + {
 17.1080 +   struct pthread_attr *iattr;
 17.1081 + 
 17.1082 +diff --git a/nptl/pthread_attr_getstackaddr.c b/nptl/pthread_attr_getstackaddr.c
 17.1083 +index 9c85cec202..bceab68b58 100644
 17.1084 +--- a/nptl/pthread_attr_getstackaddr.c
 17.1085 ++++ b/nptl/pthread_attr_getstackaddr.c
 17.1086 +@@ -22,9 +22,7 @@
 17.1087 + 
 17.1088 + 
 17.1089 + int
 17.1090 +-__pthread_attr_getstackaddr (attr, stackaddr)
 17.1091 +-     const pthread_attr_t *attr;
 17.1092 +-     void **stackaddr;
 17.1093 ++__pthread_attr_getstackaddr (const pthread_attr_t *attr, void **stackaddr)
 17.1094 + {
 17.1095 +   struct pthread_attr *iattr;
 17.1096 + 
 17.1097 +diff --git a/nptl/pthread_attr_getstacksize.c b/nptl/pthread_attr_getstacksize.c
 17.1098 +index ab18c27ae0..b48e1d06af 100644
 17.1099 +--- a/nptl/pthread_attr_getstacksize.c
 17.1100 ++++ b/nptl/pthread_attr_getstacksize.c
 17.1101 +@@ -21,9 +21,7 @@
 17.1102 + 
 17.1103 + 
 17.1104 + int
 17.1105 +-__pthread_attr_getstacksize (attr, stacksize)
 17.1106 +-     const pthread_attr_t *attr;
 17.1107 +-     size_t *stacksize;
 17.1108 ++__pthread_attr_getstacksize (const pthread_attr_t *attr, size_t *stacksize)
 17.1109 + {
 17.1110 +   struct pthread_attr *iattr;
 17.1111 + 
 17.1112 +diff --git a/nptl/pthread_attr_init.c b/nptl/pthread_attr_init.c
 17.1113 +index 89bec2959b..3780b625c3 100644
 17.1114 +--- a/nptl/pthread_attr_init.c
 17.1115 ++++ b/nptl/pthread_attr_init.c
 17.1116 +@@ -30,8 +30,7 @@ int __attr_list_lock = LLL_LOCK_INITIALIZER;
 17.1117 + 
 17.1118 + 
 17.1119 + int
 17.1120 +-__pthread_attr_init_2_1 (attr)
 17.1121 +-     pthread_attr_t *attr;
 17.1122 ++__pthread_attr_init_2_1 (pthread_attr_t *attr)
 17.1123 + {
 17.1124 +   struct pthread_attr *iattr;
 17.1125 + 
 17.1126 +@@ -54,8 +53,7 @@ versioned_symbol (libpthread, __pthread_attr_init_2_1, pthread_attr_init,
 17.1127 + 
 17.1128 + #if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
 17.1129 + int
 17.1130 +-__pthread_attr_init_2_0 (attr)
 17.1131 +-     pthread_attr_t *attr;
 17.1132 ++__pthread_attr_init_2_0 (pthread_attr_t *attr)
 17.1133 + {
 17.1134 +   /* This code is specific to the old LinuxThread code which has a too
 17.1135 +      small pthread_attr_t definition.  The struct looked like
 17.1136 +diff --git a/nptl/pthread_attr_setdetachstate.c b/nptl/pthread_attr_setdetachstate.c
 17.1137 +index ad0d43135a..c4e085b723 100644
 17.1138 +--- a/nptl/pthread_attr_setdetachstate.c
 17.1139 ++++ b/nptl/pthread_attr_setdetachstate.c
 17.1140 +@@ -22,9 +22,7 @@
 17.1141 + 
 17.1142 + 
 17.1143 + int
 17.1144 +-__pthread_attr_setdetachstate (attr, detachstate)
 17.1145 +-     pthread_attr_t *attr;
 17.1146 +-     int detachstate;
 17.1147 ++__pthread_attr_setdetachstate (pthread_attr_t *attr, int detachstate)
 17.1148 + {
 17.1149 +   struct pthread_attr *iattr;
 17.1150 + 
 17.1151 +diff --git a/nptl/pthread_attr_setguardsize.c b/nptl/pthread_attr_setguardsize.c
 17.1152 +index 86df9715d8..9a7a984bd9 100644
 17.1153 +--- a/nptl/pthread_attr_setguardsize.c
 17.1154 ++++ b/nptl/pthread_attr_setguardsize.c
 17.1155 +@@ -21,9 +21,7 @@
 17.1156 + 
 17.1157 + 
 17.1158 + int
 17.1159 +-pthread_attr_setguardsize (attr, guardsize)
 17.1160 +-     pthread_attr_t *attr;
 17.1161 +-     size_t guardsize;
 17.1162 ++pthread_attr_setguardsize (pthread_attr_t *attr, size_t guardsize)
 17.1163 + {
 17.1164 +   struct pthread_attr *iattr;
 17.1165 + 
 17.1166 +diff --git a/nptl/pthread_attr_setinheritsched.c b/nptl/pthread_attr_setinheritsched.c
 17.1167 +index 477072d8de..c66a4e3d38 100644
 17.1168 +--- a/nptl/pthread_attr_setinheritsched.c
 17.1169 ++++ b/nptl/pthread_attr_setinheritsched.c
 17.1170 +@@ -22,9 +22,7 @@
 17.1171 + 
 17.1172 + 
 17.1173 + int
 17.1174 +-__pthread_attr_setinheritsched (attr, inherit)
 17.1175 +-     pthread_attr_t *attr;
 17.1176 +-     int inherit;
 17.1177 ++__pthread_attr_setinheritsched (pthread_attr_t *attr, int inherit)
 17.1178 + {
 17.1179 +   struct pthread_attr *iattr;
 17.1180 + 
 17.1181 +diff --git a/nptl/pthread_attr_setschedparam.c b/nptl/pthread_attr_setschedparam.c
 17.1182 +index f6347a78c8..d6ac0fffb2 100644
 17.1183 +--- a/nptl/pthread_attr_setschedparam.c
 17.1184 ++++ b/nptl/pthread_attr_setschedparam.c
 17.1185 +@@ -23,9 +23,8 @@
 17.1186 + 
 17.1187 + 
 17.1188 + int
 17.1189 +-__pthread_attr_setschedparam (attr, param)
 17.1190 +-     pthread_attr_t *attr;
 17.1191 +-     const struct sched_param *param;
 17.1192 ++__pthread_attr_setschedparam (pthread_attr_t *attr,
 17.1193 ++			      const struct sched_param *param)
 17.1194 + {
 17.1195 +   assert (sizeof (*attr) >= sizeof (struct pthread_attr));
 17.1196 +   struct pthread_attr *iattr = (struct pthread_attr *) attr;
 17.1197 +diff --git a/nptl/pthread_attr_setschedpolicy.c b/nptl/pthread_attr_setschedpolicy.c
 17.1198 +index 70f439590f..8bc9ed20fb 100644
 17.1199 +--- a/nptl/pthread_attr_setschedpolicy.c
 17.1200 ++++ b/nptl/pthread_attr_setschedpolicy.c
 17.1201 +@@ -22,9 +22,7 @@
 17.1202 + 
 17.1203 + 
 17.1204 + int
 17.1205 +-__pthread_attr_setschedpolicy (attr, policy)
 17.1206 +-     pthread_attr_t *attr;
 17.1207 +-     int policy;
 17.1208 ++__pthread_attr_setschedpolicy (pthread_attr_t *attr, int policy)
 17.1209 + {
 17.1210 +   struct pthread_attr *iattr;
 17.1211 + 
 17.1212 +diff --git a/nptl/pthread_attr_setscope.c b/nptl/pthread_attr_setscope.c
 17.1213 +index 8f510bfec2..7559d105db 100644
 17.1214 +--- a/nptl/pthread_attr_setscope.c
 17.1215 ++++ b/nptl/pthread_attr_setscope.c
 17.1216 +@@ -22,9 +22,7 @@
 17.1217 + 
 17.1218 + 
 17.1219 + int
 17.1220 +-__pthread_attr_setscope (attr, scope)
 17.1221 +-     pthread_attr_t *attr;
 17.1222 +-     int scope;
 17.1223 ++__pthread_attr_setscope (pthread_attr_t *attr, int scope)
 17.1224 + {
 17.1225 +   struct pthread_attr *iattr;
 17.1226 + 
 17.1227 +diff --git a/nptl/pthread_attr_setstack.c b/nptl/pthread_attr_setstack.c
 17.1228 +index 6898f72540..c44c383aa7 100644
 17.1229 +--- a/nptl/pthread_attr_setstack.c
 17.1230 ++++ b/nptl/pthread_attr_setstack.c
 17.1231 +@@ -28,10 +28,8 @@
 17.1232 + 
 17.1233 + 
 17.1234 + int
 17.1235 +-__pthread_attr_setstack (attr, stackaddr, stacksize)
 17.1236 +-     pthread_attr_t *attr;
 17.1237 +-     void *stackaddr;
 17.1238 +-     size_t stacksize;
 17.1239 ++__pthread_attr_setstack (pthread_attr_t *attr, void *stackaddr,
 17.1240 ++			 size_t stacksize)
 17.1241 + {
 17.1242 +   struct pthread_attr *iattr;
 17.1243 + 
 17.1244 +diff --git a/nptl/pthread_attr_setstackaddr.c b/nptl/pthread_attr_setstackaddr.c
 17.1245 +index 2c028a54fa..ab0d7d2a33 100644
 17.1246 +--- a/nptl/pthread_attr_setstackaddr.c
 17.1247 ++++ b/nptl/pthread_attr_setstackaddr.c
 17.1248 +@@ -22,9 +22,7 @@
 17.1249 + 
 17.1250 + 
 17.1251 + int
 17.1252 +-__pthread_attr_setstackaddr (attr, stackaddr)
 17.1253 +-     pthread_attr_t *attr;
 17.1254 +-     void *stackaddr;
 17.1255 ++__pthread_attr_setstackaddr (pthread_attr_t *attr, void *stackaddr)
 17.1256 + {
 17.1257 +   struct pthread_attr *iattr;
 17.1258 + 
 17.1259 +diff --git a/nptl/pthread_attr_setstacksize.c b/nptl/pthread_attr_setstacksize.c
 17.1260 +index a0cda0cbce..d3d109a232 100644
 17.1261 +--- a/nptl/pthread_attr_setstacksize.c
 17.1262 ++++ b/nptl/pthread_attr_setstacksize.c
 17.1263 +@@ -27,9 +27,7 @@
 17.1264 + 
 17.1265 + 
 17.1266 + int
 17.1267 +-__pthread_attr_setstacksize (attr, stacksize)
 17.1268 +-     pthread_attr_t *attr;
 17.1269 +-     size_t stacksize;
 17.1270 ++__pthread_attr_setstacksize (pthread_attr_t *attr, size_t stacksize)
 17.1271 + {
 17.1272 +   struct pthread_attr *iattr;
 17.1273 + 
 17.1274 +diff --git a/nptl/pthread_condattr_setclock.c b/nptl/pthread_condattr_setclock.c
 17.1275 +index 0748d78d05..5300844d06 100644
 17.1276 +--- a/nptl/pthread_condattr_setclock.c
 17.1277 ++++ b/nptl/pthread_condattr_setclock.c
 17.1278 +@@ -25,9 +25,7 @@
 17.1279 + 
 17.1280 + 
 17.1281 + int
 17.1282 +-pthread_condattr_setclock (attr, clock_id)
 17.1283 +-     pthread_condattr_t *attr;
 17.1284 +-     clockid_t clock_id;
 17.1285 ++pthread_condattr_setclock (pthread_condattr_t *attr, clockid_t clock_id)
 17.1286 + {
 17.1287 +   /* Only a few clocks are allowed.  */
 17.1288 +   if (clock_id != CLOCK_MONOTONIC && clock_id != CLOCK_REALTIME)
 17.1289 +diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
 17.1290 +index d10f4ea800..790f46db3f 100644
 17.1291 +--- a/nptl/pthread_create.c
 17.1292 ++++ b/nptl/pthread_create.c
 17.1293 +@@ -80,8 +80,7 @@ static int create_thread (struct pthread *pd, const struct pthread_attr *attr,
 17.1294 + 
 17.1295 + struct pthread *
 17.1296 + internal_function
 17.1297 +-__find_in_stack_list (pd)
 17.1298 +-     struct pthread *pd;
 17.1299 ++__find_in_stack_list (struct pthread *pd)
 17.1300 + {
 17.1301 +   list_t *entry;
 17.1302 +   struct pthread *result = NULL;
 17.1303 +diff --git a/nptl/pthread_getattr_np.c b/nptl/pthread_getattr_np.c
 17.1304 +index 52a4602730..5ebff5cbbc 100644
 17.1305 +--- a/nptl/pthread_getattr_np.c
 17.1306 ++++ b/nptl/pthread_getattr_np.c
 17.1307 +@@ -30,9 +30,7 @@
 17.1308 + 
 17.1309 + 
 17.1310 + int
 17.1311 +-pthread_getattr_np (thread_id, attr)
 17.1312 +-     pthread_t thread_id;
 17.1313 +-     pthread_attr_t *attr;
 17.1314 ++pthread_getattr_np (pthread_t thread_id, pthread_attr_t *attr)
 17.1315 + {
 17.1316 +   struct pthread *thread = (struct pthread *) thread_id;
 17.1317 +   struct pthread_attr *iattr = (struct pthread_attr *) attr;
 17.1318 +diff --git a/nptl/pthread_mutex_cond_lock.c b/nptl/pthread_mutex_cond_lock.c
 17.1319 +index 7b6fbc18aa..2ac421fd63 100644
 17.1320 +--- a/nptl/pthread_mutex_cond_lock.c
 17.1321 ++++ b/nptl/pthread_mutex_cond_lock.c
 17.1322 +@@ -14,7 +14,7 @@
 17.1323 + #define LLL_ROBUST_MUTEX_LOCK(mutex, id) \
 17.1324 +   lll_robust_cond_lock ((mutex)->__data.__lock, id, \
 17.1325 + 			PTHREAD_ROBUST_MUTEX_PSHARED (mutex))
 17.1326 +-#define __pthread_mutex_lock __pthread_mutex_cond_lock
 17.1327 ++#define __pthread_mutex_lock internal_function __pthread_mutex_cond_lock
 17.1328 + #define __pthread_mutex_lock_full __pthread_mutex_cond_lock_full
 17.1329 + #define NO_INCR
 17.1330 + 
 17.1331 +diff --git a/nptl/pthread_mutex_init.c b/nptl/pthread_mutex_init.c
 17.1332 +index d71cfef0f7..45c159bad3 100644
 17.1333 +--- a/nptl/pthread_mutex_init.c
 17.1334 ++++ b/nptl/pthread_mutex_init.c
 17.1335 +@@ -55,9 +55,8 @@ prio_inherit_missing (void)
 17.1336 + }
 17.1337 + 
 17.1338 + int
 17.1339 +-__pthread_mutex_init (mutex, mutexattr)
 17.1340 +-     pthread_mutex_t *mutex;
 17.1341 +-     const pthread_mutexattr_t *mutexattr;
 17.1342 ++__pthread_mutex_init (pthread_mutex_t *mutex,
 17.1343 ++		      const pthread_mutexattr_t *mutexattr)
 17.1344 + {
 17.1345 +   const struct pthread_mutexattr *imutexattr;
 17.1346 + 
 17.1347 +diff --git a/nptl/pthread_mutex_lock.c b/nptl/pthread_mutex_lock.c
 17.1348 +index 9a3b46624d..493fe43778 100644
 17.1349 +--- a/nptl/pthread_mutex_lock.c
 17.1350 ++++ b/nptl/pthread_mutex_lock.c
 17.1351 +@@ -60,8 +60,7 @@ static int __pthread_mutex_lock_full (pthread_mutex_t *mutex)
 17.1352 +      __attribute_noinline__;
 17.1353 + 
 17.1354 + int
 17.1355 +-__pthread_mutex_lock (mutex)
 17.1356 +-     pthread_mutex_t *mutex;
 17.1357 ++__pthread_mutex_lock (pthread_mutex_t *mutex)
 17.1358 + {
 17.1359 +   assert (sizeof (mutex->__size) >= sizeof (mutex->__data));
 17.1360 + 
 17.1361 +@@ -521,8 +520,8 @@ hidden_def (__pthread_mutex_lock)
 17.1362 + 
 17.1363 + #ifdef NO_INCR
 17.1364 + void
 17.1365 +-__pthread_mutex_cond_lock_adjust (mutex)
 17.1366 +-     pthread_mutex_t *mutex;
 17.1367 ++internal_function
 17.1368 ++__pthread_mutex_cond_lock_adjust (pthread_mutex_t *mutex)
 17.1369 + {
 17.1370 +   assert ((mutex->__data.__kind & PTHREAD_MUTEX_PRIO_INHERIT_NP) != 0);
 17.1371 +   assert ((mutex->__data.__kind & PTHREAD_MUTEX_ROBUST_NORMAL_NP) == 0);
 17.1372 +diff --git a/nptl/pthread_mutex_timedlock.c b/nptl/pthread_mutex_timedlock.c
 17.1373 +index f0fb03e90b..370a232773 100644
 17.1374 +--- a/nptl/pthread_mutex_timedlock.c
 17.1375 ++++ b/nptl/pthread_mutex_timedlock.c
 17.1376 +@@ -41,9 +41,8 @@
 17.1377 + #endif
 17.1378 + 
 17.1379 + int
 17.1380 +-pthread_mutex_timedlock (mutex, abstime)
 17.1381 +-     pthread_mutex_t *mutex;
 17.1382 +-     const struct timespec *abstime;
 17.1383 ++pthread_mutex_timedlock (pthread_mutex_t *mutex,
 17.1384 ++			 const struct timespec *abstime)
 17.1385 + {
 17.1386 +   int oldval;
 17.1387 +   pid_t id = THREAD_GETMEM (THREAD_SELF, tid);
 17.1388 +diff --git a/nptl/pthread_mutex_trylock.c b/nptl/pthread_mutex_trylock.c
 17.1389 +index 33df384bd0..17ec2302ec 100644
 17.1390 +--- a/nptl/pthread_mutex_trylock.c
 17.1391 ++++ b/nptl/pthread_mutex_trylock.c
 17.1392 +@@ -31,8 +31,7 @@
 17.1393 + #endif
 17.1394 + 
 17.1395 + int
 17.1396 +-__pthread_mutex_trylock (mutex)
 17.1397 +-     pthread_mutex_t *mutex;
 17.1398 ++__pthread_mutex_trylock (pthread_mutex_t *mutex)
 17.1399 + {
 17.1400 +   int oldval;
 17.1401 +   pid_t id = THREAD_GETMEM (THREAD_SELF, tid);
 17.1402 +diff --git a/nptl/pthread_mutex_unlock.c b/nptl/pthread_mutex_unlock.c
 17.1403 +index 9e864c1832..c078f7ebe3 100644
 17.1404 +--- a/nptl/pthread_mutex_unlock.c
 17.1405 ++++ b/nptl/pthread_mutex_unlock.c
 17.1406 +@@ -34,9 +34,7 @@ __pthread_mutex_unlock_full (pthread_mutex_t *mutex, int decr)
 17.1407 + 
 17.1408 + int
 17.1409 + internal_function attribute_hidden
 17.1410 +-__pthread_mutex_unlock_usercnt (mutex, decr)
 17.1411 +-     pthread_mutex_t *mutex;
 17.1412 +-     int decr;
 17.1413 ++__pthread_mutex_unlock_usercnt (pthread_mutex_t *mutex, int decr)
 17.1414 + {
 17.1415 +   int type = PTHREAD_MUTEX_TYPE_ELISION (mutex);
 17.1416 +   if (__builtin_expect (type &
 17.1417 +@@ -309,8 +307,7 @@ __pthread_mutex_unlock_full (pthread_mutex_t *mutex, int decr)
 17.1418 + 
 17.1419 + 
 17.1420 + int
 17.1421 +-__pthread_mutex_unlock (mutex)
 17.1422 +-     pthread_mutex_t *mutex;
 17.1423 ++__pthread_mutex_unlock (pthread_mutex_t *mutex)
 17.1424 + {
 17.1425 +   return __pthread_mutex_unlock_usercnt (mutex, 1);
 17.1426 + }
 17.1427 +diff --git a/nptl_db/td_ta_clear_event.c b/nptl_db/td_ta_clear_event.c
 17.1428 +index 368c21eca8..9279837dd9 100644
 17.1429 +--- a/nptl_db/td_ta_clear_event.c
 17.1430 ++++ b/nptl_db/td_ta_clear_event.c
 17.1431 +@@ -22,9 +22,7 @@
 17.1432 + 
 17.1433 + 
 17.1434 + td_err_e
 17.1435 +-td_ta_clear_event (ta_arg, event)
 17.1436 +-     const td_thragent_t *ta_arg;
 17.1437 +-     td_thr_events_t *event;
 17.1438 ++td_ta_clear_event (const td_thragent_t *ta_arg, td_thr_events_t *event)
 17.1439 + {
 17.1440 +   td_thragent_t *const ta = (td_thragent_t *) ta_arg;
 17.1441 +   td_err_e err;
 17.1442 +diff --git a/nptl_db/td_ta_set_event.c b/nptl_db/td_ta_set_event.c
 17.1443 +index 132363d831..157e022b83 100644
 17.1444 +--- a/nptl_db/td_ta_set_event.c
 17.1445 ++++ b/nptl_db/td_ta_set_event.c
 17.1446 +@@ -22,9 +22,7 @@
 17.1447 + 
 17.1448 + 
 17.1449 + td_err_e
 17.1450 +-td_ta_set_event (ta_arg, event)
 17.1451 +-     const td_thragent_t *ta_arg;
 17.1452 +-     td_thr_events_t *event;
 17.1453 ++td_ta_set_event (const td_thragent_t *ta_arg, td_thr_events_t *event)
 17.1454 + {
 17.1455 +   td_thragent_t *const ta = (td_thragent_t *) ta_arg;
 17.1456 +   td_err_e err;
 17.1457 +diff --git a/nptl_db/td_thr_clear_event.c b/nptl_db/td_thr_clear_event.c
 17.1458 +index 4f81ede8ed..1cd732d4f1 100644
 17.1459 +--- a/nptl_db/td_thr_clear_event.c
 17.1460 ++++ b/nptl_db/td_thr_clear_event.c
 17.1461 +@@ -24,9 +24,7 @@
 17.1462 + 
 17.1463 + 
 17.1464 + td_err_e
 17.1465 +-td_thr_clear_event (th, event)
 17.1466 +-     const td_thrhandle_t *th;
 17.1467 +-     td_thr_events_t *event;
 17.1468 ++td_thr_clear_event (const td_thrhandle_t *th, td_thr_events_t *event)
 17.1469 + {
 17.1470 +   td_err_e err;
 17.1471 +   psaddr_t eventmask;
 17.1472 +diff --git a/nptl_db/td_thr_event_enable.c b/nptl_db/td_thr_event_enable.c
 17.1473 +index dba7b3886b..3ee9e1dabe 100644
 17.1474 +--- a/nptl_db/td_thr_event_enable.c
 17.1475 ++++ b/nptl_db/td_thr_event_enable.c
 17.1476 +@@ -21,9 +21,7 @@
 17.1477 + 
 17.1478 + 
 17.1479 + td_err_e
 17.1480 +-td_thr_event_enable (th, onoff)
 17.1481 +-     const td_thrhandle_t *th;
 17.1482 +-     int onoff;
 17.1483 ++td_thr_event_enable (const td_thrhandle_t *th, int onoff)
 17.1484 + {
 17.1485 +   LOG ("td_thr_event_enable");
 17.1486 + 
 17.1487 +diff --git a/nptl_db/td_thr_set_event.c b/nptl_db/td_thr_set_event.c
 17.1488 +index bf5f6b7450..64ef046727 100644
 17.1489 +--- a/nptl_db/td_thr_set_event.c
 17.1490 ++++ b/nptl_db/td_thr_set_event.c
 17.1491 +@@ -24,9 +24,7 @@
 17.1492 + 
 17.1493 + 
 17.1494 + td_err_e
 17.1495 +-td_thr_set_event (th, event)
 17.1496 +-     const td_thrhandle_t *th;
 17.1497 +-     td_thr_events_t *event;
 17.1498 ++td_thr_set_event (const td_thrhandle_t *th, td_thr_events_t *event)
 17.1499 + {
 17.1500 +   td_err_e err;
 17.1501 +   psaddr_t eventmask;
 17.1502 +diff --git a/nss/makedb.c b/nss/makedb.c
 17.1503 +index c7b466ab43..e53a3ca6ba 100644
 17.1504 +--- a/nss/makedb.c
 17.1505 ++++ b/nss/makedb.c
 17.1506 +@@ -415,11 +415,7 @@ valstr_compare (const void *p1, const void *p2)
 17.1507 + 
 17.1508 + 
 17.1509 + static int
 17.1510 +-process_input (input, inname, to_lowercase, be_quiet)
 17.1511 +-     FILE *input;
 17.1512 +-     const char *inname;
 17.1513 +-     int to_lowercase;
 17.1514 +-     int be_quiet;
 17.1515 ++process_input (FILE *input, const char *inname, int to_lowercase, int be_quiet)
 17.1516 + {
 17.1517 +   char *line;
 17.1518 +   size_t linelen;
 17.1519 +diff --git a/posix/fnmatch.c b/posix/fnmatch.c
 17.1520 +index fd85efa2c7..16d3555a43 100644
 17.1521 +--- a/posix/fnmatch.c
 17.1522 ++++ b/posix/fnmatch.c
 17.1523 +@@ -166,9 +166,7 @@ static int posixly_correct;
 17.1524 + 
 17.1525 + # if !defined HAVE___STRCHRNUL && !defined _LIBC
 17.1526 + static char *
 17.1527 +-__strchrnul (s, c)
 17.1528 +-     const char *s;
 17.1529 +-     int c;
 17.1530 ++__strchrnul (const char *s, int c)
 17.1531 + {
 17.1532 +   char *result = strchr (s, c);
 17.1533 +   if (result == NULL)
 17.1534 +@@ -179,9 +177,7 @@ __strchrnul (s, c)
 17.1535 + 
 17.1536 + # if HANDLE_MULTIBYTE && !defined HAVE___STRCHRNUL && !defined _LIBC
 17.1537 + static wchar_t *
 17.1538 +-__wcschrnul (s, c)
 17.1539 +-     const wchar_t *s;
 17.1540 +-     wint_t c;
 17.1541 ++__wcschrnul (const wchar_t *s, wint_t c)
 17.1542 + {
 17.1543 +   wchar_t *result = wcschr (s, c);
 17.1544 +   if (result == NULL)
 17.1545 +@@ -327,10 +323,7 @@ is_char_class (const wchar_t *wcs)
 17.1546 + 
 17.1547 + 
 17.1548 + int
 17.1549 +-fnmatch (pattern, string, flags)
 17.1550 +-     const char *pattern;
 17.1551 +-     const char *string;
 17.1552 +-     int flags;
 17.1553 ++fnmatch (const char *pattern, const char *string, int flags)
 17.1554 + {
 17.1555 + # if HANDLE_MULTIBYTE
 17.1556 +   if (__builtin_expect (MB_CUR_MAX, 1) != 1)
 17.1557 +diff --git a/posix/fnmatch_loop.c b/posix/fnmatch_loop.c
 17.1558 +index f46c9dfedb..8d4049d6dc 100644
 17.1559 +--- a/posix/fnmatch_loop.c
 17.1560 ++++ b/posix/fnmatch_loop.c
 17.1561 +@@ -38,14 +38,8 @@ static const CHAR *END (const CHAR *patternp) internal_function;
 17.1562 + 
 17.1563 + static int
 17.1564 + internal_function
 17.1565 +-FCT (pattern, string, string_end, no_leading_period, flags, ends, alloca_used)
 17.1566 +-     const CHAR *pattern;
 17.1567 +-     const CHAR *string;
 17.1568 +-     const CHAR *string_end;
 17.1569 +-     int no_leading_period;
 17.1570 +-     int flags;
 17.1571 +-     struct STRUCT *ends;
 17.1572 +-     size_t alloca_used;
 17.1573 ++FCT (const CHAR *pattern, const CHAR *string, const CHAR *string_end,
 17.1574 ++     int no_leading_period, int flags, struct STRUCT *ends, size_t alloca_used)
 17.1575 + {
 17.1576 +   const CHAR *p = pattern, *n = string;
 17.1577 +   UCHAR c;
 17.1578 +diff --git a/posix/glob.c b/posix/glob.c
 17.1579 +index d65e55dcd6..d178cf0206 100644
 17.1580 +--- a/posix/glob.c
 17.1581 ++++ b/posix/glob.c
 17.1582 +@@ -1267,8 +1267,7 @@ libc_hidden_def (glob)
 17.1583 + 
 17.1584 + /* Free storage allocated in PGLOB by a previous `glob' call.  */
 17.1585 + void
 17.1586 +-globfree (pglob)
 17.1587 +-     glob_t *pglob;
 17.1588 ++globfree (glob_t *pglob)
 17.1589 + {
 17.1590 +   if (pglob->gl_pathv != NULL)
 17.1591 +     {
 17.1592 +@@ -1363,9 +1362,7 @@ prefix_array (const char *dirname, char **array, size_t n)
 17.1593 + /* We must not compile this function twice.  */
 17.1594 + #if !defined _LIBC || !defined NO_GLOB_PATTERN_P
 17.1595 + int
 17.1596 +-__glob_pattern_type (pattern, quote)
 17.1597 +-     const char *pattern;
 17.1598 +-     int quote;
 17.1599 ++__glob_pattern_type (const char *pattern, int quote)
 17.1600 + {
 17.1601 +   const char *p;
 17.1602 +   int ret = 0;
 17.1603 +@@ -1402,9 +1399,7 @@ __glob_pattern_type (pattern, quote)
 17.1604 + /* Return nonzero if PATTERN contains any metacharacters.
 17.1605 +    Metacharacters can be quoted with backslashes if QUOTE is nonzero.  */
 17.1606 + int
 17.1607 +-__glob_pattern_p (pattern, quote)
 17.1608 +-     const char *pattern;
 17.1609 +-     int quote;
 17.1610 ++__glob_pattern_p (const char *pattern, int quote)
 17.1611 + {
 17.1612 +   return __glob_pattern_type (pattern, quote) == 1;
 17.1613 + }
 17.1614 +diff --git a/posix/regcomp.c b/posix/regcomp.c
 17.1615 +index bf8aa1604c..c8e0c79219 100644
 17.1616 +--- a/posix/regcomp.c
 17.1617 ++++ b/posix/regcomp.c
 17.1618 +@@ -216,10 +216,8 @@ const size_t __re_error_msgid_idx[] attribute_hidden =
 17.1619 +    are set in BUFP on entry.  */
 17.1620 + 
 17.1621 + const char *
 17.1622 +-re_compile_pattern (pattern, length, bufp)
 17.1623 +-    const char *pattern;
 17.1624 +-    size_t length;
 17.1625 +-    struct re_pattern_buffer *bufp;
 17.1626 ++re_compile_pattern (const char *pattern, size_t length,
 17.1627 ++		    struct re_pattern_buffer *bufp)
 17.1628 + {
 17.1629 +   reg_errcode_t ret;
 17.1630 + 
 17.1631 +@@ -257,8 +255,7 @@ reg_syntax_t re_syntax_options;
 17.1632 +    defined in regex.h.  We return the old syntax.  */
 17.1633 + 
 17.1634 + reg_syntax_t
 17.1635 +-re_set_syntax (syntax)
 17.1636 +-    reg_syntax_t syntax;
 17.1637 ++re_set_syntax (reg_syntax_t syntax)
 17.1638 + {
 17.1639 +   reg_syntax_t ret = re_syntax_options;
 17.1640 + 
 17.1641 +@@ -270,8 +267,7 @@ weak_alias (__re_set_syntax, re_set_syntax)
 17.1642 + #endif
 17.1643 + 
 17.1644 + int
 17.1645 +-re_compile_fastmap (bufp)
 17.1646 +-    struct re_pattern_buffer *bufp;
 17.1647 ++re_compile_fastmap (struct re_pattern_buffer *bufp)
 17.1648 + {
 17.1649 +   re_dfa_t *dfa = (re_dfa_t *) bufp->buffer;
 17.1650 +   char *fastmap = bufp->fastmap;
 17.1651 +@@ -469,10 +465,7 @@ re_compile_fastmap_iter (regex_t *bufp, const re_dfastate_t *init_state,
 17.1652 +    the return codes and their meanings.)  */
 17.1653 + 
 17.1654 + int
 17.1655 +-regcomp (preg, pattern, cflags)
 17.1656 +-    regex_t *__restrict preg;
 17.1657 +-    const char *__restrict pattern;
 17.1658 +-    int cflags;
 17.1659 ++regcomp (regex_t *__restrict preg, const char *__restrict pattern, int cflags)
 17.1660 + {
 17.1661 +   reg_errcode_t ret;
 17.1662 +   reg_syntax_t syntax = ((cflags & REG_EXTENDED) ? RE_SYNTAX_POSIX_EXTENDED
 17.1663 +@@ -531,11 +524,8 @@ weak_alias (__regcomp, regcomp)
 17.1664 +    from either regcomp or regexec.   We don't use PREG here.  */
 17.1665 + 
 17.1666 + size_t
 17.1667 +-regerror (errcode, preg, errbuf, errbuf_size)
 17.1668 +-    int errcode;
 17.1669 +-    const regex_t *__restrict preg;
 17.1670 +-    char *__restrict errbuf;
 17.1671 +-    size_t errbuf_size;
 17.1672 ++regerror (int errcode, const regex_t *__restrict preg, char *__restrict errbuf,
 17.1673 ++	  size_t errbuf_size)
 17.1674 + {
 17.1675 +   const char *msg;
 17.1676 +   size_t msg_size;
 17.1677 +@@ -639,8 +629,7 @@ free_dfa_content (re_dfa_t *dfa)
 17.1678 + /* Free dynamically allocated space used by PREG.  */
 17.1679 + 
 17.1680 + void
 17.1681 +-regfree (preg)
 17.1682 +-    regex_t *preg;
 17.1683 ++regfree (regex_t *preg)
 17.1684 + {
 17.1685 +   re_dfa_t *dfa = (re_dfa_t *) preg->buffer;
 17.1686 +   if (BE (dfa != NULL, 1))
 17.1687 +diff --git a/posix/regexec.c b/posix/regexec.c
 17.1688 +index 70cd6064dd..f748a314bb 100644
 17.1689 +--- a/posix/regexec.c
 17.1690 ++++ b/posix/regexec.c
 17.1691 +@@ -219,12 +219,8 @@ static reg_errcode_t extend_buffers (re_match_context_t *mctx, int min_len)
 17.1692 +    We return 0 if we find a match and REG_NOMATCH if not.  */
 17.1693 + 
 17.1694 + int
 17.1695 +-regexec (preg, string, nmatch, pmatch, eflags)
 17.1696 +-    const regex_t *__restrict preg;
 17.1697 +-    const char *__restrict string;
 17.1698 +-    size_t nmatch;
 17.1699 +-    regmatch_t pmatch[];
 17.1700 +-    int eflags;
 17.1701 ++regexec (const regex_t *__restrict preg, const char *__restrict string,
 17.1702 ++	 size_t nmatch, regmatch_t pmatch[], int eflags)
 17.1703 + {
 17.1704 +   reg_errcode_t err;
 17.1705 +   int start, length;
 17.1706 +@@ -305,11 +301,8 @@ compat_symbol (libc, __compat_regexec, regexec, GLIBC_2_0);
 17.1707 +    match was found and -2 indicates an internal error.  */
 17.1708 + 
 17.1709 + int
 17.1710 +-re_match (bufp, string, length, start, regs)
 17.1711 +-    struct re_pattern_buffer *bufp;
 17.1712 +-    const char *string;
 17.1713 +-    int length, start;
 17.1714 +-    struct re_registers *regs;
 17.1715 ++re_match (struct re_pattern_buffer *bufp, const char *string, int length,
 17.1716 ++	  int start, struct re_registers *regs)
 17.1717 + {
 17.1718 +   return re_search_stub (bufp, string, length, start, 0, length, regs, 1);
 17.1719 + }
 17.1720 +@@ -318,11 +311,8 @@ weak_alias (__re_match, re_match)
 17.1721 + #endif
 17.1722 + 
 17.1723 + int
 17.1724 +-re_search (bufp, string, length, start, range, regs)
 17.1725 +-    struct re_pattern_buffer *bufp;
 17.1726 +-    const char *string;
 17.1727 +-    int length, start, range;
 17.1728 +-    struct re_registers *regs;
 17.1729 ++re_search (struct re_pattern_buffer *bufp, const char *string, int length,
 17.1730 ++	   int start, int range, struct re_registers *regs)
 17.1731 + {
 17.1732 +   return re_search_stub (bufp, string, length, start, range, length, regs, 0);
 17.1733 + }
 17.1734 +@@ -331,11 +321,9 @@ weak_alias (__re_search, re_search)
 17.1735 + #endif
 17.1736 + 
 17.1737 + int
 17.1738 +-re_match_2 (bufp, string1, length1, string2, length2, start, regs, stop)
 17.1739 +-    struct re_pattern_buffer *bufp;
 17.1740 +-    const char *string1, *string2;
 17.1741 +-    int length1, length2, start, stop;
 17.1742 +-    struct re_registers *regs;
 17.1743 ++re_match_2 (struct re_pattern_buffer *bufp, const char *string1, int length1,
 17.1744 ++	    const char *string2, int length2, int start,
 17.1745 ++	    struct re_registers *regs, int stop)
 17.1746 + {
 17.1747 +   return re_search_2_stub (bufp, string1, length1, string2, length2,
 17.1748 + 			   start, 0, regs, stop, 1);
 17.1749 +@@ -345,11 +333,9 @@ weak_alias (__re_match_2, re_match_2)
 17.1750 + #endif
 17.1751 + 
 17.1752 + int
 17.1753 +-re_search_2 (bufp, string1, length1, string2, length2, start, range, regs, stop)
 17.1754 +-    struct re_pattern_buffer *bufp;
 17.1755 +-    const char *string1, *string2;
 17.1756 +-    int length1, length2, start, range, stop;
 17.1757 +-    struct re_registers *regs;
 17.1758 ++re_search_2 (struct re_pattern_buffer *bufp, const char *string1, int length1,
 17.1759 ++	     const char *string2, int length2, int start, int range,
 17.1760 ++	     struct re_registers *regs, int stop)
 17.1761 + {
 17.1762 +   return re_search_2_stub (bufp, string1, length1, string2, length2,
 17.1763 + 			   start, range, regs, stop, 0);
 17.1764 +@@ -406,11 +392,10 @@ re_search_2_stub (bufp, string1, length1, string2, length2, start, range, regs,
 17.1765 +    otherwise the position of the match is returned.  */
 17.1766 + 
 17.1767 + static int
 17.1768 +-re_search_stub (bufp, string, length, start, range, stop, regs, ret_len)
 17.1769 +-    struct re_pattern_buffer *bufp;
 17.1770 +-    const char *string;
 17.1771 +-    int length, start, range, stop, ret_len;
 17.1772 +-    struct re_registers *regs;
 17.1773 ++internal_function
 17.1774 ++re_search_stub (struct re_pattern_buffer *bufp, const char *string, int length,
 17.1775 ++		int start, int range, int stop, struct re_registers *regs,
 17.1776 ++		int ret_len)
 17.1777 + {
 17.1778 +   reg_errcode_t result;
 17.1779 +   regmatch_t *pmatch;
 17.1780 +@@ -495,10 +480,9 @@ re_search_stub (bufp, string, length, start, range, stop, regs, ret_len)
 17.1781 + }
 17.1782 + 
 17.1783 + static unsigned
 17.1784 +-re_copy_regs (regs, pmatch, nregs, regs_allocated)
 17.1785 +-    struct re_registers *regs;
 17.1786 +-    regmatch_t *pmatch;
 17.1787 +-    int nregs, regs_allocated;
 17.1788 ++internal_function
 17.1789 ++re_copy_regs (struct re_registers *regs, regmatch_t *pmatch, int nregs,
 17.1790 ++	      int regs_allocated)
 17.1791 + {
 17.1792 +   int rval = REGS_REALLOCATE;
 17.1793 +   int i;
 17.1794 +@@ -575,11 +559,8 @@ re_copy_regs (regs, pmatch, nregs, regs_allocated)
 17.1795 +    freeing the old data.  */
 17.1796 + 
 17.1797 + void
 17.1798 +-re_set_registers (bufp, regs, num_regs, starts, ends)
 17.1799 +-    struct re_pattern_buffer *bufp;
 17.1800 +-    struct re_registers *regs;
 17.1801 +-    unsigned num_regs;
 17.1802 +-    regoff_t *starts, *ends;
 17.1803 ++re_set_registers (struct re_pattern_buffer *bufp, struct re_registers *regs,
 17.1804 ++		  unsigned num_regs, regoff_t *starts, regoff_t *ends)
 17.1805 + {
 17.1806 +   if (num_regs)
 17.1807 +     {
 17.1808 +@@ -953,9 +934,8 @@ re_search_internal (preg, string, length, start, range, stop, nmatch, pmatch,
 17.1809 + }
 17.1810 + 
 17.1811 + static reg_errcode_t
 17.1812 +-__attribute_warn_unused_result__
 17.1813 +-prune_impossible_nodes (mctx)
 17.1814 +-     re_match_context_t *mctx;
 17.1815 ++internal_function __attribute_warn_unused_result__
 17.1816 ++prune_impossible_nodes (re_match_context_t *mctx)
 17.1817 + {
 17.1818 +   const re_dfa_t *const dfa = mctx->dfa;
 17.1819 +   int halt_node, match_last;
 17.1820 +diff --git a/resolv/inet_net_pton.c b/resolv/inet_net_pton.c
 17.1821 +index 14916f83f8..75a8515c15 100644
 17.1822 +--- a/resolv/inet_net_pton.c
 17.1823 ++++ b/resolv/inet_net_pton.c
 17.1824 +@@ -54,11 +54,7 @@ static int	inet_net_pton_ipv4 (const char *src, u_char *dst,
 17.1825 +  *	Paul Vixie (ISC), June 1996
 17.1826 +  */
 17.1827 + int
 17.1828 +-inet_net_pton(af, src, dst, size)
 17.1829 +-	int af;
 17.1830 +-	const char *src;
 17.1831 +-	void *dst;
 17.1832 +-	size_t size;
 17.1833 ++inet_net_pton (int af, const char *src, void *dst, size_t size)
 17.1834 + {
 17.1835 + 	switch (af) {
 17.1836 + 	case AF_INET:
 17.1837 +@@ -86,10 +82,7 @@ inet_net_pton(af, src, dst, size)
 17.1838 +  *	Paul Vixie (ISC), June 1996
 17.1839 +  */
 17.1840 + static int
 17.1841 +-inet_net_pton_ipv4(src, dst, size)
 17.1842 +-	const char *src;
 17.1843 +-	u_char *dst;
 17.1844 +-	size_t size;
 17.1845 ++inet_net_pton_ipv4 (const char *src, u_char *dst, size_t size)
 17.1846 + {
 17.1847 + 	static const char xdigits[] = "0123456789abcdef";
 17.1848 + 	int n, ch, tmp, dirty, bits;
 17.1849 +diff --git a/stdlib/strtod_l.c b/stdlib/strtod_l.c
 17.1850 +index da8e4df1ce..f07b0f368b 100644
 17.1851 +--- a/stdlib/strtod_l.c
 17.1852 ++++ b/stdlib/strtod_l.c
 17.1853 +@@ -487,11 +487,8 @@ str_to_mpn (const STRING_TYPE *str, int digcnt, mp_limb_t *n, mp_size_t *nsize,
 17.1854 +    return 0.0.  If the number is too big to be represented, set `errno' to
 17.1855 +    ERANGE and return HUGE_VAL with the appropriate sign.  */
 17.1856 + FLOAT
 17.1857 +-____STRTOF_INTERNAL (nptr, endptr, group, loc)
 17.1858 +-     const STRING_TYPE *nptr;
 17.1859 +-     STRING_TYPE **endptr;
 17.1860 +-     int group;
 17.1861 +-     __locale_t loc;
 17.1862 ++____STRTOF_INTERNAL (const STRING_TYPE *nptr, STRING_TYPE **endptr, int group,
 17.1863 ++		     __locale_t loc)
 17.1864 + {
 17.1865 +   int negative;			/* The sign of the number.  */
 17.1866 +   MPN_VAR (num);		/* MP representation of the number.  */
 17.1867 +diff --git a/sysdeps/pthread/aio_cancel.c b/sysdeps/pthread/aio_cancel.c
 17.1868 +index c1e12e4d0f..0106728cd6 100644
 17.1869 +--- a/sysdeps/pthread/aio_cancel.c
 17.1870 ++++ b/sysdeps/pthread/aio_cancel.c
 17.1871 +@@ -38,9 +38,7 @@
 17.1872 + 
 17.1873 + 
 17.1874 + int
 17.1875 +-aio_cancel (fildes, aiocbp)
 17.1876 +-     int fildes;
 17.1877 +-     struct aiocb *aiocbp;
 17.1878 ++aio_cancel (int fildes, struct aiocb *aiocbp)
 17.1879 + {
 17.1880 +   struct requestlist *req = NULL;
 17.1881 +   int result = AIO_ALLDONE;
 17.1882 +diff --git a/sysdeps/pthread/aio_suspend.c b/sysdeps/pthread/aio_suspend.c
 17.1883 +index bfca6627f1..40726a8341 100644
 17.1884 +--- a/sysdeps/pthread/aio_suspend.c
 17.1885 ++++ b/sysdeps/pthread/aio_suspend.c
 17.1886 +@@ -105,10 +105,8 @@ do_aio_misc_wait (unsigned int *cntr, const struct timespec *timeout)
 17.1887 + #endif
 17.1888 + 
 17.1889 + int
 17.1890 +-aio_suspend (list, nent, timeout)
 17.1891 +-     const struct aiocb *const list[];
 17.1892 +-     int nent;
 17.1893 +-     const struct timespec *timeout;
 17.1894 ++aio_suspend (const struct aiocb *const list[], int nent,
 17.1895 ++	     const struct timespec *timeout)
 17.1896 + {
 17.1897 +   if (__glibc_unlikely (nent < 0))
 17.1898 +     {
 17.1899 +diff --git a/sysdeps/pthread/timer_delete.c b/sysdeps/pthread/timer_delete.c
 17.1900 +index ef0133f4ec..49f4c5bc70 100644
 17.1901 +--- a/sysdeps/pthread/timer_delete.c
 17.1902 ++++ b/sysdeps/pthread/timer_delete.c
 17.1903 +@@ -26,8 +26,7 @@
 17.1904 + 
 17.1905 + /* Delete timer TIMERID.  */
 17.1906 + int
 17.1907 +-timer_delete (timerid)
 17.1908 +-     timer_t timerid;
 17.1909 ++timer_delete (timer_t timerid)
 17.1910 + {
 17.1911 +   struct timer_node *timer;
 17.1912 +   int retval = -1;
 17.1913 +diff --git a/sysdeps/unix/sysv/linux/dl-openat64.c b/sysdeps/unix/sysv/linux/dl-openat64.c
 17.1914 +index 7d100bb321..7eea0ca8c6 100644
 17.1915 +--- a/sysdeps/unix/sysv/linux/dl-openat64.c
 17.1916 ++++ b/sysdeps/unix/sysv/linux/dl-openat64.c
 17.1917 +@@ -23,10 +23,7 @@
 17.1918 + 
 17.1919 + 
 17.1920 + int
 17.1921 +-openat64 (dfd, file, oflag)
 17.1922 +-     int dfd;
 17.1923 +-     const char *file;
 17.1924 +-     int oflag;
 17.1925 ++openat64 (int dfd, const char *file, int oflag, ...)
 17.1926 + {
 17.1927 +   assert (!__OPEN_NEEDS_MODE (oflag));
 17.1928 + 
 17.1929 +diff --git a/time/strptime_l.c b/time/strptime_l.c
 17.1930 +index c3ce50fe10..454c6ad6c4 100644
 17.1931 +--- a/time/strptime_l.c
 17.1932 ++++ b/time/strptime_l.c
 17.1933 +@@ -41,9 +41,7 @@
 17.1934 + #  define localtime_r my_localtime_r
 17.1935 + static struct tm *localtime_r (const time_t *, struct tm *);
 17.1936 + static struct tm *
 17.1937 +-localtime_r (t, tp)
 17.1938 +-     const time_t *t;
 17.1939 +-     struct tm *tp;
 17.1940 ++localtime_r (const time_t *t, struct tm *tp)
 17.1941 + {
 17.1942 +   struct tm *l = localtime (t);
 17.1943 +   if (! l)
 17.1944 +diff --git a/wcsmbs/mbsnrtowcs.c b/wcsmbs/mbsnrtowcs.c
 17.1945 +index 9c354a939b..73a5c7f0c5 100644
 17.1946 +--- a/wcsmbs/mbsnrtowcs.c
 17.1947 ++++ b/wcsmbs/mbsnrtowcs.c
 17.1948 +@@ -38,12 +38,8 @@ static mbstate_t state;
 17.1949 +    implementation of stdio because we have to deal with unterminated
 17.1950 +    buffers.  At most NMC bytes will be converted.  */
 17.1951 + size_t
 17.1952 +-__mbsnrtowcs (dst, src, nmc, len, ps)
 17.1953 +-     wchar_t *dst;
 17.1954 +-     const char **src;
 17.1955 +-     size_t nmc;
 17.1956 +-     size_t len;
 17.1957 +-     mbstate_t *ps;
 17.1958 ++__mbsnrtowcs (wchar_t *dst, const char **src, size_t nmc, size_t len,
 17.1959 ++	      mbstate_t *ps)
 17.1960 + {
 17.1961 +   const unsigned char *srcend;
 17.1962 +   struct __gconv_step_data data;
 17.1963 +diff --git a/wcsmbs/mbsrtowcs_l.c b/wcsmbs/mbsrtowcs_l.c
 17.1964 +index 557b3ed7bc..d71934117d 100644
 17.1965 +--- a/wcsmbs/mbsrtowcs_l.c
 17.1966 ++++ b/wcsmbs/mbsrtowcs_l.c
 17.1967 +@@ -37,12 +37,8 @@
 17.1968 + 
 17.1969 + size_t
 17.1970 + attribute_hidden
 17.1971 +-__mbsrtowcs_l (dst, src, len, ps, l)
 17.1972 +-     wchar_t *dst;
 17.1973 +-     const char **src;
 17.1974 +-     size_t len;
 17.1975 +-     mbstate_t *ps;
 17.1976 +-     __locale_t l;
 17.1977 ++__mbsrtowcs_l (wchar_t *dst, const char **src, size_t len, mbstate_t *ps,
 17.1978 ++	       __locale_t l)
 17.1979 + {
 17.1980 +   struct __gconv_step_data data;
 17.1981 +   size_t result;
 17.1982 +diff --git a/wcsmbs/wcsnrtombs.c b/wcsmbs/wcsnrtombs.c
 17.1983 +index df83c94391..f257693aba 100644
 17.1984 +--- a/wcsmbs/wcsnrtombs.c
 17.1985 ++++ b/wcsmbs/wcsnrtombs.c
 17.1986 +@@ -37,12 +37,8 @@ static mbstate_t state;
 17.1987 +    implementation of stdio because we have to deal with unterminated
 17.1988 +    buffers.  At most NWC wide character will be converted.  */
 17.1989 + size_t
 17.1990 +-__wcsnrtombs (dst, src, nwc, len, ps)
 17.1991 +-     char *dst;
 17.1992 +-     const wchar_t **src;
 17.1993 +-     size_t nwc;
 17.1994 +-     size_t len;
 17.1995 +-     mbstate_t *ps;
 17.1996 ++__wcsnrtombs (char *dst, const wchar_t **src, size_t nwc, size_t len,
 17.1997 ++	      mbstate_t *ps)
 17.1998 + {
 17.1999 +   struct __gconv_step_data data;
 17.2000 +   const wchar_t *srcend;
 17.2001 +diff --git a/wcsmbs/wcsrtombs.c b/wcsmbs/wcsrtombs.c
 17.2002 +index bc8e7b8141..ae30368338 100644
 17.2003 +--- a/wcsmbs/wcsrtombs.c
 17.2004 ++++ b/wcsmbs/wcsrtombs.c
 17.2005 +@@ -35,11 +35,7 @@
 17.2006 + static mbstate_t state;
 17.2007 + 
 17.2008 + size_t
 17.2009 +-__wcsrtombs (dst, src, len, ps)
 17.2010 +-     char *dst;
 17.2011 +-     const wchar_t **src;
 17.2012 +-     size_t len;
 17.2013 +-     mbstate_t *ps;
 17.2014 ++__wcsrtombs (char *dst, const wchar_t **src, size_t len, mbstate_t *ps)
 17.2015 + {
 17.2016 +   struct __gconv_step_data data;
 17.2017 +   int status;
 17.2018 +-- 
 17.2019 +2.39.1
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/glibc/stuff/glibc-2.21-gcc6_fix-3.patch	Sun May 21 15:09:45 2023 +0000
    18.3 @@ -0,0 +1,14 @@
    18.4 +diff --git a/sysdeps/ieee754/flt-32/k_rem_pio2f.c b/sysdeps/ieee754/flt-32/k_rem_pio2f.c
    18.5 +index 0c7685c..a0d844c 100644
    18.6 +--- a/sysdeps/ieee754/flt-32/k_rem_pio2f.c
    18.7 ++++ b/sysdeps/ieee754/flt-32/k_rem_pio2f.c
    18.8 +@@ -65,7 +65,8 @@
    18.9 + 
   18.10 +     /* compute q[0],q[1],...q[jk] */
   18.11 + 	for (i=0;i<=jk;i++) {
   18.12 +-	    for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw;
   18.13 ++	    for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j];
   18.14 ++	    q[i] = fw;
   18.15 + 	}
   18.16 + 
   18.17 + 	jz = jk;
    19.1 --- a/gpxe/receipt	Wed May 17 06:35:38 2023 +0000
    19.2 +++ b/gpxe/receipt	Sun May 21 15:09:45 2023 +0000
    19.3 @@ -33,7 +33,8 @@
    19.4  	done
    19.5  	sed -i 's/ = ++ns->cur_rx %/++; ns->cur_rx %=/' drivers/net/ns83820.c
    19.6  	sed -i 's/ = (++tp->cur_rx) %/++; tp->cur_rx %=/' drivers/net/tulip.c
    19.7 -	make EXTRA_CFLAGS="-fno-strict-aliasing -Wno-error=unused-but-set-variable"  bin/gpxe.lkrn bin/undionly.kpxe  2>&1 | grep -v housekeeping: | grep -v blib.list
    19.8 +	make EXTRA_CFLAGS="-fno-strict-aliasing -Wno-error=unused-but-set-variable -Wno-error=array-bounds" \
    19.9 +	bin/gpxe.lkrn bin/undionly.kpxe  2>&1 | grep -v housekeeping: | grep -v blib.list
   19.10  }
   19.11  
   19.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    20.1 --- a/grub4dos/receipt	Wed May 17 06:35:38 2023 +0000
    20.2 +++ b/grub4dos/receipt	Sun May 21 15:09:45 2023 +0000
    20.3 @@ -10,7 +10,7 @@
    20.4  WEB_SITE="https://grub4dos.sourceforge.net/"
    20.5  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    20.6  
    20.7 -BUILD_DEPENDS="lzma gcc3 binutils"
    20.8 +BUILD_DEPENDS="lzma gcc49 binutils223"
    20.9  
   20.10  # What is the latest version available today?
   20.11  current_version()
   20.12 @@ -33,7 +33,9 @@
   20.13  	sed -i 's|-O binary conftest|--only-section=.text &|' acinclude.m4 configure
   20.14  	sed -i 's|-O binary |&-R .note -R .comment -R .note.gnu.build-id |' stage?/Makefile*
   20.15  	sed -i 's|-Wl,-Ttext|-Wl,--section-start=.note.gnu.property=1000 &|' stage2/Makefile*
   20.16 -	sh ./configure CC=gcc-3 \
   20.17 +	# Use -fno-reorder-functions to avoid Segment fault with gcc >= 4.6
   20.18 +	sh ./configure CC=gcc-49 \
   20.19 +		CFLAGS="-march=i486 -Os -pipe -fno-reorder-functions" \
   20.20  		--enable-preset-menu=$stuff/menu.lst \
   20.21  		--without-curses \
   20.22  	$CONFIGURE_ARGS &&
    21.1 --- a/kbd/receipt	Wed May 17 06:35:38 2023 +0000
    21.2 +++ b/kbd/receipt	Sun May 21 15:09:45 2023 +0000
    21.3 @@ -13,8 +13,8 @@
    21.4  WGET_URL="https://www.kernel.org/pub/linux/utils/kbd/$TARBALL"
    21.5  
    21.6  SUGGESTED="kbd-lang"
    21.7 -DEPENDS="gcc83-lib-base kbd-base"
    21.8 -BUILD_DEPENDS="advancecomp automake check-dev flex gcc83 pam-dev"
    21.9 +DEPENDS="gcc-lib-base kbd-base"
   21.10 +BUILD_DEPENDS="advancecomp automake check-dev flex gcc pam-dev"
   21.11  
   21.12  HOST_ARCH="i486 arm"
   21.13  
   21.14 @@ -51,8 +51,8 @@
   21.15  			;;
   21.16  		(i486)
   21.17  			./configure				\
   21.18 -				CC=gcc-83			\
   21.19 -				CXX=g++-83			\
   21.20 +				CC=gcc				\
   21.21 +				CXX=g++				\
   21.22  				--datadir=/usr/share/kbd	\
   21.23  				--localedir=/usr/share/locale	\
   21.24  				$CONFIGURE_ARGS
    22.1 --- a/libcap/receipt	Wed May 17 06:35:38 2023 +0000
    22.2 +++ b/libcap/receipt	Sun May 21 15:09:45 2023 +0000
    22.3 @@ -11,8 +11,8 @@
    22.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
    22.5  WGET_URL="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$TARBALL"
    22.6  
    22.7 -DEPENDS="attr gcc83-lib-base"
    22.8 -BUILD_DEPENDS="attr-dev gcc83 gperf pam-dev"
    22.9 +DEPENDS="attr gcc-lib-base"
   22.10 +BUILD_DEPENDS="attr-dev gcc gperf bash pam-dev"
   22.11  
   22.12  HOST_ARCH="i486 arm"
   22.13  
   22.14 @@ -32,7 +32,7 @@
   22.15  compile_rules()
   22.16  {
   22.17  	make			\
   22.18 -		CC=gcc-83	\
   22.19 +		CC=gcc		\
   22.20  		DYNAMIC=yes	\
   22.21  		$ARCH_ARGS &&
   22.22  	make	install		\
    23.1 --- a/libgfortran/receipt	Wed May 17 06:35:38 2023 +0000
    23.2 +++ b/libgfortran/receipt	Sun May 21 15:09:45 2023 +0000
    23.3 @@ -1,7 +1,7 @@
    23.4  # SliTaz package receipt.
    23.5  
    23.6  PACKAGE="libgfortran"
    23.7 -VERSION="4.9.2"
    23.8 +VERSION="6.3.0"
    23.9  CATEGORY="misc"
   23.10  SHORT_DESC="GCC fortran runtime."
   23.11  WEB_SITE="http://gcc.gnu.org/"
    24.1 --- a/libgomp/receipt	Wed May 17 06:35:38 2023 +0000
    24.2 +++ b/libgomp/receipt	Sun May 21 15:09:45 2023 +0000
    24.3 @@ -1,7 +1,7 @@
    24.4  # SliTaz package receipt.
    24.5  
    24.6  PACKAGE="libgomp"
    24.7 -VERSION="4.9.2"
    24.8 +VERSION="6.3.0"
    24.9  CATEGORY="development"
   24.10  SHORT_DESC="API specification for parallel programming."
   24.11  MAINTAINER="pascal.bellard@slitaz.org"
    25.1 --- a/libobjc/receipt	Wed May 17 06:35:38 2023 +0000
    25.2 +++ b/libobjc/receipt	Sun May 21 15:09:45 2023 +0000
    25.3 @@ -1,7 +1,7 @@
    25.4  # SliTaz package receipt.
    25.5  
    25.6  PACKAGE="libobjc"
    25.7 -VERSION="4.9.2"
    25.8 +VERSION="6.3.0"
    25.9  CATEGORY="development"
   25.10  SHORT_DESC="API for gcc object"
   25.11  MAINTAINER="slaxemulator@gmail.com"
    26.1 --- a/libtasn1/receipt	Wed May 17 06:35:38 2023 +0000
    26.2 +++ b/libtasn1/receipt	Sun May 21 15:09:45 2023 +0000
    26.3 @@ -11,8 +11,8 @@
    26.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    26.5  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    26.6  
    26.7 -DEPENDS="gcc83-lib-base"
    26.8 -BUILD_DEPENDS="gcc83"
    26.9 +DEPENDS="gcc-lib-base"
   26.10 +BUILD_DEPENDS="gcc"
   26.11  
   26.12  HOST_ARCH="i486 arm"
   26.13  
   26.14 @@ -26,8 +26,8 @@
   26.15  compile_rules()
   26.16  {
   26.17  	./configure		\
   26.18 -		CC=gcc-83	\
   26.19 -		CXX=g++-83	\
   26.20 +		CC=gcc		\
   26.21 +		CXX=g++		\
   26.22  		$CONFIGURE_ARGS &&
   26.23  	make &&
   26.24  	make install
    27.1 --- a/libusb/receipt	Wed May 17 06:35:38 2023 +0000
    27.2 +++ b/libusb/receipt	Sun May 21 15:09:45 2023 +0000
    27.3 @@ -11,8 +11,8 @@
    27.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    27.5  WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    27.6  
    27.7 -DEPENDS="gcc83-lib-base udev"
    27.8 -BUILD_DEPENDS="gcc83 udev-dev"
    27.9 +DEPENDS="gcc-lib-base udev"
   27.10 +BUILD_DEPENDS="gcc udev-dev"
   27.11  
   27.12  HOST_ARCH="i486 arm"
   27.13  
   27.14 @@ -26,8 +26,8 @@
   27.15  compile_rules()
   27.16  {
   27.17  	./configure		\
   27.18 -		CC=gcc-83	\
   27.19 -		CXX=g++-83	\
   27.20 +		CC=gcc		\
   27.21 +		CXX=g++		\
   27.22  		$CONFIGURE_ARGS &&
   27.23  	make &&
   27.24  	make install
    28.1 --- a/linux/receipt	Wed May 17 06:35:38 2023 +0000
    28.2 +++ b/linux/receipt	Sun May 21 15:09:45 2023 +0000
    28.3 @@ -12,7 +12,7 @@
    28.4  HOST_ARCH="i486 arm x86_64"
    28.5  
    28.6  DEPENDS="kmod"
    28.7 -BUILD_DEPENDS="perl git xz lzma patch kmod uclibc-cross-compiler-x86_64 bc \
    28.8 +BUILD_DEPENDS="bash perl git xz lzma patch kmod uclibc-cross-compiler-x86_64 bc \
    28.9  sysfsutils-dev libtool glib-dev libwrap libwrap-dev udev-dev"
   28.10  
   28.11  #
    29.1 --- a/microperl/receipt	Wed May 17 06:35:38 2023 +0000
    29.2 +++ b/microperl/receipt	Sun May 21 15:09:45 2023 +0000
    29.3 @@ -1,7 +1,7 @@
    29.4  # SliTaz package receipt.
    29.5  
    29.6  PACKAGE="microperl"
    29.7 -VERSION="5.14.1"
    29.8 +VERSION="5.24.1"
    29.9  CATEGORY="development"
   29.10  SHORT_DESC="A micro version of Perl."
   29.11  MAINTAINER="pankso@slitaz.org"
    30.1 --- a/ncursesw-dev/receipt	Wed May 17 06:35:38 2023 +0000
    30.2 +++ b/ncursesw-dev/receipt	Sun May 21 15:09:45 2023 +0000
    30.3 @@ -25,5 +25,5 @@
    30.4  	# nicely for both.
    30.5  	cp -a $install/usr/include		$fs/usr
    30.6  	cp $install/usr/bin/ncursesw6-config	$fs/usr/bin
    30.7 -	cp -a $install/usr/share/pkgconfig	$fs/usr/lib
    30.8 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    30.9  }
    31.1 --- a/nettle/receipt	Wed May 17 06:35:38 2023 +0000
    31.2 +++ b/nettle/receipt	Sun May 21 15:09:45 2023 +0000
    31.3 @@ -11,8 +11,8 @@
    31.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    31.5  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    31.6  
    31.7 -DEPENDS="gcc83-lib-base gmp"
    31.8 -BUILD_DEPENDS="gcc83 gmp-dev"
    31.9 +DEPENDS="gcc-lib-base gmp"
   31.10 +BUILD_DEPENDS="gcc gmp-dev"
   31.11  
   31.12  HOST_ARCH="i486 arm"
   31.13  		
   31.14 @@ -32,8 +32,8 @@
   31.15  compile_rules()
   31.16  {
   31.17  	./configure			\
   31.18 -		CC=gcc-83		\
   31.19 -		CXX=g++-83		\
   31.20 +		CC=gcc			\
   31.21 +		CXX=g++			\
   31.22  		--libdir=/usr/lib	\
   31.23  		--enable-shared		\
   31.24  		$CONFIGURE_ARGS		\
    32.1 --- a/pciutils/receipt	Wed May 17 06:35:38 2023 +0000
    32.2 +++ b/pciutils/receipt	Sun May 21 15:09:45 2023 +0000
    32.3 @@ -11,8 +11,8 @@
    32.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    32.5  WGET_URL="https://mj.ucw.cz/download/linux/pci/$TARBALL"
    32.6  
    32.7 -DEPENDS="gcc83-lib-base glibc-base pciids zlib"
    32.8 -BUILD_DEPENDS="gcc83"
    32.9 +DEPENDS="gcc-lib-base glibc-base pciids zlib"
   32.10 +BUILD_DEPENDS="gcc"
   32.11  
   32.12  # What is the latest version available today?
   32.13  current_version()
   32.14 @@ -24,7 +24,7 @@
   32.15  # Rules to configure and make the package.
   32.16  compile_rules()
   32.17  {
   32.18 -	sed -i	's|CC=cc|CC=gcc-83|'	Makefile
   32.19 +	#sed -i	's|CC=cc|CC=gcc-83|'	Makefile
   32.20  
   32.21  	make	all				\
   32.22  		OPT="${CFLAGS} -fPIC -DPIC"	\
    33.1 --- a/perl/receipt	Wed May 17 06:35:38 2023 +0000
    33.2 +++ b/perl/receipt	Sun May 21 15:09:45 2023 +0000
    33.3 @@ -1,7 +1,7 @@
    33.4  # SliTaz package receipt.
    33.5  
    33.6  PACKAGE="perl"
    33.7 -VERSION="5.14.1"
    33.8 +VERSION="5.24.1"
    33.9  CATEGORY="development"
   33.10  SHORT_DESC="Full Perl interpreter and modules."
   33.11  MAINTAINER="pankso@slitaz.org"
   33.12 @@ -59,7 +59,8 @@
   33.13  
   33.14  	# make microperl here
   33.15  	# patch to fix compiling microperl
   33.16 -	patch -p0 -i $stuff/miniperlmain.patch
   33.17 +	#patch -p0 -i $stuff/miniperlmain.patch
   33.18 +        patch -p1 -i $stuff/perl-5.24.1-microperl-fix.patch
   33.19  	# Install in /usr (default is /usr/local).
   33.20  	sed -i s/'usr\/local'/'usr'/ uconfig.sh
   33.21  	# Sed to search mods in /usr/lib/perl5.
    34.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.2 +++ b/perl/stuff/perl-5.24.1-microperl-fix.patch	Sun May 21 15:09:45 2023 +0000
    34.3 @@ -0,0 +1,137 @@
    34.4 +diff -Naur perl-5.24.1.orig/Makefile.micro perl-5.24.1/Makefile.micro
    34.5 +--- perl-5.24.1.orig/Makefile.micro	2016-07-15 00:36:55.000000000 +0530
    34.6 ++++ perl-5.24.1/Makefile.micro	2018-05-31 18:02:44.478616268 +0530
    34.7 +@@ -14,7 +14,7 @@
    34.8 + 
    34.9 + all:	microperl
   34.10 + 
   34.11 +-O = uav$(_O) udeb$(_O) udoio$(_O) udoop$(_O) udquote$(_O) udump$(_O) \
   34.12 ++O = uav$(_O) ucaretx$(_O) udeb$(_O) udoio$(_O) udoop$(_O) udquote$(_O) udump$(_O) \
   34.13 + 	uglobals$(_O) ugv$(_O) uhv$(_O) umro$(_O)\
   34.14 + 	umg$(_O) uperlmain$(_O) uop$(_O) ureentr$(_O) \
   34.15 + 	upad$(_O) uperl$(_O) uperlio$(_O) uperly$(_O) upp$(_O) \
   34.16 +@@ -37,7 +37,7 @@
   34.17 + HE = $(H) EXTERN.h
   34.18 + 
   34.19 + clean:
   34.20 +-	-rm -f $(O) microperl ugenerate_uudmap$(_X) $(generated_headers)
   34.21 ++	-rm -f $(O) microperl ugenerate_uudmap$(_X) ugenerate_uudmap$(_O) $(generated_headers)
   34.22 + 
   34.23 + distclean:	clean
   34.24 + 
   34.25 +@@ -67,6 +67,9 @@
   34.26 + uav$(_O):	$(HE) av.c
   34.27 + 	$(CC) $(CCFLAGS) -o $@ $(CFLAGS) av.c
   34.28 + 
   34.29 ++ucaretx$(_O):	$(HE) caretx.c
   34.30 ++	$(CC) $(CCFLAGS) -o $@ $(CFLAGS) caretx.c
   34.31 ++
   34.32 + udeb$(_O):	$(HE) deb.c
   34.33 + 	$(CC) $(CCFLAGS) -o $@ $(CFLAGS) deb.c
   34.34 + 
   34.35 +diff -Naur perl-5.24.1.orig/uconfig64.sh perl-5.24.1/uconfig64.sh
   34.36 +--- perl-5.24.1.orig/uconfig64.sh	2016-07-15 00:38:08.000000000 +0530
   34.37 ++++ perl-5.24.1/uconfig64.sh	2018-05-31 18:01:58.718279780 +0530
   34.38 +@@ -96,7 +96,7 @@
   34.39 + d_ctime64='undef'
   34.40 + d_ctime_r='undef'
   34.41 + d_cuserid='undef'
   34.42 +-d_dbl_dig='undef'
   34.43 ++d_dbl_dig='define'
   34.44 + d_dbminitproto='undef'
   34.45 + d_difftime64='undef'
   34.46 + d_difftime='undef'
   34.47 +@@ -630,9 +630,9 @@
   34.48 + i_dirent='define'
   34.49 + i_dlfcn='undef'
   34.50 + i_execinfo='undef'
   34.51 +-i_fcntl='undef'
   34.52 ++i_fcntl='define'
   34.53 + i_fenv='undef'
   34.54 +-i_float='undef'
   34.55 ++i_float='define'
   34.56 + i_fp='undef'
   34.57 + i_fp_class='undef'
   34.58 + i_gdbm='undef'
   34.59 +@@ -643,7 +643,7 @@
   34.60 + i_inttypes='undef'
   34.61 + i_langinfo='undef'
   34.62 + i_libutil='undef'
   34.63 +-i_limits='undef'
   34.64 ++i_limits='define'
   34.65 + i_locale='undef'
   34.66 + i_machcthr='undef'
   34.67 + i_malloc='undef'
   34.68 +@@ -878,7 +878,7 @@
   34.69 + usenm='false'
   34.70 + usensgetexecutablepath='undef'
   34.71 + useopcode='true'
   34.72 +-useperlio='undef'
   34.73 ++useperlio='define'
   34.74 + useposix='true'
   34.75 + usequadmath='undef'
   34.76 + usereentrant='undef'
   34.77 +diff -Naur perl-5.24.1.orig/uconfig.h perl-5.24.1/uconfig.h
   34.78 +--- perl-5.24.1.orig/uconfig.h	2016-07-15 00:38:08.000000000 +0530
   34.79 ++++ perl-5.24.1/uconfig.h	2018-05-31 18:01:58.718279780 +0530
   34.80 +@@ -94,7 +94,7 @@
   34.81 +  *	of significant digits in a double precision number.  If this
   34.82 +  *	symbol is not defined, a guess of 15 is usually pretty good.
   34.83 +  */
   34.84 +-/*#define HAS_DBL_DIG 	/ **/
   34.85 ++#define HAS_DBL_DIG 	/**/
   34.86 + 
   34.87 + /* HAS_DIFFTIME:
   34.88 +  *	This symbol, if defined, indicates that the difftime routine is
   34.89 +@@ -683,7 +683,7 @@
   34.90 +  *	include <float.h> to get definition of symbols like DBL_MAX or
   34.91 +  *	DBL_MIN, i.e. machine dependent floating point values.
   34.92 +  */
   34.93 +-/*#define I_FLOAT		/ **/
   34.94 ++#define I_FLOAT		/**/
   34.95 + 
   34.96 + /* I_GDBM:
   34.97 +  *	This symbol, if defined, indicates that <gdbm.h> exists and should
   34.98 +diff -Naur perl-5.24.1.orig/uconfig.sh perl-5.24.1/uconfig.sh
   34.99 +--- perl-5.24.1.orig/uconfig.sh	2016-07-15 00:38:08.000000000 +0530
  34.100 ++++ perl-5.24.1/uconfig.sh	2018-05-31 18:01:58.718279780 +0530
  34.101 +@@ -95,7 +95,7 @@
  34.102 + d_ctime64='undef'
  34.103 + d_ctime_r='undef'
  34.104 + d_cuserid='undef'
  34.105 +-d_dbl_dig='undef'
  34.106 ++d_dbl_dig='define'
  34.107 + d_dbminitproto='undef'
  34.108 + d_difftime64='undef'
  34.109 + d_difftime='undef'
  34.110 +@@ -629,9 +629,9 @@
  34.111 + i_dirent='define'
  34.112 + i_dlfcn='undef'
  34.113 + i_execinfo='undef'
  34.114 +-i_fcntl='undef'
  34.115 ++i_fcntl='define'
  34.116 + i_fenv='undef'
  34.117 +-i_float='undef'
  34.118 ++i_float='define'
  34.119 + i_fp='undef'
  34.120 + i_fp_class='undef'
  34.121 + i_gdbm='undef'
  34.122 +@@ -642,7 +642,7 @@
  34.123 + i_inttypes='undef'
  34.124 + i_langinfo='undef'
  34.125 + i_libutil='undef'
  34.126 +-i_limits='undef'
  34.127 ++i_limits='define'
  34.128 + i_locale='undef'
  34.129 + i_machcthr='undef'
  34.130 + i_malloc='undef'
  34.131 +@@ -877,7 +877,7 @@
  34.132 + usenm='false'
  34.133 + usensgetexecutablepath='undef'
  34.134 + useopcode='true'
  34.135 +-useperlio='undef'
  34.136 ++useperlio='define'
  34.137 + useposix='true'
  34.138 + usequadmath='undef'
  34.139 + usereentrant='undef'
  34.140 +
    35.1 --- a/python/receipt	Wed May 17 06:35:38 2023 +0000
    35.2 +++ b/python/receipt	Sun May 21 15:09:45 2023 +0000
    35.3 @@ -14,8 +14,8 @@
    35.4  
    35.5  RELATED="python-dev python-idle" # versions must match
    35.6  DEPENDS="bzlib gdbm libffi ncursesw openssl readline sqlite zlib"
    35.7 -BUILD_DEPENDS="bzip2-dev db-dev gdbm-dev libffi-dev ncursesw-dev 
    35.8 -	openssl-dev readline-dev sqlite-dev tcl-dev tk-dev zlib-dev"
    35.9 +BUILD_DEPENDS="bzip2-dev db-dev gdbm-dev libffi-dev ncursesw-dev \
   35.10 +openssl-dev readline-dev sqlite-dev tcl-dev tk-dev zlib-dev"
   35.11  
   35.12  HOST_ARCH="i486 arm"
   35.13  
    36.1 --- a/util-linux-blkid/receipt	Wed May 17 06:35:38 2023 +0000
    36.2 +++ b/util-linux-blkid/receipt	Sun May 21 15:09:45 2023 +0000
    36.3 @@ -8,7 +8,8 @@
    36.4  LICENSE="LGPL2.1"
    36.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    36.6  
    36.7 -DEPENDS="gcc83-lib-base glibc-base udev util-linux-mount util-linux-uuid"
    36.8 +DEPENDS="gcc-lib-base glibc-base util-linux-mount util-linux-uuid"
    36.9 +#udev (remove udev dep)
   36.10  WANTED="util-linux"
   36.11  
   36.12  HOST_ARCH="i486 arm"
    37.1 --- a/util-linux-blockdev/receipt	Wed May 17 06:35:38 2023 +0000
    37.2 +++ b/util-linux-blockdev/receipt	Sun May 21 15:09:45 2023 +0000
    37.3 @@ -8,7 +8,7 @@
    37.4  LICENSE="GPL2"
    37.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    37.6  
    37.7 -DEPENDS="gcc83-lib-base glibc-base"
    37.8 +DEPENDS="gcc-lib-base glibc-base"
    37.9  WANTED="util-linux"
   37.10  
   37.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    38.1 --- a/util-linux-cfdisk/receipt	Wed May 17 06:35:38 2023 +0000
    38.2 +++ b/util-linux-cfdisk/receipt	Sun May 21 15:09:45 2023 +0000
    38.3 @@ -8,7 +8,7 @@
    38.4  LICENSE="GPL2"
    38.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    38.6  
    38.7 -DEPENDS="gcc83-lib-base glibc-base libtinfo ncursesw util-linux-blkid 
    38.8 +DEPENDS="gcc-lib-base glibc-base libtinfo ncursesw util-linux-blkid 
    38.9  	util-linux-fdisk util-linux-mount util-linux-smartcols util-linux-uuid"
   38.10  WANTED="util-linux"
   38.11  
    39.1 --- a/util-linux-column/receipt	Wed May 17 06:35:38 2023 +0000
    39.2 +++ b/util-linux-column/receipt	Sun May 21 15:09:45 2023 +0000
    39.3 @@ -8,7 +8,7 @@
    39.4  LICENSE="GPL2"
    39.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    39.6  
    39.7 -DEPENDS="gcc83-lib-base glibc-base"
    39.8 +DEPENDS="gcc-lib-base glibc-base"
    39.9  WANTED="util-linux"
   39.10  
   39.11  HOST_ARCH="i486 arm"
    40.1 --- a/util-linux-cramfs/receipt	Wed May 17 06:35:38 2023 +0000
    40.2 +++ b/util-linux-cramfs/receipt	Sun May 21 15:09:45 2023 +0000
    40.3 @@ -8,7 +8,7 @@
    40.4  LICENSE="GPL2"
    40.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    40.6  
    40.7 -DEPENDS="gcc83-lib-base glibc-base zlib"
    40.8 +DEPENDS="gcc-lib-base glibc-base zlib"
    40.9  WANTED="util-linux"
   40.10  
   40.11  HOST_ARCH="i486 arm"
    41.1 --- a/util-linux-eject/receipt	Wed May 17 06:35:38 2023 +0000
    41.2 +++ b/util-linux-eject/receipt	Sun May 21 15:09:45 2023 +0000
    41.3 @@ -8,7 +8,7 @@
    41.4  LICENSE="GPL2"
    41.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    41.6  
    41.7 -DEPENDS="gcc83-lib-base glibc-base util-linux-blkid util-linux-mount util-linux-uuid"
    41.8 +DEPENDS="gcc-lib-base glibc-base util-linux-blkid util-linux-mount util-linux-uuid"
    41.9  WANTED="util-linux"
   41.10  
   41.11  HOST_ARCH="i486 arm"
    42.1 --- a/util-linux-fdisk/receipt	Wed May 17 06:35:38 2023 +0000
    42.2 +++ b/util-linux-fdisk/receipt	Sun May 21 15:09:45 2023 +0000
    42.3 @@ -8,7 +8,7 @@
    42.4  LICENSE="GPL2"
    42.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    42.6  
    42.7 -DEPENDS="gcc83-lib-base glibc-base libtinfo readline util-linux-blkid util-linux-uuid"
    42.8 +DEPENDS="gcc-lib-base glibc-base libtinfo readline util-linux-blkid util-linux-uuid"
    42.9  WANTED="util-linux"
   42.10  
   42.11  HOST_ARCH="i486 arm"
    43.1 --- a/util-linux-flock/receipt	Wed May 17 06:35:38 2023 +0000
    43.2 +++ b/util-linux-flock/receipt	Sun May 21 15:09:45 2023 +0000
    43.3 @@ -8,7 +8,7 @@
    43.4  LICENSE="GPL2"
    43.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    43.6  
    43.7 -DEPENDS="gcc83-lib-base glibc-base"
    43.8 +DEPENDS="gcc-lib-base glibc-base"
    43.9  WANTED="util-linux"
   43.10  
   43.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    44.1 --- a/util-linux-getopt/receipt	Wed May 17 06:35:38 2023 +0000
    44.2 +++ b/util-linux-getopt/receipt	Sun May 21 15:09:45 2023 +0000
    44.3 @@ -8,7 +8,7 @@
    44.4  LICENSE="GPL2"
    44.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    44.6  
    44.7 -DEPENDS="gcc83-lib-base glibc-base"
    44.8 +DEPENDS="gcc-lib-base glibc-base"
    44.9  WANTED="util-linux"
   44.10  
   44.11  HOST_ARCH="i486 arm"
    45.1 --- a/util-linux-losetup/receipt	Wed May 17 06:35:38 2023 +0000
    45.2 +++ b/util-linux-losetup/receipt	Sun May 21 15:09:45 2023 +0000
    45.3 @@ -9,7 +9,7 @@
    45.4  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    45.5  
    45.6  SUGGESTED="linux-cloop util-linux-mount"
    45.7 -DEPENDS="gcc83-lib-base glibc-base"
    45.8 +DEPENDS="gcc-lib-base glibc-base"
    45.9  WANTED="util-linux"
   45.10  
   45.11  HOST_ARCH="i486 arm"
    46.1 --- a/util-linux-minix/receipt	Wed May 17 06:35:38 2023 +0000
    46.2 +++ b/util-linux-minix/receipt	Sun May 21 15:09:45 2023 +0000
    46.3 @@ -8,7 +8,7 @@
    46.4  LICENSE="GPL2"
    46.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    46.6  
    46.7 -DEPENDS="gcc83-lib-base glibc-base"
    46.8 +DEPENDS="gcc-lib-base glibc-base"
    46.9  WANTED="util-linux"
   46.10  
   46.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    47.1 --- a/util-linux-mkfs/receipt	Wed May 17 06:35:38 2023 +0000
    47.2 +++ b/util-linux-mkfs/receipt	Sun May 21 15:09:45 2023 +0000
    47.3 @@ -8,7 +8,7 @@
    47.4  LICENSE="GPL2"
    47.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    47.6  
    47.7 -DEPENDS="gcc83-lib-base glibc-base util-linux-blkid util-linux-uuid zlib"
    47.8 +DEPENDS="gcc-lib-base glibc-base util-linux-blkid util-linux-uuid zlib"
    47.9  WANTED="util-linux"
   47.10  
   47.11  HOST_ARCH="i486 arm"
    48.1 --- a/util-linux-mount/receipt	Wed May 17 06:35:38 2023 +0000
    48.2 +++ b/util-linux-mount/receipt	Sun May 21 15:09:45 2023 +0000
    48.3 @@ -8,8 +8,8 @@
    48.4  LICENSE="GPL2"
    48.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    48.6  
    48.7 -DEPENDS="gcc83-lib-base glibc-base udev util-linux-blkid util-linux-smartcols
    48.8 -	util-linux-uuid"
    48.9 +DEPENDS="gcc-lib-base glibc-base util-linux-blkid util-linux-smartcols \
   48.10 +util-linux-uuid" #udev (remove udev dep)
   48.11  WANTED="util-linux"
   48.12  
   48.13  HOST_ARCH="i486 arm"
    49.1 --- a/util-linux-partx/receipt	Wed May 17 06:35:38 2023 +0000
    49.2 +++ b/util-linux-partx/receipt	Sun May 21 15:09:45 2023 +0000
    49.3 @@ -8,7 +8,7 @@
    49.4  LICENSE="GPL2"
    49.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    49.6  
    49.7 -DEPENDS="gcc83-lib-base glibc-base util-linux-blkid util-linux-smartcols
    49.8 +DEPENDS="gcc-lib-base glibc-base util-linux-blkid util-linux-smartcols
    49.9  	util-linux-uuid"
   49.10  WANTED="util-linux"
   49.11  
    50.1 --- a/util-linux-setterm/receipt	Wed May 17 06:35:38 2023 +0000
    50.2 +++ b/util-linux-setterm/receipt	Sun May 21 15:09:45 2023 +0000
    50.3 @@ -8,7 +8,7 @@
    50.4  LICENSE="GPL2"
    50.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    50.6  
    50.7 -DEPENDS="gcc83-lib-base glibc-base libtinfo"
    50.8 +DEPENDS="gcc-lib-base glibc-base libtinfo"
    50.9  WANTED="util-linux"
   50.10  
   50.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    51.1 --- a/util-linux-sfdisk/receipt	Wed May 17 06:35:38 2023 +0000
    51.2 +++ b/util-linux-sfdisk/receipt	Sun May 21 15:09:45 2023 +0000
    51.3 @@ -8,7 +8,7 @@
    51.4  LICENSE="GPL2"
    51.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    51.6  
    51.7 -DEPENDS="gcc83-lib-base glibc-base libtinfo readline util-linux-blkid
    51.8 +DEPENDS="gcc-lib-base glibc-base libtinfo readline util-linux-blkid
    51.9  	util-linux-fdisk util-linux-smartcols util-linux-uuid"
   51.10  WANTED="util-linux"
   51.11  
    52.1 --- a/util-linux-smartcols/receipt	Wed May 17 06:35:38 2023 +0000
    52.2 +++ b/util-linux-smartcols/receipt	Sun May 21 15:09:45 2023 +0000
    52.3 @@ -8,7 +8,7 @@
    52.4  LICENSE="GPL2"
    52.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    52.6  
    52.7 -DEPENDS="gcc83-lib-base glibc-base"
    52.8 +DEPENDS="gcc-lib-base glibc-base"
    52.9  WANTED="util-linux"
   52.10  
   52.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    53.1 --- a/util-linux-uuid/receipt	Wed May 17 06:35:38 2023 +0000
    53.2 +++ b/util-linux-uuid/receipt	Sun May 21 15:09:45 2023 +0000
    53.3 @@ -8,7 +8,7 @@
    53.4  LICENSE="GPL2"
    53.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    53.6  
    53.7 -DEPENDS="gcc83-lib-base glibc-base"
    53.8 +DEPENDS="gcc-lib-base glibc-base"
    53.9  WANTED="util-linux"
   53.10  
   53.11  HOST_ARCH="i486 arm"
    54.1 --- a/util-linux-whereis/receipt	Wed May 17 06:35:38 2023 +0000
    54.2 +++ b/util-linux-whereis/receipt	Sun May 21 15:09:45 2023 +0000
    54.3 @@ -8,7 +8,7 @@
    54.4  LICENSE="GPL2"
    54.5  WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    54.6  
    54.7 -DEPENDS="gcc83-lib-base glibc-base"
    54.8 +DEPENDS="gcc-lib-base glibc-base"
    54.9  WANTED="util-linux"
   54.10  
   54.11  HOST_ARCH="i486 arm"
    55.1 --- a/util-linux/receipt	Wed May 17 06:35:38 2023 +0000
    55.2 +++ b/util-linux/receipt	Sun May 21 15:09:45 2023 +0000
    55.3 @@ -11,7 +11,7 @@
    55.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
    55.5  WGET_URL="https://mirrors.edge.kernel.org/pub/linux/utils/$PACKAGE/v$VERSION/$TARBALL"
    55.6  
    55.7 -BUILD_DEPENDS="gcc83 libcap-ng-dev ncursesw-dev readline-dev python-dev udev-dev"
    55.8 +BUILD_DEPENDS="gcc libcap-ng-dev ncursesw-dev readline-dev python-dev" #udev-dev (avoid loop)
    55.9  SPLIT="util-linux-blkid
   55.10  	util-linux-blkid-dev
   55.11  	util-linux-blockdev
   55.12 @@ -56,8 +56,8 @@
   55.13  	esac
   55.14  
   55.15  	./configure			\
   55.16 -		CC=gcc-83		\
   55.17 -		CXX=g++-83		\
   55.18 +		CC=gcc			\
   55.19 +		CXX=g++			\
   55.20  		--prefix=/usr		\
   55.21  		--sysconfdir=/etc	\
   55.22  		$CONFIGURE_ARGS &&