From f32f28695d938597ad93177dc83225dcb3c69f74 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 14 Jun 2010 08:18:26 -0700 Subject: Fix a couple of __REDIRECT () __THROW occurrences This patch fixes some cases which fail to parse with C++. --- posix/getopt.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'posix/getopt.h') diff --git a/posix/getopt.h b/posix/getopt.h index ff0251d..6e2fa27 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; -- cgit v1.1