Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes some MSVC build errors introduced by commit 74ff329 (userspace: Define and use struct eth_addr.) MSVC doesn't like the change in 'const' between function declaration and definition: it reports "formal parameter 2 different from declaration" for each of the functions in flow.h corrected by this (commit. I think it's technically wrong about that, standards-wise.) MSVC doesn't like an empty-brace initializer. (I think it's technically right about that, standards-wise.) This commit attempts to fix both problems, but I have not tested it with MSVC. CC: Jarno Rajahalme <[email protected]> Signed-off-by: Ben Pfaff <[email protected]> Acked-by: Nithin Raju <[email protected]> Tested-by: Nithin Raju <[email protected]>
- Loading branch information