chiark / gitweb /
sd-bus.h, sd-daemon.h : MAke elogind masks ISO C90 compatible.
authorSven Eden <yamakuzure@gmx.net>
Wed, 13 Dec 2017 07:50:52 +0000 (08:50 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 13 Dec 2017 07:50:52 +0000 (08:50 +0100)
src/systemd/sd-bus.h
src/systemd/sd-daemon.h

index 22e7a95e5ce868c56891f8af052b61efb4d77789..e75374dbb8b55f0272cbdef382681419ad6e8710 100644 (file)
@@ -358,12 +358,12 @@ int sd_bus_creds_get_tid_comm(sd_bus_creds *c, const char **comm);
 int sd_bus_creds_get_exe(sd_bus_creds *c, const char **exe);
 int sd_bus_creds_get_cmdline(sd_bus_creds *c, char ***cmdline);
 int sd_bus_creds_get_cgroup(sd_bus_creds *c, const char **cgroup);
-#if 0 /// unsupported by elogind
+#if 0 /** unsupported by elogind **/
 int sd_bus_creds_get_unit(sd_bus_creds *c, const char **unit);
 int sd_bus_creds_get_slice(sd_bus_creds *c, const char **slice);
 int sd_bus_creds_get_user_unit(sd_bus_creds *c, const char **unit);
 int sd_bus_creds_get_user_slice(sd_bus_creds *c, const char **slice);
-#endif // 0
+#endif /** 0 **/
 int sd_bus_creds_get_session(sd_bus_creds *c, const char **session);
 int sd_bus_creds_get_owner_uid(sd_bus_creds *c, uid_t *uid);
 int sd_bus_creds_has_effective_cap(sd_bus_creds *c, int capability);
index f698e92cc648aeb127905db6bba69f3598a4435b..9d3842f3471f1d599ab96f79ceb71edf4d0609d8 100644 (file)
@@ -159,7 +159,7 @@ int sd_is_socket_sockaddr(int fd, int type, const struct sockaddr* addr, unsigne
 */
 int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t length);
 
-#if 0 /// UNNEEDED by elogind
+#if 0 /** UNNEEDED by elogind **/
 /*
   Helper call for identifying a passed file descriptor. Returns 1 if
   the file descriptor is a POSIX Message Queue of the specified name,
@@ -169,7 +169,7 @@ int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t
   See sd_is_mq(3) for more information.
 */
 int sd_is_mq(int fd, const char *path);
-#endif // 0
+#endif /** 0 **/
 
 /*
   Informs systemd about changed daemon state. This takes a number of