summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2018-10-16 20:38:17 -0700
committerMichael Forney <mforney@mforney.org>2018-10-18 15:27:53 -0700
commit3c53b723a799c8d6c5bcbf0e82de1fa0f8d9f63d (patch)
tree8d1a98f1819eae5e2a2d551a154756358e06215c
parent314c8b36a2ec5e43d2d516b9c09a6129f31b260c (diff)
util-linux: Remove unnecessary HAVE_IOPERM and HAVE_IOPL
-rw-r--r--pkg/util-linux/README.md4
-rw-r--r--pkg/util-linux/config.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/pkg/util-linux/README.md b/pkg/util-linux/README.md
index 1b4ca8b6..e90607ad 100644
--- a/pkg/util-linux/README.md
+++ b/pkg/util-linux/README.md
@@ -16,3 +16,7 @@ requires that we enable them, they aren't actually needed to build fdisk.
`_PATH_RUNSTATEDIR` and `LOCALEDIR` are defined in a separate top section. They
are normally defined with flags in `Makefile.am`.
+
+`HAVE_IOPERM` was removed since it appears to be unused. `HAVE_IOPL`
+was removed since it is only used by `sys-utils/hwclock-cmos.c`,
+which we don't build.
diff --git a/pkg/util-linux/config.h b/pkg/util-linux/config.h
index 93ee2751..a0c780c9 100644
--- a/pkg/util-linux/config.h
+++ b/pkg/util-linux/config.h
@@ -51,8 +51,6 @@
#define HAVE_INOTIFY_INIT 1
#define HAVE_INOTIFY_INIT1 1
#define HAVE_INTTYPES_H 1
-#define HAVE_IOPERM 1
-#define HAVE_IOPL 1
/* #undef HAVE_ISNAN */
#define HAVE_JRAND48 1
/* #undef HAVE_LANGINFO_ALTMON */