summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/util.c b/src/util.c
index 4e371d148e..c4ff5aa575 100644
--- a/src/util.c
+++ b/src/util.c
@@ -2492,18 +2492,6 @@ char* gethostname_malloc(void) {
return strdup(u.sysname);
}
-int getmachineid_malloc(char **b) {
- int r;
-
- assert(b);
-
- if ((r = read_one_line_file("/var/lib/dbus/machine-id", b)) < 0)
- return r;
-
- strstrip(*b);
- return 0;
-}
-
char* getlogname_malloc(void) {
uid_t uid;
long bufsize;