Merge from vendor branch GCC:
[dragonfly.git] / contrib / top / patches / commands.c.patch
1 Index: commands.c
2 ===================================================================
3 RCS file: /cvs/DragonFly/src/contrib/top/commands.c,v
4 retrieving revision 1.2
5 diff -u -p -u -r1.2 commands.c
6 --- commands.c  17 Jun 2003 04:24:07 -0000      1.2
7 +++ commands.c  4 Jun 2004 11:37:12 -0000
8 @@ -31,8 +31,6 @@
9  #include "boolean.h"
10  #include "utils.h"
11  
12 -extern int  errno;
13 -
14  extern char *copyright;
15  
16  /* imported from screen.c */
17 @@ -73,11 +73,14 @@ d       - change number of displays to s
18  e       - list errors generated by last \"kill\" or \"renice\" command\n\
19  i       - toggle the displaying of idle processes\n\
20  I       - same as 'i'\n\
21 +O      - only display threads\n\
22 +T      - toggle the displaying of threads\n\
23 +S      - toggle the displaying of system processes\n\
24  k       - kill processes; send a signal to a list of processes\n\
25  n or #  - change number of processes to display\n", stdout);
26  #ifdef ORDER
27         fputs("\
28 -o       - specify sort order (pri, size, res, cpu, time)\n", stdout);
29 +o       - specify sort order (pri, size, res, cpu, time, thr)\n", stdout);
30  #endif
31         fputs("\
32  r       - renice a process\n\