diff options
Diffstat (limited to 'swaylock')
-rw-r--r-- | swaylock/main.c | 3 | ||||
-rw-r--r-- | swaylock/pam.c | 2 | ||||
-rw-r--r-- | swaylock/password.c | 1 | ||||
-rw-r--r-- | swaylock/render.c | 1 | ||||
-rw-r--r-- | swaylock/shadow.c | 2 |
5 files changed, 3 insertions, 6 deletions
diff --git a/swaylock/main.c b/swaylock/main.c index 9b74b671..50f145e3 100644 --- a/swaylock/main.c +++ b/swaylock/main.c @@ -1,5 +1,4 @@ -#define _XOPEN_SOURCE 700 -#define _POSIX_C_SOURCE 200112L +#define _POSIX_C_SOURCE 200809L #include <assert.h> #include <ctype.h> #include <errno.h> diff --git a/swaylock/pam.c b/swaylock/pam.c index cac95a85..b90d9e87 100644 --- a/swaylock/pam.c +++ b/swaylock/pam.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 500 +#define _POSIX_C_SOURCE 200809L #include <pwd.h> #include <security/pam_appl.h> #include <stdbool.h> diff --git a/swaylock/password.c b/swaylock/password.c index 6138e1fe..db8ecaeb 100644 --- a/swaylock/password.c +++ b/swaylock/password.c @@ -1,4 +1,3 @@ -#define _XOPEN_SOURCE 500 #include <assert.h> #include <errno.h> #include <pwd.h> diff --git a/swaylock/render.c b/swaylock/render.c index fa8832bd..cbd5d01d 100644 --- a/swaylock/render.c +++ b/swaylock/render.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 199506L #include <math.h> #include <stdlib.h> #include <wayland-client.h> diff --git a/swaylock/shadow.c b/swaylock/shadow.c index f928eaa3..b7b10a67 100644 --- a/swaylock/shadow.c +++ b/swaylock/shadow.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE +#define _XOPEN_SOURCE // for crypt #include <pwd.h> #include <shadow.h> #include <stdbool.h> |