B.A. Zeeb has uploaded this change for review. ( https://gem5-review.googlesource.com/6741

Change subject: util: remove arguments to usage(void).
......................................................................

util: remove arguments to usage(void).

The usage() function does not take any arguments.
Do not try to pass any.

Change-Id: I55b67533c1a47c776aa3674d6e29d0bce09ea2e8
---
M util/m5/m5.c
1 file changed, 2 insertions(+), 2 deletions(-)



diff --git a/util/m5/m5.c b/util/m5/m5.c
index 38da9dc..8adf820 100644
--- a/util/m5/m5.c
+++ b/util/m5/m5.c
@@ -401,7 +401,7 @@
 {
     progname = argv[0];
     if (argc < 2)
-        usage(1);
+        usage();

     map_m5_mem();

@@ -419,5 +419,5 @@
         exit(0);
     }

-    usage(1);
+    usage();
 }

--
To view, visit https://gem5-review.googlesource.com/6741
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I55b67533c1a47c776aa3674d6e29d0bce09ea2e8
Gerrit-Change-Number: 6741
Gerrit-PatchSet: 1
Gerrit-Owner: B.A. Zeeb <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to