summaryrefslogtreecommitdiff
path: root/nslcd/hackers_parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'nslcd/hackers_parse.h')
-rw-r--r--nslcd/hackers_parse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nslcd/hackers_parse.h b/nslcd/hackers_parse.h
index e1df21d..1a092f6 100644
--- a/nslcd/hackers_parse.h
+++ b/nslcd/hackers_parse.h
@@ -9,14 +9,14 @@
/* Free+zero a 'struct passwd' */
#define PASSWD_FREE(user) \
- ({ \
+ (__extension__ ({ \
free((user).pw_name); \
free((user).pw_passwd); \
free((user).pw_gecos); \
free((user).pw_dir); \
free((user).pw_shell); \
ZERO(user); \
- })
+ }))
/** Returns 0 on error, or the UID on success. Only handles "normal
* user" UIDs; that is in the range [1000,9999]. */