reduce waste

This commit is contained in:
albert 2002-10-22 04:55:12 +00:00
parent 7885375300
commit 9cae81a619

View File

@ -53,14 +53,14 @@ typedef struct proc_t {
start_time; /* start time of process -- seconds since 1-1-70 */ start_time; /* start time of process -- seconds since 1-1-70 */
#ifdef SIGNAL_STRING #ifdef SIGNAL_STRING
char char
/* Linux 2.1.7x and up have more signals. This handles 88. */ /* Linux 2.1.7x and up have 64 signals. Allow 64, plus '\0' and padding. */
signal[24], /* mask of pending signals */ signal[18], /* mask of pending signals */
blocked[24], /* mask of blocked signals */ blocked[18], /* mask of blocked signals */
sigignore[24], /* mask of ignored signals */ sigignore[18], /* mask of ignored signals */
sigcatch[24]; /* mask of caught signals */ sigcatch[18]; /* mask of caught signals */
#else #else
long long long long
/* Linux 2.1.7x and up have more signals. This handles 64. */ /* Linux 2.1.7x and up have 64 signals. */
signal, /* mask of pending signals */ signal, /* mask of pending signals */
blocked, /* mask of blocked signals */ blocked, /* mask of blocked signals */
sigignore, /* mask of ignored signals */ sigignore, /* mask of ignored signals */
@ -105,8 +105,6 @@ typedef struct proc_t {
kstk_esp, /* kernel stack pointer */ kstk_esp, /* kernel stack pointer */
kstk_eip, /* kernel instruction pointer */ kstk_eip, /* kernel instruction pointer */
wchan; /* address of kernel wait channel proc is sleeping in */ wchan; /* address of kernel wait channel proc is sleeping in */
struct proc_s *l, /* ptrs for building arbitrary linked structs */
*r; /* (i.e. singly/doubly-linked lists and trees */
char char
**environ, /* environment string vector (/proc/#/environ) */ **environ, /* environment string vector (/proc/#/environ) */
**cmdline; /* command line string vector (/proc/#/cmdline) */ **cmdline; /* command line string vector (/proc/#/cmdline) */