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
da806847
Commit
da806847
authored
May 28, 2014
by
Uwe Schulzweida
Browse files
removed const from declaration of vlist_ops for cplusplus
parent
a759b424
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/vlist.c
View file @
da806847
...
...
@@ -73,7 +73,7 @@ static void vlistPackP ( void * vlistptr, void * buff, int size,
int
*
position
,
void
*
context
);
static
int
vlistTxCode
(
void
);
const
resOps
vlist_ops
=
{
/*
const
*/
resOps
vlist_ops
=
{
(
valCompareFunc
)
vlist_compare
,
(
valDestroyFunc
)
vlist_delete
,
(
valPrintFunc
)
vlistPrintKernel
...
...
src/vlist_var.c
View file @
da806847
...
...
@@ -15,7 +15,11 @@
#include
"serialize.h"
#include
"error.h"
extern
const
resOps
vlist_ops
;
extern
#if !defined(__cplusplus)
const
#endif
resOps
vlist_ops
;
static
void
vlistvarInitEntry
(
int
vlistID
,
int
varID
)
...
...
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