Replace the array initialization using the gcc-specific format

[constant] value
with the C99 format
[constant] = value
This commit is contained in:
Diomidis Spinellis 2006-06-02 09:08:51 +00:00
parent b971a73040
commit 809f920d59
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159166

View File

@ -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))