=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/display.c,v retrieving revision 1.14 retrieving revision 1.15 diff -c -r1.14 -r1.15 *** src/usr.bin/top/display.c 2003/06/13 21:52:24 1.14 --- src/usr.bin/top/display.c 2003/06/18 08:36:31 1.15 *************** *** 1,4 **** ! /* $OpenBSD: display.c,v 1.14 2003/06/13 21:52:24 deraadt Exp $ */ /* * Top users/processes display for Unix --- 1,4 ---- ! /* $OpenBSD: display.c,v 1.15 2003/06/18 08:36:31 deraadt Exp $ */ /* * Top users/processes display for Unix *************** *** 91,101 **** static int num_procstates; static int num_cpustates; - static int num_memory; static int *lprocstates; static int *lcpustates; - static int *lmemory; static int *cpustate_columns; static int cpustate_total_length; --- 91,99 ---- *************** *** 158,165 **** cpustate_columns = (int *) malloc(num_cpustates * sizeof(int)); memory_names = statics->memory_names; - num_memory = string_count(memory_names); - lmemory = (int *) malloc(num_memory * sizeof(int)); /* calculate starting columns where needed */ cpustate_total_length = 0; --- 156,161 ----