diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-01-09 06:04:26 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-03-14 10:22:32 +0100 |
commit | d1325d57413c007e17847074c70005c40e32bc9d (patch) | |
tree | 58e814a96b7587824c29ad3bb3a6ab79b28a6484 /src/basic/hostname-util.c | |
parent | f6a95fdea68174e678daf94ebe4c2753e7b97761 (diff) |
Prep v226: Mask all unneeded functions
Diffstat (limited to 'src/basic/hostname-util.c')
-rw-r--r-- | src/basic/hostname-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/hostname-util.c b/src/basic/hostname-util.c index f221c6ff1..a55b4149d 100644 --- a/src/basic/hostname-util.c +++ b/src/basic/hostname-util.c @@ -159,6 +159,8 @@ bool is_localhost(const char *hostname) { endswith_no_case(hostname, ".localdomain."); } +/// UNNEEDED by elogind +#if 0 bool is_gateway_hostname(const char *hostname) { assert(hostname); @@ -170,8 +172,6 @@ bool is_gateway_hostname(const char *hostname) { strcaseeq(hostname, "gateway."); } -/// UNNEEDED by elogind -#if 0 int sethostname_idempotent(const char *s) { char buf[HOST_NAME_MAX + 1] = {}; |