2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

netdev: Make 'netdev' parameter of 'get_features()' const.

Implementations shouldn't need to modify it.
This commit is contained in:
Andrew Evans
2011-01-17 15:18:38 -08:00
parent 23cad98c86
commit 6f2f5cce6c
5 changed files with 6 additions and 5 deletions

View File

@@ -1201,7 +1201,7 @@ netdev_linux_get_stats(const struct netdev *netdev_,
* bitmap of "enum ofp_port_features" bits, in host byte order. Returns 0 if
* successful, otherwise a positive errno value. */
static int
netdev_linux_get_features(struct netdev *netdev,
netdev_linux_get_features(const struct netdev *netdev,
uint32_t *current, uint32_t *advertised,
uint32_t *supported, uint32_t *peer)
{