diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-04-28 07:18:56 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-05-17 15:22:16 +0200 |
commit | 51e8372fb6cca277dc7afc6e83f48a1a2b6d4dbe (patch) | |
tree | 7cb0fd6ba86f34583435b04a828939a7d086fe27 /src/systemd/sd-login.h | |
parent | 2774f4e488e1b86960c6ff74c2195de6643bfd52 (diff) |
Prep v229: Add missing fixes from upstream [6/6] src/systemd
Diffstat (limited to 'src/systemd/sd-login.h')
-rw-r--r-- | src/systemd/sd-login.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h index 59c6eedcd..3c10ff032 100644 --- a/src/systemd/sd-login.h +++ b/src/systemd/sd-login.h @@ -1,5 +1,3 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - #ifndef foosdloginhfoo #define foosdloginhfoo @@ -22,8 +20,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <sys/types.h> #include <inttypes.h> +#include <sys/types.h> #include "_sd-common.h" @@ -240,6 +238,8 @@ int sd_login_monitor_get_events(sd_login_monitor *m); /* Get timeout for poll(), as usec value relative to CLOCK_MONOTONIC's epoch */ int sd_login_monitor_get_timeout(sd_login_monitor *m, uint64_t *timeout_usec); +_SD_DEFINE_POINTER_CLEANUP_FUNC(sd_login_monitor, sd_login_monitor_unref); + _SD_END_DECLARATIONS; #endif |