Commit f43f8a2c authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Turn unchanging static variable into enum.

parent 19a86fbe
......@@ -57,7 +57,9 @@ ZaxistypeEntry[] = {
{ /* 25 */ 0, "height", "generalized height", "height", ""},
};
static int CDI_MaxZaxistype = sizeof(ZaxistypeEntry) / sizeof(ZaxistypeEntry[0]);
enum {
CDI_MaxZaxistype = sizeof(ZaxistypeEntry) / sizeof(ZaxistypeEntry[0]),
};
typedef struct {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment