about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-06-14 08:18:26 -0700
committerUlrich Drepper <drepper@redhat.com>2010-06-14 08:18:26 -0700
commitf32f28695d938597ad93177dc83225dcb3c69f74 (patch)
tree599849efdd57eb02f9a076339ea9eb0798912892 /posix
parent2a50c07836d2750baf70442f8f760bf6cd43b3af (diff)
downloadglibc-f32f28695d938597ad93177dc83225dcb3c69f74.tar.gz
glibc-f32f28695d938597ad93177dc83225dcb3c69f74.tar.xz
glibc-f32f28695d938597ad93177dc83225dcb3c69f74.zip
Fix a couple of __REDIRECT () __THROW occurrences
This patch fixes some cases which fail to parse with C++.
Diffstat (limited to 'posix')
-rw-r--r--posix/getopt.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/posix/getopt.h b/posix/getopt.h
index ff0251dec0..6e2fa27180 100644
--- a/posix/getopt.h
+++ b/posix/getopt.h
@@ -1,5 +1,5 @@
 /* Declarations for getopt.
-   Copyright (C) 1989-1994,1996-1999,2001,2003,2004,2009
+   Copyright (C) 1989-1994,1996-1999,2001,2003,2004,2009,2010
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -158,9 +158,9 @@ extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
    additional functionality can be disable at runtime.  This redirection
    helps to also do this at runtime.  */
 #  ifdef __REDIRECT
-  extern int __REDIRECT (getopt, (int ___argc, char *const *___argv,
-				  const char *__shortopts),
-			 __posix_getopt) __THROW;
+  extern int __REDIRECT_NTH (getopt, (int ___argc, char *const *___argv,
+				      const char *__shortopts),
+			     __posix_getopt);
 #  else
 extern int __posix_getopt (int ___argc, char *const *___argv,
 			   const char *__shortopts) __THROW;