summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-05-02 01:14:17 -0400
committerMike Frysinger <vapier@gentoo.org>2012-05-02 01:14:58 -0400
commit61fec9e2b323af7edd3788de48f7fe956f767034 (patch)
treecaff7725493e2970854ab2eed7088d90d3f78922
parentecc6a1d1580086572c4c505330be52dbad205c27 (diff)
rpmatch: fix previous commit w/C++ compilers
The throw markings on the inline func trigger errors when building with C++. Since this inline version doesn't throw any exceptions, just drop the markings completely and be done with it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--include/stdlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 05a18eb8f..56cdd984d 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -833,7 +833,7 @@ __END_NAMESPACE_STD
or negative response expression as specified by the LC_MESSAGES category
in the program's current locale. Returns 1 if affirmative, 0 if
negative, and -1 if not matching. */
-__THROW __nonnull ((1)) __wur
+__nonnull ((1)) __wur
static inline int rpmatch (__const char *__response)
{
return (__response[0] == 'y' || __response[0] == 'Y') ? 1 :