chiark / gitweb /
move _cleanup_ attribute in front of the type
[elogind.git] / src / shared / hwclock.c
index 9076d8ffc76b850e20d280d876b6c241e86c8074..a3b33ed4cc90dc2fad7bc594c2e65a48cf2e6d99 100644 (file)
@@ -163,7 +163,7 @@ int hwclock_set_time(const struct tm *tm) {
 }
 
 int hwclock_is_localtime(void) {
-        FILE _cleanup_fclose_ *f;
+        _cleanup_fclose_ FILE *f;
 
         /*
          * The third line of adjtime is "UTC" or "LOCAL" or nothing.