summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-05-03 10:58:24 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-05-03 10:58:24 +0200
commit8e96c897b6d167980f1f3d6fc03a54dbff0bcf21 (patch)
tree8bbb6b5793973afe24d0dbf217a97349249be08a /include
parent61fec9e2b323af7edd3788de48f7fe956f767034 (diff)
rpmatch: make decl parsable
Mike, it would have been much simpler to just leave the header impl-free Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 56cdd984d..8ea6541f0 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -833,8 +833,8 @@ __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. */
-__nonnull ((1)) __wur
-static inline int rpmatch (__const char *__response)
+/* __THROW */
+static __inline __nonnull ((1)) __wur int rpmatch (__const char *__response)
{
return (__response[0] == 'y' || __response[0] == 'Y') ? 1 :
(__response[0] == 'n' || __response[0] == 'N') ? 0 : -1;