OSDN Git Service

getopt: do not needlessly use static structure.
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 20 May 2008 20:32:27 +0000 (20:32 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 20 May 2008 20:32:27 +0000 (20:32 -0000)
commit43eb269ab1d216074e18dadc74c9671398dfe938
tree937470bd2097d85323b2d1ae3eedde5734ed13d2
parent380783acef86885b2a3d8b9058598a2dd22e2dba
getopt: do not needlessly use static structure.
Reorder structure members and change some of them into smallints
to reduce bss and text:
    text    data    bss   dec     hex filename
-   2403    12       40   2455    997 libc/unistd/getopt.o
+   2252    12        0   2264    8d8 libc/unistd/getopt.o
libc/unistd/getopt.c
libc/unistd/getopt_int.h