diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-20 20:28:35 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-20 20:28:35 +0000 |
commit | 380783acef86885b2a3d8b9058598a2dd22e2dba (patch) | |
tree | 65d482a7ae2815049f56f4b34f27baf0acce0ef6 /libc/misc/internals/__uClibc_main.c | |
parent | 86be6a02075123f0b47115b24286703ea8351417 (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 'libc/misc/internals/__uClibc_main.c')
-rw-r--r-- | libc/misc/internals/__uClibc_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index 92aeead0e..60989298e 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -22,7 +22,6 @@ #include <link.h> #include <bits/uClibc_page.h> #include <paths.h> -#include <unistd.h> #include <asm/errno.h> #include <fcntl.h> #include <sys/stat.h> @@ -183,7 +182,7 @@ extern void __uClibc_init(void); libc_hidden_proto(__uClibc_init) void __uClibc_init(void) { - static int been_there_done_that = 0; + static smallint been_there_done_that; if (been_there_done_that) return; |