repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30d9194
)
Added missing const for cec_set_configuration argument
author
kingosticks
<kingosticks@gmail.com>
Mon, 9 Jun 2014 21:48:22 +0000
(22:48 +0100)
committer
kingosticks
<kingosticks@gmail.com>
Mon, 9 Jun 2014 21:48:22 +0000
(22:48 +0100)
Method now matches prototype and is correctly exported for C.
src/lib/LibCECC.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/LibCECC.cpp
b/src/lib/LibCECC.cpp
index fc5c9c2126cc38be180b3ef3acc3f9cdddc49efd..ecf45654408ad56c08085704b552fe6ef4fd1a5a 100644
(file)
--- a/
src/lib/LibCECC.cpp
+++ b/
src/lib/LibCECC.cpp
@@
-346,7
+346,7
@@
int cec_persist_configuration(libcec_configuration *configuration)
return cec_parser ? (cec_parser->PersistConfiguration(configuration) ? 1 : 0) : -1;
}
-int cec_set_configuration(libcec_configuration *configuration)
+int cec_set_configuration(
const
libcec_configuration *configuration)
{
return cec_parser ? (cec_parser->SetConfiguration(configuration) ? 1 : 0) : -1;
}