summaryrefslogtreecommitdiff
path: root/nix/nix-daemon/shared.hh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-04-03 21:35:51 +0200
committerLudovic Courtès <ludo@gnu.org>2021-04-03 22:08:33 +0200
commit222fff253c6c6a3d1def16ed90723d7f2c4f9b89 (patch)
treebbe09eb4962e8cf509a03baff4fc301f9449cadf /nix/nix-daemon/shared.hh
parent58beda01217c48da52e67ac5461f33b6532b5ede (diff)
daemon: Remove dead code.
Reported by Noisytoot on #guix. * nix/nix-daemon/shared.hh (showManPage): Remove. * nix/nix-daemon/nix-daemon.cc (printHelp, programId): Remove.
Diffstat (limited to 'nix/nix-daemon/shared.hh')
-rw-r--r--nix/nix-daemon/shared.hh9
1 files changed, 0 insertions, 9 deletions
diff --git a/nix/nix-daemon/shared.hh b/nix/nix-daemon/shared.hh
index b45e9f0cfd..98ec97410b 100644
--- a/nix/nix-daemon/shared.hh
+++ b/nix/nix-daemon/shared.hh
@@ -20,18 +20,9 @@
#pragma once
-#include <string>
-
#include <stdlib.h>
#include <signal.h>
-static inline void
-showManPage (const char *name)
-{
- /* This idea is evil. Abort. */
- abort ();
-}
-
extern volatile ::sig_atomic_t blockInt;
extern char **argvSaved;