summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-05-20 20:28:35 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-05-20 20:28:35 +0000
commit380783acef86885b2a3d8b9058598a2dd22e2dba (patch)
tree65d482a7ae2815049f56f4b34f27baf0acce0ef6 /extra
parent86be6a02075123f0b47115b24286703ea8351417 (diff)
Introduce and use small[u]int type. Changes in size:
- 79 0 28 107 6b libc/inet/rpc/create_xid.o + 76 0 25 101 65 libc/inet/rpc/create_xid.o - 126 0 4 130 82 libc/misc/assert/__assert.o + 123 0 1 124 7c libc/misc/assert/__assert.o - 648 4 24 676 2a4 libc/misc/internals/__uClibc_main.o + 645 4 21 670 29e libc/misc/internals/__uClibc_main.o - 230 0 4 234 ea libc/stdlib/abort.o + 216 0 1 217 d9 libc/stdlib/abort.o - 129 0 4 133 85 libc/termios/tcgetsid.o + 126 0 1 127 7f libc/termios/tcgetsid.o
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 7d90bcd71..a286ed654 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 int recurse = 0;
+ static smallint 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 c5279aadd..ac45659d6 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 int recurse = 0;
+ static smallint recurse;
unsigned char *ti[RANGE+1]; /* table index */
size_t numblocks;
size_t blocksize;