Fix up C template a little.

This commit is contained in:
Laurence Withers 2006-08-08 11:14:49 +01:00
parent 636b0a84b7
commit 6235444f96
1 changed files with 3 additions and 2 deletions

View File

@ -7,11 +7,14 @@
@TEST_HEADERS@ @TEST_HEADERS@
#include <stdio.h> #include <stdio.h>
#include <string.h>
int main(int argc, char* argv[]) int main(int argc, char* argv[])
{ {
int ret = 0;
if(argc == 2 && !strcmp(argv[1], "--print-summary")) { if(argc == 2 && !strcmp(argv[1], "--print-summary")) {
printf("One line summary.\n"); printf("One line summary.\n");
return 0; return 0;
@ -21,8 +24,6 @@ int main(int argc, char* argv[])
// empty argument list // empty argument list
} }
int ret = 0;
// TODO // TODO
return ret; return ret;