Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
classifier: Make find_match_wc() prototype and definition match.
The prototype said *, the definition said [CLS_MAX_TRIES]. GCC 11 complains about this (though it is perfectly valid from a C standards perspective). It would probably be better to make them both use [CLS_MAX_TRIES] but that's only allowed if the struct's definition is visible at the point of the prototype, which it's not. Instead of moving the definition, this commit just changes both usages to *. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Paolo Valerio <pvalerio@redhat.com>
- Loading branch information