mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
hostnamed: drop unused enums
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
|
||||
#define VALID_DEPLOYMENT_CHARS (DIGITS LETTERS "-.:")
|
||||
|
||||
/* Properties we cache are indexed by an enum, to make invalidation easy and systematic (as we can iterate
|
||||
* through them all, and they are uniformly strings). */
|
||||
enum {
|
||||
/* Read from /etc/hostname */
|
||||
PROP_STATIC_HOSTNAME,
|
||||
@@ -51,9 +53,6 @@ enum {
|
||||
PROP_DEPLOYMENT,
|
||||
PROP_LOCATION,
|
||||
|
||||
PROP_HARDWARE_VENDOR,
|
||||
PROP_HARDWARE_MODEL,
|
||||
|
||||
/* Read from /etc/os-release (or /usr/lib/os-release) */
|
||||
PROP_OS_PRETTY_NAME,
|
||||
PROP_OS_CPE_NAME,
|
||||
|
||||
Reference in New Issue
Block a user