diff options
author | kremlin <kremlin@juliana.kremlin.cc> | 2014-08-25 11:43:53 +0800 |
---|---|---|
committer | kremlin <kremlin@juliana.kremlin.cc> | 2014-08-25 11:43:53 +0800 |
commit | ed4cf3c89bbf73021ea8a1db6ceb86f2f93683cd (patch) | |
tree | 177a0b0ec6b4516193c5c805e15f235ab52b4c96 | |
parent | 5ea060f8c0faa96f70bbdda34a3862c208fb3fc0 (diff) | |
download | systembsd-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.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/interfaces/hostnamed/hostnamed.c | 2 | ||||
-rw-r--r-- | src/interfaces/localed/localed.c | 2 | ||||
-rw-r--r-- | src/interfaces/logind/logind.c | 2 | ||||
-rw-r--r-- | src/interfaces/timedated/timedated.c | 2 | ||||
-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 |
7 files changed, 6 insertions, 6 deletions
@@ -79,7 +79,7 @@ _build_genfile_objs: _generate_genfiles _build_auth_obj $(CC) -o bin/obj/logind-gen.o $(CFLAGS) $(GLIBOF) -c $(INTFDIR)/logind/logind-gen.c _build_auth_obj: - $(CC) -o bin/obj/polkit-auth.o $(CFLAGS) $(GLIBOF) -c $(SRCDIR)/polkit-auth.c + $(CC) -o bin/obj/polkit-auth.o $(CFLAGS) $(GLIBOF) -c $(SRCDIR)/util.c _generate_genfiles: $(INVOKE_GENFILE_SCRIPT) hostnamed 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 |