summaryrefslogtreecommitdiffstats
path: root/src/login
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-05-17 08:54:00 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-06-19 16:37:12 +0200
commitff3f29537c1a85ff115d6eb3bd756453e1bfab4e (patch)
tree0fff42be5584999b166a07e7103aacb9b844ffa0 /src/login
parentvarious: move const ptr indicator to return value (diff)
downloadsystemd-ff3f29537c1a85ff115d6eb3bd756453e1bfab4e.tar.xz
systemd-ff3f29537c1a85ff115d6eb3bd756453e1bfab4e.zip
various: move ptr indicator to return value
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind-seat-dbus.c2
-rw-r--r--src/login/logind-seat-dbus.h2
-rw-r--r--src/login/logind-session-dbus.c2
-rw-r--r--src/login/logind-session-dbus.h2
-rw-r--r--src/login/logind-user-dbus.c2
-rw-r--r--src/login/logind-user-dbus.h2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/login/logind-seat-dbus.c b/src/login/logind-seat-dbus.c
index 0a395c6509..380990c05d 100644
--- a/src/login/logind-seat-dbus.c
+++ b/src/login/logind-seat-dbus.c
@@ -282,7 +282,7 @@ static int seat_object_find(sd_bus *bus, const char *path, const char *interface
return 1;
}
-char *seat_bus_path(Seat *s) {
+char* seat_bus_path(Seat *s) {
_cleanup_free_ char *t = NULL;
assert(s);
diff --git a/src/login/logind-seat-dbus.h b/src/login/logind-seat-dbus.h
index 258db91d40..f4bd78e24b 100644
--- a/src/login/logind-seat-dbus.h
+++ b/src/login/logind-seat-dbus.h
@@ -8,7 +8,7 @@
extern const BusObjectImplementation seat_object;
-char *seat_bus_path(Seat *s);
+char* seat_bus_path(Seat *s);
int seat_send_signal(Seat *s, bool new_seat);
int seat_send_changed(Seat *s, const char *properties, ...) _sentinel_;
diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c
index 142cb214e2..ff4e60017d 100644
--- a/src/login/logind-session-dbus.c
+++ b/src/login/logind-session-dbus.c
@@ -713,7 +713,7 @@ static int session_object_find(sd_bus *bus, const char *path, const char *interf
return 1;
}
-char *session_bus_path(Session *s) {
+char* session_bus_path(Session *s) {
_cleanup_free_ char *t = NULL;
assert(s);
diff --git a/src/login/logind-session-dbus.h b/src/login/logind-session-dbus.h
index a026562938..37a107ec33 100644
--- a/src/login/logind-session-dbus.h
+++ b/src/login/logind-session-dbus.h
@@ -8,7 +8,7 @@
extern const BusObjectImplementation session_object;
-char *session_bus_path(Session *s);
+char* session_bus_path(Session *s);
int session_send_signal(Session *s, bool new_session);
int session_send_changed(Session *s, const char *properties, ...) _sentinel_;
diff --git a/src/login/logind-user-dbus.c b/src/login/logind-user-dbus.c
index ba83dc5d1a..a211953932 100644
--- a/src/login/logind-user-dbus.c
+++ b/src/login/logind-user-dbus.c
@@ -289,7 +289,7 @@ static int user_object_find(sd_bus *bus, const char *path, const char *interface
return 1;
}
-char *user_bus_path(User *u) {
+char* user_bus_path(User *u) {
char *s;
assert(u);
diff --git a/src/login/logind-user-dbus.h b/src/login/logind-user-dbus.h
index d2f24ced63..ba530bede2 100644
--- a/src/login/logind-user-dbus.h
+++ b/src/login/logind-user-dbus.h
@@ -7,7 +7,7 @@
extern const BusObjectImplementation user_object;
-char *user_bus_path(User *s);
+char* user_bus_path(User *s);
int user_send_signal(User *u, bool new_user);
int user_send_changed(User *u, const char *properties, ...) _sentinel_;