summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/fileio.c2
-rw-r--r--src/shared/sleep-config.c2
-rw-r--r--src/shared/socket-label.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/fileio.c b/src/shared/fileio.c
index c7b2cd85b9..c5806249f6 100644
--- a/src/shared/fileio.c
+++ b/src/shared/fileio.c
@@ -708,7 +708,7 @@ int write_env_file(const char *fname, char **l) {
int executable_is_script(const char *path, char **interpreter) {
int r;
- char _cleanup_free_ *line = NULL;
+ _cleanup_free_ char *line = NULL;
int len;
char *ans;
diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c
index 1972cdbb38..867e4edaa2 100644
--- a/src/shared/sleep-config.c
+++ b/src/shared/sleep-config.c
@@ -49,7 +49,7 @@ int parse_sleep_config(const char *verb, char ***_modes, char ***_states) {
};
int r;
- FILE _cleanup_fclose_ *f;
+ _cleanup_fclose_ FILE *f;
f = fopen(PKGSYSCONFDIR "/sleep.conf", "re");
if (!f)
diff --git a/src/shared/socket-label.c b/src/shared/socket-label.c
index 1e78dd2569..eb09779b33 100644
--- a/src/shared/socket-label.c
+++ b/src/shared/socket-label.c
@@ -157,7 +157,7 @@ int make_socket_fd(int log_level, const char* address, int flags) {
fd = socket_address_listen(&a, flags, SOMAXCONN, SOCKET_ADDRESS_DEFAULT,
NULL, false, false, 0755, 0644, NULL);
if (fd < 0 || log_get_max_level() >= log_level) {
- char _cleanup_free_ *p = NULL;
+ _cleanup_free_ char *p = NULL;
r = socket_address_print(&a, &p);
if (r < 0) {