summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-05-03 13:04:14 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-05-03 13:04:14 +0200
commit455cd6cadefb6f287fb423773ce397dd265cc5bc (patch)
tree91c8c80519eb52c16378095be2f5ec0ca81c6fc2 /include/stdlib.h
parent8e96c897b6d167980f1f3d6fc03a54dbff0bcf21 (diff)
rpmatch: provide out-of-line implementation
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 8ea6541f0..fdefe4aa4 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -833,12 +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 */
-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;
-}
+extern int rpmatch (__const char *__response) __THROW __nonnull ((1)) __wur;
#endif