X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Ftimedate%2Ftimedated.c;h=cdb6e5b16cfeffdceba63778a3b46377c3a6acbd;hb=7fd1b19bc9e9f5574f2877936b8ac267c7706947;hp=bb134b7fffb4ee16102affaf25ef0ca48b533d93;hpb=d70964d0f61f1add3a71c83beb925fc1fa2fab6b;p=elogind.git diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c index bb134b7ff..cdb6e5b16 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)