mirror of https://gerrit.osmocom.org/libosmocore
Oliver Smith
19742408cf
Simplify gsup_test.c by defining an end marker in gsup.h. No need to manually update the last element every time anymore. The C standard guarantees, that the end marker will have the last value plus one: "Each subsequent enumerator with no = defines its enumeration constant as the value of the constant expression obtained by adding 1 to the value of the previous enumeration constant." (From C99: 6.7.2.2 Enumeration specifiers) Change-Id: I2aab7245e209f0ebd2f33a83d4d181dd3339cb17 |
||
---|---|---|
.. | ||
codec | ||
coding | ||
core | ||
crypt | ||
ctrl | ||
gprs | ||
gsm | ||
sim | ||
vty |