summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/atm
diff options
context:
space:
mode:
authordds <dds@FreeBSD.org>2006-06-02 09:08:51 +0000
committerdds <dds@FreeBSD.org>2006-06-02 09:08:51 +0000
commite249370b75dd6f348264a6fe282b61de0859775d (patch)
treecac27b44c99551257160185735725a4f20dea3bd /sys/netgraph/atm
parent523fcb36a8a5383867b0184dbdd1e5c8ce9adf74 (diff)
downloadFreeBSD-src-e249370b75dd6f348264a6fe282b61de0859775d.zip
FreeBSD-src-e249370b75dd6f348264a6fe282b61de0859775d.tar.gz
Replace the array initialization using the gcc-specific format
[constant] value with the C99 format [constant] = value
Diffstat (limited to 'sys/netgraph/atm')
-rw-r--r--sys/netgraph/atm/uni/ng_uni_cust.h10
1 files 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 c2f2325..cf9d354 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))
OpenPOWER on IntegriCloud