1- /* Copyright (c) 2016-2018 Stanford University
1+ /* Copyright (c) 2016-2020 Stanford University
22 *
33 * Permission to use, copy, modify, and distribute this software for any
44 * purpose with or without fee is hereby granted, provided that the above
@@ -226,7 +226,7 @@ namespace Log {
226226 struct UnknownHeader {
227227 uint8_t entryType:2 ;
228228 uint8_t other:6 ;
229- } NANOLOG_PACK_ATTR ;
229+ };
230230 NANOLOG_PACK_POP
231231
232232 static_assert (sizeof (UnknownHeader) == 1 , " Unknown Header should have a"
@@ -256,7 +256,7 @@ namespace Log {
256256
257257 // Value returned by pack(timestamp)
258258 uint8_t additionalTimestampBytes:4 ;
259- } NANOLOG_PACK_ATTR ;
259+ };
260260 NANOLOG_PACK_POP
261261
262262 /* *
@@ -295,7 +295,7 @@ namespace Log {
295295 static constexpr uint32_t maxSizeOfHeader () {
296296 return sizeof (BufferExtent) + sizeof (uint32_t );
297297 }
298- } NANOLOG_PACK_ATTR ;
298+ };
299299 NANOLOG_PACK_POP
300300
301301 /* *
@@ -330,7 +330,7 @@ namespace Log {
330330 // in the log file.
331331 uint32_t totalMetadataEntries;
332332
333- } NANOLOG_PACK_ATTR ;
333+ };
334334 NANOLOG_PACK_POP
335335
336336 /* *
@@ -351,7 +351,7 @@ namespace Log {
351351 // Total number of FormatMetadata encountered so far in the log
352352 // including this fragment (used as a sanity check only).
353353 uint32_t totalMetadataEntries;
354- } NANOLOG_PACK_ATTR ;
354+ };
355355 NANOLOG_PACK_POP
356356
357357 /* *
@@ -373,7 +373,7 @@ namespace Log {
373373 // Length of the format string that is associated with this log
374374 // invocation and comes after filename.
375375 uint16_t formatStringLength;
376- } NANOLOG_PACK_ATTR ;
376+ };
377377 NANOLOG_PACK_POP
378378
379379 /* *
@@ -401,7 +401,7 @@ namespace Log {
401401
402402 // Filename for the original source file containing the LOG statement
403403 char filename[];
404- } NANOLOG_PACK_ATTR ;
404+ };
405405 NANOLOG_PACK_POP
406406
407407 /* *
@@ -426,7 +426,7 @@ namespace Log {
426426 // A fragment of the original LOG statement that contains at most
427427 // one format specifier.
428428 char formatFragment[];
429- } NANOLOG_PACK_ATTR ;
429+ };
430430 NANOLOG_PACK_POP
431431
432432
0 commit comments