提交 15230afc 编写于 作者: R Rich Felker

add internal header for declaring __pleval function (used by gettext)

locale_impl.h could have been used, but this function is completely
independent of anything else, and preserving that property seems nice.
上级 50a298ea
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include "locale_impl.h" #include "locale_impl.h"
#include "libc.h" #include "libc.h"
#include "atomic.h" #include "atomic.h"
#include "pleval.h"
struct binding { struct binding {
struct binding *next; struct binding *next;
...@@ -114,7 +115,6 @@ weak_alias(dummy_gettextdomain, __gettextdomain); ...@@ -114,7 +115,6 @@ weak_alias(dummy_gettextdomain, __gettextdomain);
const unsigned char *__map_file(const char *, size_t *); const unsigned char *__map_file(const char *, size_t *);
int __munmap(void *, 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) char *dcngettext(const char *domainname, const char *msgid1, const char *msgid2, unsigned long int n, int category)
{ {
......
#include <stdlib.h> #include <stdlib.h>
#include <ctype.h> #include <ctype.h>
#include "pleval.h"
/* /*
grammar: grammar:
......
#ifndef PLEVAL_H
#define PLEVAL_H
unsigned long __pleval(const char *, unsigned long);
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册