diff options
author | Filip Varga <fivarga@cisco.com> | 2022-05-23 21:18:38 +0200 |
---|---|---|
committer | Filip Varga <fivarga@cisco.com> | 2022-05-24 12:36:29 +0200 |
commit | 9a8d3d71071ca82c139dae5aa45cb0d4620ca9e3 (patch) | |
tree | 120727a5ec32b79a607d4abdd7e595158d28e1c5 /src/vlib/physmem_funcs.h | |
parent | d8366d085fa375968c8ddafb4eea85b1b167b34c (diff) |
api: start enum values from 0
C enum values by default start from 0.
All unassigned names should get value as value of previous name plus one.
The problem was that default value was 0 and adding one for the first
value would make generated api files start from 1 instead of 0.
Type: fix
Change-Id: I772d6411435648de3ec514f57025ef1acae87338
Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/vlib/physmem_funcs.h')
0 files changed, 0 insertions, 0 deletions