summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-05-27 15:57:48 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-05-27 15:57:48 +0000
commitfa4e63add8141b079daa5febd5f1a4060ea631ea (patch)
treed0fbbd3caa3f248842794f8a10a11a94b473553b /extra
parent9811a4df8aaee7c01eb69dee4d368f5cdb25d48d (diff)
Fix build failure due to missing 'smallint' definition
These are source files built on the host. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'extra')
-rw-r--r--extra/locale/gen_collate.c2
-rw-r--r--extra/locale/gen_wctype.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/extra/locale/gen_collate.c b/extra/locale/gen_collate.c
index a286ed654..42b20f79a 100644
--- a/extra/locale/gen_collate.c
+++ b/extra/locale/gen_collate.c
@@ -3482,7 +3482,7 @@ int nu_memcmp(const void *a, const void *b)
size_t newopt(tbl_item *ut, size_t usize, int shift, table_data *tbl)
{
- static smallint recurse;
+ static int recurse;
tbl_item *ti[RANGE]; /* table index */
size_t numblocks;
size_t blocksize;
diff --git a/extra/locale/gen_wctype.c b/extra/locale/gen_wctype.c
index ac45659d6..2e2e42506 100644
--- a/extra/locale/gen_wctype.c
+++ b/extra/locale/gen_wctype.c
@@ -767,7 +767,7 @@ int main(int argc, char **argv)
size_t newopt(unsigned char *ut, size_t usize, int shift, table_data *tbl)
{
- static smallint recurse;
+ static int recurse;
unsigned char *ti[RANGE+1]; /* table index */
size_t numblocks;
size_t blocksize;