Refactor locks use in support

This commit is contained in:
Andrea Mazzoleni 2016-01-05 16:37:29 +01:00
parent ec5b383c1d
commit c870b04b66
4 changed files with 129 additions and 58 deletions

View file

@ -647,6 +647,8 @@ int main(int argc, char* argv[])
{
int i, j, b;
lock_init();
if (argc < 2) {
help();
exit(EXIT_SUCCESS);
@ -785,6 +787,8 @@ int main(int argc, char* argv[])
/* LCOV_EXCL_STOP */
}
lock_done();
return 0;
}