Skip to content

Commit cb9eb60

Browse files
committed
sdjournal: drop conditional static specifier
`_SD_ARRAY_STATIC` is a custom / conditional macro for static C99 array size, which got introduced in recent libsystemd and thus cannot build on older versions. Due to how it is currently used in our Go wrapper, it can be safely omitted from here. Ref: systemd/systemd@4199f68
1 parent a3292d2 commit cb9eb60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdjournal/journal.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ package sdjournal
310310
// }
311311
//
312312
// char *
313-
// my_sd_id128_to_string(void *f, sd_id128_t boot_id, char s[_SD_ARRAY_STATIC SD_ID128_STRING_MAX])
313+
// my_sd_id128_to_string(void *f, sd_id128_t boot_id, char s[SD_ID128_STRING_MAX])
314314
// {
315315
// char *(*sd_id128_to_string)(sd_id128_t, char *);
316316
//

0 commit comments

Comments
 (0)