summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-11 23:19:04 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-11 23:19:04 +0200
commit1e59887dc92e163163051e627817e1675374cd22 (patch)
tree5d5364029f749f08670e6ef272fbf6287b9780cd /src/util.c
parente51bc1a23e8f581e4fe46aa4df1bd93b7042c184 (diff)
gc: remove a lot of unused code
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;