static const intin C declares a variable of the type intwhose value can be accepted (during optimization) not to be changed. It does not declare a constant, unlike C ++.
C, , , enum. , enum s; .
enum {
EBD_HEADER_SIZE = sizeof (EBD_HEAD),
EBD_TRAILER_SIZE = sizeof (EBD_TRAIL),
RMH_ENCODED_MSG_OVERHEAD = sizeof (EBD_HEAD) + sizeof (EBD_TRAIL)
};
, enum ; , enum ( , typedef), , -.
, #define , - .