summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Hrozek <jakub.hrozek@posteo.se>2015-02-25 08:09:35 (GMT)
committerAndreas Schneider <asn@cryptomilk.org>2015-02-25 08:18:34 (GMT)
commit710400b8c71b97e97b85addaefead4489743c108 (patch)
tree895cbe4472f2179c7aff95ed87dcc8b5e209b4a5
parent8c7d098d81bdfed92982e4b55dc1f8e3199e314a (diff)
downloadcmocka-710400b8c71b97e97b85addaefead4489743c108.zip
cmocka-710400b8c71b97e97b85addaefead4489743c108.tar.gz
cmocka-710400b8c71b97e97b85addaefead4489743c108.tar.bz2
Fix function types in doxygen docs
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--include/cmocka.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cmocka.h b/include/cmocka.h
index 35100d0..797fbe2 100644
--- a/include/cmocka.h
+++ b/include/cmocka.h
@@ -1533,7 +1533,7 @@ static inline void _unit_test_dummy(void **state) {
* return 0;
* }
*
- * static void teardown(void **state) {
+ * static int teardown(void **state) {
* free(*state);
*
* return 0;
@@ -1601,7 +1601,7 @@ int cmocka_run_group_tests(const struct CMUnitTest group_tests[],
* return 0;
* }
*
- * static void teardown(void **state) {
+ * static int teardown(void **state) {
* free(*state);
*
* return 0;