diff options
-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 { |