diff options
author | Steve Peters <steve@fisharerojo.org> | 2010-08-19 13:20:59 -0500 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2010-08-19 13:20:59 -0500 |
commit | d16d4b10300b35e2d4d858a3e23cff975bc713fe (patch) | |
tree | 7fca918e55cb87b66627384dff917442b7299a8a /ext | |
parent | a9f6cb1f22586fafc61c53a46e01a0a4452dbbbb (diff) | |
download | perl-d16d4b10300b35e2d4d858a3e23cff975bc713fe.tar.gz |
Moved prototype check to XS code, allowing the .pm file change from yesterday
to be removed. Thanks to Rafael for pointing out prototypes in XS.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/I18N-Langinfo/Langinfo.pm | 4 | ||||
-rw-r--r-- | ext/I18N-Langinfo/Langinfo.xs | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/ext/I18N-Langinfo/Langinfo.pm b/ext/I18N-Langinfo/Langinfo.pm index 62c93e6454..f7bac77347 100644 --- a/ext/I18N-Langinfo/Langinfo.pm +++ b/ext/I18N-Langinfo/Langinfo.pm @@ -100,10 +100,6 @@ sub AUTOLOAD { bootstrap I18N::Langinfo $VERSION; -sub langinfo(_) { - return internal_langinfo(shift); -} - 1; __END__ diff --git a/ext/I18N-Langinfo/Langinfo.xs b/ext/I18N-Langinfo/Langinfo.xs index 2cdc50c986..62f358023d 100644 --- a/ext/I18N-Langinfo/Langinfo.xs +++ b/ext/I18N-Langinfo/Langinfo.xs @@ -16,8 +16,9 @@ PROTOTYPES: ENABLE INCLUDE: const-xs.inc SV* -internal_langinfo(code) +langinfo(code) int code + PROTOTYPE: _ CODE: #ifdef HAS_NL_LANGINFO { |