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
f27fcb92
Commit
f27fcb92
authored
Dec 08, 2014
by
Thomas Jahns
🤸
Browse files
Add missing const declaration.
parent
41e6aba6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cdi_int.h
View file @
f27fcb92
...
...
@@ -330,7 +330,7 @@ int str2uuid(const char *uuidstr, unsigned char *uuid);
static
inline
int
cdiUUIDIsNull
(
const
unsigned
char
uuid
[
CDI_UUID_SIZE
])
{
static
unsigned
char
uuid_nil
[
CDI_UUID_SIZE
];
static
const
unsigned
char
uuid_nil
[
CDI_UUID_SIZE
];
return
!
memcmp
(
uuid
,
uuid_nil
,
CDI_UUID_SIZE
);
}
...
...
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