capabilities: fix number for NM_CAPABILITY_TEAM

The enum defines should name their numerical value explicitly,
so that it can be easily seen by looking at the code. Also,
they are public, stable API. They must not change.

Anyway, the capability 0 shall be reserved. Change NM_CAPABILITY_TEAM
to value 1.
This commit is contained in:
Thomas Haller 2016-09-23 13:20:47 +02:00
parent ede4b1c5e5
commit ab26248080

View file

@ -90,7 +90,7 @@
* #NMCapability names the numbers in the Capabilities property.
**/
typedef enum {
NM_CAPABILITY_TEAM
NM_CAPABILITY_TEAM = 1,
} NMCapability;
/**