summaryrefslogtreecommitdiff
path: root/src/timedate/timedated.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/timedate/timedated.c')
-rw-r--r--src/timedate/timedated.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c
index bb134b7fff..cdb6e5b16c 100644
--- a/src/timedate/timedated.c
+++ b/src/timedate/timedated.c
@@ -218,7 +218,7 @@ static int write_data_timezone(void) {
static int write_data_local_rtc(void) {
int r;
- char _cleanup_free_ *s = NULL, *w = NULL;
+ _cleanup_free_ char *s = NULL, *w = NULL;
r = read_full_file("/etc/adjtime", &s, NULL);
if (r < 0) {
@@ -270,7 +270,7 @@ static int write_data_local_rtc(void) {
}
static char** get_ntp_services(void) {
- char _cleanup_strv_free_ **r = NULL, **files;
+ _cleanup_strv_free_ char **r = NULL, **files;
char **i;
int k;
@@ -284,7 +284,7 @@ static char** get_ntp_services(void) {
return NULL;
STRV_FOREACH(i, files) {
- FILE _cleanup_fclose_ *f;
+ _cleanup_fclose_ FILE *f;
f = fopen(*i, "re");
if (!f)