diff options
author | Harald Hoyer <harald@redhat.com> | 2013-04-18 09:11:22 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-04-18 09:11:22 +0200 |
commit | 7fd1b19bc9e9f5574f2877936b8ac267c7706947 (patch) | |
tree | cac68de0832e4a61944e88390b649341519c43b2 /src/login/pam-module.c | |
parent | d70964d0f61f1add3a71c83beb925fc1fa2fab6b (diff) |
move _cleanup_ attribute in front of the type
http://lists.freedesktop.org/archives/systemd-devel/2013-April/010510.html
Diffstat (limited to 'src/login/pam-module.c')
-rw-r--r-- | src/login/pam-module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/login/pam-module.c b/src/login/pam-module.c index 609317e9dd..13290fd8ea 100644 --- a/src/login/pam-module.c +++ b/src/login/pam-module.c @@ -256,15 +256,15 @@ static bool check_user_lists( } static int get_seat_from_display(const char *display, const char **seat, uint32_t *vtnr) { - char _cleanup_free_ *p = NULL; + _cleanup_free_ char *p = NULL; int r; - int _cleanup_close_ fd = -1; + _cleanup_close_ int fd = -1; union sockaddr_union sa = { .un.sun_family = AF_UNIX, }; struct ucred ucred; socklen_t l; - char _cleanup_free_ *tty = NULL; + _cleanup_free_ char *tty = NULL; int v; assert(display); |