summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-10-16 12:04:00 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-10-16 12:13:55 +0200
commit186c2f8c5a0e437935c253aadf569f6ff9c1f4b0 (patch)
tree0ea57ee8daca639f0a7a15a498ffdb42b5395b1b /doc
parente1566dd75a61cb9ad825b9e49237d684e62ef37b (diff)
downloadcmocka-186c2f8c5a0e437935c253aadf569f6ff9c1f4b0.tar.gz
cmocka-186c2f8c5a0e437935c253aadf569f6ff9c1f4b0.tar.bz2
cmocka-186c2f8c5a0e437935c253aadf569f6ff9c1f4b0.zip
doc: Fix testcase.
Diffstat (limited to 'doc')
-rw-r--r--doc/mainpage.dox3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/mainpage.dox b/doc/mainpage.dox
index 0e2664b..ad11e49 100644
--- a/doc/mainpage.dox
+++ b/doc/mainpage.dox
@@ -59,7 +59,8 @@ the test succeeded.
#include <cmockery.h>
/* A test case that does nothing and succeeds. */
-void null_test_success(void **state) {
+static void null_test_success(void **state) {
+ (void) state; /* unused */
}
int main(void) {