This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.15-131-g69db4f8


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  69db4f8f463e509a3e5ccc00e70aa9f94c359d34 (commit)
      from  41b81892f11fe1353123e892158b53de73863d62 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=69db4f8f463e509a3e5ccc00e70aa9f94c359d34

commit 69db4f8f463e509a3e5ccc00e70aa9f94c359d34
Author: Marek Polacek <polacek@redhat.com>
Date:   Tue Jan 31 20:02:53 2012 +0000

    Remove PARAMS macros.

diff --git a/ChangeLog b/ChangeLog
index e62d483..2ae7308 100644
--- 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
diff --git a/libio/libio.h b/libio/libio.h
index 8997524..c37211f 100644
--- a/libio/libio.h
+++ b/libio/libio.h
@@ -67,11 +67,6 @@
 # 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
diff --git a/locale/programs/config.h b/locale/programs/config.h
index 606aa02..903db20 100644
--- a/locale/programs/config.h
+++ b/locale/programs/config.h
@@ -29,10 +29,6 @@
 
 #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
 
diff --git a/stdlib/strtol_l.c b/stdlib/strtol_l.c
index 9181bf1..325c01c 100644
--- a/stdlib/strtol_l.c
+++ b/stdlib/strtol_l.c
@@ -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
 
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                |    7 +++++++
 libio/libio.h            |    5 -----
 locale/programs/config.h |    4 ----
 stdlib/strtol_l.c        |   13 ++++---------
 4 files changed, 11 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]