mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
Replace the array initialization using the gcc-specific format
[constant] value with the C99 format [constant] = value
This commit is contained in:
parent
b971a73040
commit
809f920d59
1 changed files with 5 additions and 5 deletions
|
|
@ -140,11 +140,11 @@ extern size_t unimem_sizes[UNIMEM_TYPES];
|
|||
|
||||
#define UNICORE \
|
||||
size_t unimem_sizes[UNIMEM_TYPES] = { \
|
||||
[UNIMEM_INS] sizeof(struct uni), \
|
||||
[UNIMEM_ALL] sizeof(struct uni_all), \
|
||||
[UNIMEM_SIG] sizeof(struct sig), \
|
||||
[UNIMEM_CALL] sizeof(struct call), \
|
||||
[UNIMEM_PARTY] sizeof(struct party) \
|
||||
[UNIMEM_INS] = sizeof(struct uni), \
|
||||
[UNIMEM_ALL] = sizeof(struct uni_all), \
|
||||
[UNIMEM_SIG] = sizeof(struct sig), \
|
||||
[UNIMEM_CALL] = sizeof(struct call), \
|
||||
[UNIMEM_PARTY] = sizeof(struct party) \
|
||||
};
|
||||
|
||||
#define memmove(T, F, L) bcopy((F), (T), (L))
|
||||
|
|
|
|||
Loading…
Reference in a new issue