aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Hubrecht <github@mail.hubrecht.ovh>2024-05-28 16:20:49 +0200
committerTom Hubrecht <github@mail.hubrecht.ovh>2024-05-29 11:42:42 +0200
commit74513483bc5572d988a059b8e964662d66f1667f (patch)
tree654adaa49332952eef4506d57f1fde0d25676920 /src
parent93ebb3e7dfb75ce23c1fb46d8e70208a2bad0c02 (diff)
util.cc: Delete remaining file
Change-Id: I2b47848904f2ce7bd78b83738e99a4c9da627751
Diffstat (limited to 'src')
-rw-r--r--src/libutil/meson.build1
-rw-r--r--src/libutil/util.cc79
2 files changed, 0 insertions, 80 deletions
diff --git a/src/libutil/meson.build b/src/libutil/meson.build
index 5e767b447..64d84c714 100644
--- a/src/libutil/meson.build
+++ b/src/libutil/meson.build
@@ -40,7 +40,6 @@ libutil_sources = files(
'url.cc',
'url-name.cc',
'users.cc',
- 'util.cc',
'xml-writer.cc',
)
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
deleted file mode 100644
index d9bd71b5f..000000000
--- a/src/libutil/util.cc
+++ /dev/null
@@ -1,79 +0,0 @@
-#include "util.hh"
-#include "processes.hh"
-#include "strings.hh"
-#include "current-process.hh"
-
-#include "sync.hh"
-#include "finally.hh"
-#include "serialise.hh"
-#include "cgroup.hh"
-#include "signals.hh"
-#include "environment-variables.hh"
-#include "file-system.hh"
-
-#include <array>
-#include <cctype>
-#include <cerrno>
-#include <climits>
-#include <cstdio>
-#include <cstdlib>
-#include <cstring>
-#include <future>
-#include <iostream>
-#include <mutex>
-#include <sstream>
-#include <thread>
-
-#include <fcntl.h>
-#include <grp.h>
-#include <pwd.h>
-#include <sys/ioctl.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/wait.h>
-#include <sys/time.h>
-#include <sys/un.h>
-#include <unistd.h>
-
-#ifdef __APPLE__
-#include <sys/syscall.h>
-#include <mach-o/dyld.h>
-#endif
-
-#ifdef __linux__
-#include <sys/prctl.h>
-#include <sys/resource.h>
-#include <sys/mman.h>
-
-#include <cmath>
-#endif
-
-
-#ifdef NDEBUG
-#error "Lix may not be built with assertions disabled (i.e. with -DNDEBUG)."
-#endif
-
-namespace nix {
-
-
-//////////////////////////////////////////////////////////////////////
-
-
-//////////////////////////////////////////////////////////////////////
-
-
-
-
-//////////////////////////////////////////////////////////////////////
-
-
-
-
-
-
-
-//////////////////////////////////////////////////////////////////////
-
-
-
-}