diff -u -r -N bind-9.2.3.ORIG/bin/tests/db/t_db.c bind-9.2.3/bin/tests/db/t_db.c --- bind-9.2.3.ORIG/bin/tests/db/t_db.c 2001-08-09 00:54:30.000000000 +0200 +++ bind-9.2.3/bin/tests/db/t_db.c 2003-11-28 23:45:35.000000000 +0100 @@ -37,6 +37,8 @@ #include +int main (void) { return(0); } + static isc_result_t t_create(const char *db_type, const char *origin, const char *class, const char *model, isc_mem_t *mctx, dns_db_t **db) diff -u -r -N bind-9.2.3.ORIG/bin/tests/dst/t_dst.c bind-9.2.3/bin/tests/dst/t_dst.c --- bind-9.2.3.ORIG/bin/tests/dst/t_dst.c 2001-08-09 00:54:31.000000000 +0200 +++ bind-9.2.3/bin/tests/dst/t_dst.c 2003-11-28 23:45:47.000000000 +0100 @@ -51,6 +51,8 @@ #define PATH_MAX 256 #endif +int main (void) { return(0); } + /* * Adapted from the original dst_test.c program. * XXXDCL should use isc_dir_*. diff -u -r -N bind-9.2.3.ORIG/bin/tests/master/t_master.c bind-9.2.3/bin/tests/master/t_master.c --- bind-9.2.3.ORIG/bin/tests/master/t_master.c 2001-05-22 03:44:36.000000000 +0200 +++ bind-9.2.3/bin/tests/master/t_master.c 2003-11-28 23:45:08.000000000 +0100 @@ -39,6 +39,8 @@ #define BUFLEN 255 #define BIGBUFLEN (64 * 1024) +int main (void) { return(0); } + static isc_result_t t1_add_callback(void *arg, dns_name_t *owner, dns_rdataset_t *dataset); diff -u -r -N bind-9.2.3.ORIG/bin/tests/mem/t_mem.c bind-9.2.3/bin/tests/mem/t_mem.c --- bind-9.2.3.ORIG/bin/tests/mem/t_mem.c 2001-01-09 22:42:00.000000000 +0100 +++ bind-9.2.3/bin/tests/mem/t_mem.c 2003-11-29 00:00:39.000000000 +0100 @@ -35,6 +35,8 @@ #define MP2_FREEMAX 25 #define MP2_FILLCNT 25 +int main (void) { return(0); } + static int memtest(void) { int nfails; diff -u -r -N bind-9.2.3.ORIG/bin/tests/names/t_names.c bind-9.2.3/bin/tests/names/t_names.c --- bind-9.2.3.ORIG/bin/tests/names/t_names.c 2002-08-05 08:57:06.000000000 +0200 +++ bind-9.2.3/bin/tests/names/t_names.c 2003-11-29 00:01:43.000000000 +0100 @@ -36,6 +36,8 @@ #define BUFLEN 256 #define BIGBUFLEN 4096 +int main (void) { return(0); } + static const char *a1 = "dns_label_countbits returns the number of " "bits in a bitstring label"; diff -u -r -N bind-9.2.3.ORIG/bin/tests/rbt/t_rbt.c bind-9.2.3/bin/tests/rbt/t_rbt.c --- bind-9.2.3.ORIG/bin/tests/rbt/t_rbt.c 2001-01-09 22:42:11.000000000 +0100 +++ bind-9.2.3/bin/tests/rbt/t_rbt.c 2003-11-29 00:02:37.000000000 +0100 @@ -37,6 +37,8 @@ char *progname; char *Tokens[T_MAXTOKS]; +int main (void) { return(0); } + static int t_dns_rbtnodechain_init(char *dbfile, char *findname, char *firstname, char *firstorigin, diff -u -r -N bind-9.2.3.ORIG/bin/tests/sockaddr/t_sockaddr.c bind-9.2.3/bin/tests/sockaddr/t_sockaddr.c --- bind-9.2.3.ORIG/bin/tests/sockaddr/t_sockaddr.c 2001-01-09 22:42:14.000000000 +0100 +++ bind-9.2.3/bin/tests/sockaddr/t_sockaddr.c 2003-11-29 00:02:58.000000000 +0100 @@ -25,6 +25,8 @@ #include +int main (void) { return(0); } + static int test_isc_sockaddr_eqaddrprefix(void) { struct in_addr ina_a; diff -u -r -N bind-9.2.3.ORIG/bin/tests/tasks/t_tasks.c bind-9.2.3/bin/tests/tasks/t_tasks.c --- bind-9.2.3.ORIG/bin/tests/tasks/t_tasks.c 2001-08-09 00:54:33.000000000 +0200 +++ bind-9.2.3/bin/tests/tasks/t_tasks.c 2003-11-29 00:04:28.000000000 +0100 @@ -38,6 +38,8 @@ isc_boolean_t threaded = ISC_FALSE; #endif +int main (void) { return(0); } + static void require_threads(void) { t_info("This test requires threads\n"); diff -u -r -N bind-9.2.3.ORIG/bin/tests/timers/t_timers.c bind-9.2.3/bin/tests/timers/t_timers.c --- bind-9.2.3.ORIG/bin/tests/timers/t_timers.c 2001-08-09 00:54:34.000000000 +0200 +++ bind-9.2.3/bin/tests/timers/t_timers.c 2003-11-29 00:04:47.000000000 +0100 @@ -52,6 +52,8 @@ static int Tx_seconds; static int Tx_nanoseconds; +int main (void) { return(0); } + static void require_threads(void) { t_info("This test requires threads\n");