freebsd-dev/sys/netgraph/atm
Ed Schouten 60d234c583 Make Netgraph compile with Clang.
Clang disallows structs with variable length arrays to be nested inside
other structs, because this is in violation with ISO C99. Even though we
can keep bugging the LLVM folks about this issue, we'd better just fix
our code to not do this. This code seems to be the only code in the
entire source tree that does this.

I haven't tested this patch by using the kernel modules in question, but
Diane Bruce and I have compared disassembled versions of these kernel
modules. We would have expected them to be exactly the same, but due to
randomness in the register allocator and reordering of instructions,
there were some minor differences.

Approved by:	julian
2009-03-03 18:47:33 +00:00
..
ccatm
sscfu Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
sscop
uni Add memmove() to the kernel, making the kernel compile with Clang. 2009-02-28 16:21:25 +00:00
ng_atm.c For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00
ng_atm.h
ng_ccatm.h Make Netgraph compile with Clang. 2009-03-03 18:47:33 +00:00
ng_sscfu.h
ng_sscop.h
ng_uni.h
ngatmbase.c
ngatmbase.h