Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
f43f8a2c
Commit
f43f8a2c
authored
Apr 10, 2014
by
Thomas Jahns
🤸
Browse files
Turn unchanging static variable into enum.
parent
19a86fbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/zaxis.c
View file @
f43f8a2c
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment