* lib/boot-time-aux.h (SIZEOF): Remove; no longer used,
now that the code uses countof.
---
 ChangeLog           | 4 ++++
 lib/boot-time-aux.h | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4a7e44ce26..09eade9f34 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2026-03-20  Paul Eggert  <[email protected]>
 
+       boot-time: remove SIZEOF
+       * lib/boot-time-aux.h (SIZEOF): Remove; no longer used,
+       now that the code uses countof.
+
        nstrftime: fix size typo when compiling for glibc
        * lib/strftime.c (c_weekday_names, c_month_names) [COMPILE_WIDE]:
        Fix size typo.
diff --git a/lib/boot-time-aux.h b/lib/boot-time-aux.h
index 60c1e9001b..e09d84b67a 100644
--- a/lib/boot-time-aux.h
+++ b/lib/boot-time-aux.h
@@ -16,8 +16,6 @@
 
 /* Written by Bruno Haible <[email protected]>.  */
 
-#define SIZEOF(a) (sizeof(a)/sizeof(a[0]))
-
 #if defined __linux__ || defined __ANDROID__
 
 /* Store the uptime counter, as managed by the Linux kernel, in *P_UPTIME.
-- 
2.53.0


Reply via email to