aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2018-02-02 11:31:16 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2018-02-02 11:31:16 +0100
commitcdd360209514cc181e73266bf55e31408853a9eb (patch)
tree2d7d963b8b98421550a0f72012688535bbbfdd07
parent2f9c3b1931eb012909e74f3b628e6a31fd446ad1 (diff)
downloadcn-cbor-cdd360209514cc181e73266bf55e31408853a9eb.tar.gz
test: Fix declaration of main method
-rw-r--r--test/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c
index d24992f..b7d85af 100644
--- a/test/test.c
+++ b/test/test.c
@@ -109,7 +109,7 @@ static void cn_cbor_decode_test(const unsigned char *buf, int len) {
printf("%s at %d\n", err_name[back.err], back.pos);
}
-int main() {
+int main(void) {
char buf[100000];
unsigned char *end;
char *bufend;