aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorkremlin <kremlin@juliana.kremlin.cc>2014-08-25 11:43:53 +0800
committerkremlin <kremlin@juliana.kremlin.cc>2014-08-25 11:43:53 +0800
commited4cf3c89bbf73021ea8a1db6ceb86f2f93683cd (patch)
tree177a0b0ec6b4516193c5c805e15f235ab52b4c96 /src
parent5ea060f8c0faa96f70bbdda34a3862c208fb3fc0 (diff)
downloadsystembsd-ed4cf3c89bbf73021ea8a1db6ceb86f2f93683cd.tar
systembsd-ed4cf3c89bbf73021ea8a1db6ceb86f2f93683cd.tar.gz
systembsd-ed4cf3c89bbf73021ea8a1db6ceb86f2f93683cd.tar.bz2
systembsd-ed4cf3c89bbf73021ea8a1db6ceb86f2f93683cd.tar.lz
systembsd-ed4cf3c89bbf73021ea8a1db6ceb86f2f93683cd.tar.xz
systembsd-ed4cf3c89bbf73021ea8a1db6ceb86f2f93683cd.tar.zst
systembsd-ed4cf3c89bbf73021ea8a1db6ceb86f2f93683cd.zip
change polkit-auth.{c,h} to util.{c,h}
we are going to include the /etc/os-release changing functions in here.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/hostnamed/hostnamed.c2
-rw-r--r--src/interfaces/localed/localed.c2
-rw-r--r--src/interfaces/logind/logind.c2
-rw-r--r--src/interfaces/timedated/timedated.c2
-rw-r--r--src/util.c (renamed from src/polkit-auth.c)2
-rw-r--r--src/util.h (renamed from src/polkit-auth.h)0
6 files changed, 5 insertions, 5 deletions
diff --git a/src/interfaces/hostnamed/hostnamed.c b/src/interfaces/hostnamed/hostnamed.c
index 81200e7..f3a6372 100644
--- a/src/interfaces/hostnamed/hostnamed.c
+++ b/src/interfaces/hostnamed/hostnamed.c
@@ -34,7 +34,7 @@
#include "hostnamed-gen.h"
#include "hostnamed.h"
-#include "../../polkit-auth.h"
+#include "../../util.h"
/* format: {
* (1) string to be matched against runtime machine's sysctl output.
diff --git a/src/interfaces/localed/localed.c b/src/interfaces/localed/localed.c
index 33769a3..da690af 100644
--- a/src/interfaces/localed/localed.c
+++ b/src/interfaces/localed/localed.c
@@ -28,7 +28,7 @@
#include "localed-gen.h"
#include "localed.h"
-#include "../../polkit-auth.h"
+#include "../../util.h"
GPtrArray *localed_freeable;
Locale1 *localed_interf;
diff --git a/src/interfaces/logind/logind.c b/src/interfaces/logind/logind.c
index c445665..02323d0 100644
--- a/src/interfaces/logind/logind.c
+++ b/src/interfaces/logind/logind.c
@@ -28,7 +28,7 @@
#include "logind-gen.h"
#include "logind.h"
-#include "../../polkit-auth.h"
+#include "../../util.h"
GPtrArray *logind_freeable;
Login1Manager *logind_interf;
diff --git a/src/interfaces/timedated/timedated.c b/src/interfaces/timedated/timedated.c
index f76850c..bda7098 100644
--- a/src/interfaces/timedated/timedated.c
+++ b/src/interfaces/timedated/timedated.c
@@ -28,7 +28,7 @@
#include "timedated-gen.h"
#include "timedated.h"
-#include "../../polkit-auth.h"
+#include "../../util.h"
GPtrArray *timedated_freeable;
Timedate1 *timedated_interf;
diff --git a/src/polkit-auth.c b/src/util.c
index f967cd0..f228c9a 100644
--- a/src/polkit-auth.c
+++ b/src/util.c
@@ -22,7 +22,7 @@
#include <glib-unix.h>
#include <polkit/polkit.h>
-#include "polkit-auth.h"
+#include "util.h"
static gboolean is_valid_action(GList *action_list, const gchar *action) {
diff --git a/src/polkit-auth.h b/src/util.h
index 5775fb4..5775fb4 100644
--- a/src/polkit-auth.h
+++ b/src/util.h