mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
make main() return an int
This commit is contained in:
@@ -154,7 +154,7 @@ new_task(isc_mem_t *mctx) {
|
|||||||
return (ti);
|
return (ti);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
int
|
||||||
main(int argc, char *argv[]) {
|
main(int argc, char *argv[]) {
|
||||||
unsigned int workers;
|
unsigned int workers;
|
||||||
t_info *t1, *t2;
|
t_info *t1, *t2;
|
||||||
@@ -197,4 +197,6 @@ main(int argc, char *argv[]) {
|
|||||||
isc_mem_destroy(&mctx2);
|
isc_mem_destroy(&mctx2);
|
||||||
|
|
||||||
isc_app_finish();
|
isc_app_finish();
|
||||||
|
|
||||||
|
return (0);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user