d9a9305b62
Make the patch to util.c apply without fuzz.
32 lines
723 B
Text
32 lines
723 B
Text
$NetBSD: patch-aa,v 1.7 1999/12/08 16:18:49 agc Exp $
|
|
|
|
--- commands.c Tue Aug 27 16:13:57 1996
|
|
+++ commands.c Sat Oct 4 03:25:02 1997
|
|
@@ -25,4 +25,7 @@
|
|
|
|
+#include "top.h"
|
|
+#include "top.local.h"
|
|
#include "sigdesc.h" /* generated automatically */
|
|
#include "boolean.h"
|
|
+#include "machine.h"
|
|
#include "utils.h"
|
|
@@ -44,4 +47,4 @@
|
|
|
|
-show_help()
|
|
-
|
|
+show_help(statics)
|
|
+ struct statics *statics;
|
|
{
|
|
@@ -74,4 +77,11 @@
|
|
#ifdef ORDER
|
|
+ {
|
|
+ int i;
|
|
+
|
|
fputs("\
|
|
-o - specify sort order (size, res, cpu, time)\n", stdout);
|
|
+o - specify sort order (", stdout);
|
|
+ for (i = 0; statics->order_names[i] != NULL; i++)
|
|
+ printf("%s%s", i == 0 ? "" : ", ", statics->order_names[i]);
|
|
+ puts(")");
|
|
+ }
|
|
#endif
|