diff --git a/src/locale/dcngettext.c b/src/locale/dcngettext.c index d8af96037119455d78aaab72d8227d518e2b3764..de0828d9e8836d9042c123be099f5eb85f5af137 100644 --- a/src/locale/dcngettext.c +++ b/src/locale/dcngettext.c @@ -8,6 +8,7 @@ #include "locale_impl.h" #include "libc.h" #include "atomic.h" +#include "pleval.h" struct binding { struct binding *next; @@ -114,7 +115,6 @@ weak_alias(dummy_gettextdomain, __gettextdomain); const unsigned char *__map_file(const char *, size_t *); int __munmap(void *, size_t); -unsigned long __pleval(const char *, unsigned long); char *dcngettext(const char *domainname, const char *msgid1, const char *msgid2, unsigned long int n, int category) { diff --git a/src/locale/pleval.c b/src/locale/pleval.c index d60058da6c3711a3ceaed85f89afbb2f442f1fb5..04da1c45e85989c831d1e5deb84055498e0e42b9 100644 --- a/src/locale/pleval.c +++ b/src/locale/pleval.c @@ -1,5 +1,6 @@ #include #include +#include "pleval.h" /* grammar: diff --git a/src/locale/pleval.h b/src/locale/pleval.h new file mode 100644 index 0000000000000000000000000000000000000000..398d1b98ef76d703df904bc54c8f80ff100159f4 --- /dev/null +++ b/src/locale/pleval.h @@ -0,0 +1,6 @@ +#ifndef PLEVAL_H +#define PLEVAL_H + +unsigned long __pleval(const char *, unsigned long); + +#endif