about summary refs log tree commit diff stats
path: root/001help.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-07-25 20:47:41 -0700
committerKartik Agaram <vc@akkartik.com>2018-07-25 20:47:41 -0700
commit1a33d221c1a23c218d3457dfe2a4344c2a33f9a1 (patch)
tree1a1c36fc15a05b88564bed9215e59bcfe267aea9 /001help.cc
parentd671148d99e35b7643068d3ea59babaf7ce336e8 (diff)
downloadmu-1a33d221c1a23c218d3457dfe2a4344c2a33f9a1.tar.gz
4413
Never mind, let's drop unused/vestigial altogether. Use absence of names
to signal unused arguments.
Diffstat (limited to '001help.cc')
-rw-r--r--001help.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/001help.cc b/001help.cc
index 280c3588..3cab06d9 100644
--- a/001help.cc
+++ b/001help.cc
@@ -157,7 +157,7 @@ void initialize_signal_handlers() {
   sigaction(SIGABRT, &action, NULL);  // assert() failure or integer overflow on linux (with -ftrapv)
   sigaction(SIGILL,  &action, NULL);  // integer overflow on OS X (with -ftrapv)
 }
-void dump_and_exit(int sig, vestigial siginfo_t*, vestigial void*) {
+void dump_and_exit(int sig, siginfo_t* /*unused*/, void* /*unused*/) {
   switch (sig) {
     case SIGABRT:
       #ifndef __APPLE__
@@ -256,8 +256,6 @@ using std::cerr;
 #include <string>
 using std::string;
 
-#define vestigial  __attribute__((unused))
-
 #include <algorithm>
 using std::min;
 using std::max;