On Tue, Jul 22, 2008 at 11:00:57PM +0200, Denys Vlasenko wrote:
> Hm.
> 
> +static struct prg_node {
> +     struct prg_node *next;
> +     int inode;
> +     char name[PROGNAME_WIDTH];
> +} *prg_list = NULL;
> +
> +static int flag_prg = 0;
> 
> 
> It still has these statics. I explained how to get rid of them:
...
> 
> Can you do it?


It has those two, plus a bunch of others it had before I started
messing with it:

static smallint flags = NETSTAT_CONNECTED | NETSTAT_ALLPROTO;

static const char *const tcp_state[] = {
...
};

typedef enum {
...
} socket_state;

static const char *net_conn_line = PRINT_NET_CONN;


I'll get them all into a struct globals thingie, if
that's the price of getting 'netstat -p' from busybox... :)

BRB,
Gabriel
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to