mirror of
https://gitlab.com/d3tn/ud3tn.git
synced 2026-08-20 13:28:22 +02:00
To fix the compiler warning:
> warning: variable length array folded to constant array as an
> extension [-Wgnu-folding-constant]
the value of the variable `BUFFER_SIZE` must be known at compile time.
Since this is not the case with a `const size_t BUFFER_SIZE`, either
`#define BUFFER_SIZE 9` must be used or the value must be wrapped in an
`enum`. I opted for `enum { BUFFER_SIZE = 9 }` to keep the variable
definition local.
Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
|
||
|---|---|---|
| .. | ||
| posix | ||
| storage | ||
| bibe_proto.c | ||
| blackhole_parser.c | ||
| cla.c | ||
| cla_contact_rx_task.c | ||
| cla_contact_tx_task.c | ||
| mtcp_proto.c | ||