]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove PARAMS macros.
authorMarek Polacek <polacek@redhat.com>
Tue, 31 Jan 2012 20:02:53 +0000 (20:02 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 31 Jan 2012 20:02:53 +0000 (20:02 +0000)
ChangeLog
libio/libio.h
locale/programs/config.h
stdlib/strtol_l.c

index e62d483b07927973997d55aa2500082ff640c828..2ae7308223f353bc1f607a8abbea191b33147f93 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-01-31  Marek Polacek  <polacek@redhat.com>
+
+       * libio/libio.h: Don't define _PARAMS.
+       * locale/programs/config.h: Don't define PARAMS.
+       * stdlib/strtol_l.c: Likewise.
+       (__strtol_l): Remove PARAMS from the prototype.
+
 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
 
        * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
index 899752482915437d15fd96dff50ba7609a23d084..c37211f8ec3c8076b8760bc4b63b8222547dd77f 100644 (file)
 # endif
 #endif /*!__P*/
 
-/* For backward compatibility */
-#ifndef _PARAMS
-# define _PARAMS(protos) __P(protos)
-#endif /*!_PARAMS*/
-
 #define _IO_UNIFIED_JUMPTABLES 1
 #ifndef _G_HAVE_PRINTF_FP
 # define _IO_USE_DTOA 1
index 606aa02cbfe01621b13f2bcf5df27db46f5d5285..903db20917b8299326b40e2eb7dcb75635f12239 100644 (file)
 
 #define DEFAULT_CHARMAP "ANSI_X3.4-1968" /* ASCII */
 
-#ifndef PARAMS
-# define PARAMS(args) args
-#endif
-
 /* This must be one higer than the last used LC_xxx category value.  */
 #define __LC_LAST      13
 
index 9181bf10ee6681d57a013bb000c3ff380e17f141..325c01cac8c907ee3b5c4a65416eb95733bf6495 100644 (file)
@@ -1,5 +1,6 @@
 /* Convert string representing a number to integer value, using given locale.
-   Copyright (C) 1997, 2002, 2004, 2006, 2007, 2010 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2002, 2004, 2006, 2007, 2010, 2012
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -536,16 +537,10 @@ libc_hidden_def (INTERNAL (__strtol_l))
 /* External user entry point.  */
 
 #if _LIBC - 0 == 0
-# undef PARAMS
-# if defined (__STDC__) && __STDC__
-#  define PARAMS(Args) Args
-# else
-#  define PARAMS(Args) ()
-# endif
 
 /* Prototype.  */
-extern INT __strtol_l PARAMS ((const STRING_TYPE *nptr, STRING_TYPE **endptr,
-                              int base));
+extern INT __strtol_l (const STRING_TYPE *nptr, STRING_TYPE **endptr,
+                      int base);
 #endif