From 7fd1b19bc9e9f5574f2877936b8ac267c7706947 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 18 Apr 2013 09:11:22 +0200 Subject: move _cleanup_ attribute in front of the type http://lists.freedesktop.org/archives/systemd-devel/2013-April/010510.html --- src/login/pam-module.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/login/pam-module.c') 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); -- cgit v1.2.3-54-g00ecf