From: Sven Eden Date: Wed, 13 Dec 2017 07:50:52 +0000 (+0100) Subject: sd-bus.h, sd-daemon.h : MAke elogind masks ISO C90 compatible. X-Git-Tag: v235.1~16 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6ce1ee3da01383d64599c9d497a04ff787c98eda;p=elogind.git sd-bus.h, sd-daemon.h : MAke elogind masks ISO C90 compatible. --- diff --git a/src/systemd/sd-bus.h b/src/systemd/sd-bus.h index 22e7a95e5..e75374dbb 100644 --- a/src/systemd/sd-bus.h +++ b/src/systemd/sd-bus.h @@ -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); diff --git a/src/systemd/sd-daemon.h b/src/systemd/sd-daemon.h index f698e92cc..9d3842f34 100644 --- a/src/systemd/sd-daemon.h +++ b/src/systemd/sd-daemon.h @@ -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