From 809f920d59bbf052ee7c565e127790fa37239f56 Mon Sep 17 00:00:00 2001 From: Diomidis Spinellis Date: Fri, 2 Jun 2006 09:08:51 +0000 Subject: [PATCH] Replace the array initialization using the gcc-specific format [constant] value with the C99 format [constant] = value --- sys/netgraph/atm/uni/ng_uni_cust.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/netgraph/atm/uni/ng_uni_cust.h b/sys/netgraph/atm/uni/ng_uni_cust.h index c2f23256312..cf9d3549db5 100644 --- a/sys/netgraph/atm/uni/ng_uni_cust.h +++ b/sys/netgraph/atm/uni/ng_uni_cust.h @@ -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))