Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tnl-neigh-cache: Include expected array sizes in prototypes.
GCC 11 warned that the prototypes and the definitions of these functions were different: the prototypes used [], the definitions used [IFNAMSIZ]. This is perfectly valid from a C standards perspective, but it's confusing and providing sizes gives the compiler and the developer a useful hint as to usage. Therefore, this commit adds the expected sizes. Signed-off-by: Ben Pfaff <[email protected]> Acked-by: Paolo Valerio <[email protected]>
- Loading branch information