Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 33336
Collapse All | Expand All

(-)bind-9.2.3.ORIG/bin/tests/db/t_db.c (+2 lines)
Lines 37-42 Link Here
37
37
38
#include <tests/t_api.h>
38
#include <tests/t_api.h>
39
39
40
int main (void) { return(0); }
41
40
static isc_result_t
42
static isc_result_t
41
t_create(const char *db_type, const char *origin, const char *class,
43
t_create(const char *db_type, const char *origin, const char *class,
42
	 const char *model, isc_mem_t *mctx, dns_db_t **db)
44
	 const char *model, isc_mem_t *mctx, dns_db_t **db)
(-)bind-9.2.3.ORIG/bin/tests/dst/t_dst.c (+2 lines)
Lines 51-56 Link Here
51
#define PATH_MAX	256
51
#define PATH_MAX	256
52
#endif
52
#endif
53
53
54
int main (void) { return(0); }
55
54
/*
56
/*
55
 * Adapted from the original dst_test.c program.
57
 * Adapted from the original dst_test.c program.
56
 * XXXDCL should use isc_dir_*.
58
 * XXXDCL should use isc_dir_*.
(-)bind-9.2.3.ORIG/bin/tests/master/t_master.c (+2 lines)
Lines 39-44 Link Here
39
#define	BUFLEN		255
39
#define	BUFLEN		255
40
#define	BIGBUFLEN	(64 * 1024)
40
#define	BIGBUFLEN	(64 * 1024)
41
41
42
int main (void) { return(0); }
43
42
static isc_result_t
44
static isc_result_t
43
t1_add_callback(void *arg, dns_name_t *owner, dns_rdataset_t *dataset);
45
t1_add_callback(void *arg, dns_name_t *owner, dns_rdataset_t *dataset);
44
46
(-)bind-9.2.3.ORIG/bin/tests/mem/t_mem.c (+2 lines)
Lines 35-40 Link Here
35
#define	MP2_FREEMAX	25
35
#define	MP2_FREEMAX	25
36
#define	MP2_FILLCNT	25
36
#define	MP2_FILLCNT	25
37
37
38
int main (void) { return(0); }
39
38
static int
40
static int
39
memtest(void) {
41
memtest(void) {
40
	int		nfails;
42
	int		nfails;
(-)bind-9.2.3.ORIG/bin/tests/names/t_names.c (+2 lines)
Lines 36-41 Link Here
36
#define	BUFLEN		256
36
#define	BUFLEN		256
37
#define	BIGBUFLEN	4096
37
#define	BIGBUFLEN	4096
38
38
39
int main (void) { return(0); }
40
39
static const char *a1 =
41
static const char *a1 =
40
	"dns_label_countbits returns the number of "
42
	"dns_label_countbits returns the number of "
41
	"bits in a bitstring label";
43
	"bits in a bitstring label";
(-)bind-9.2.3.ORIG/bin/tests/rbt/t_rbt.c (+2 lines)
Lines 37-42 Link Here
37
char		*progname;
37
char		*progname;
38
char		*Tokens[T_MAXTOKS];
38
char		*Tokens[T_MAXTOKS];
39
39
40
int main (void) { return(0); }
41
40
static int
42
static int
41
t_dns_rbtnodechain_init(char *dbfile, char *findname,
43
t_dns_rbtnodechain_init(char *dbfile, char *findname,
42
			char *firstname, char *firstorigin,
44
			char *firstname, char *firstorigin,
(-)bind-9.2.3.ORIG/bin/tests/sockaddr/t_sockaddr.c (+2 lines)
Lines 25-30 Link Here
25
25
26
#include <tests/t_api.h>
26
#include <tests/t_api.h>
27
27
28
int main (void) { return(0); }
29
28
static int
30
static int
29
test_isc_sockaddr_eqaddrprefix(void) {
31
test_isc_sockaddr_eqaddrprefix(void) {
30
	struct in_addr ina_a;
32
	struct in_addr ina_a;
(-)bind-9.2.3.ORIG/bin/tests/tasks/t_tasks.c (+2 lines)
Lines 38-43 Link Here
38
isc_boolean_t threaded = ISC_FALSE;
38
isc_boolean_t threaded = ISC_FALSE;
39
#endif
39
#endif
40
40
41
int main (void) { return(0); }
42
41
static void
43
static void
42
require_threads(void) {
44
require_threads(void) {
43
	t_info("This test requires threads\n");
45
	t_info("This test requires threads\n");
(-)bind-9.2.3.ORIG/bin/tests/timers/t_timers.c (+2 lines)
Lines 52-57 Link Here
52
static	int		Tx_seconds;
52
static	int		Tx_seconds;
53
static	int		Tx_nanoseconds;
53
static	int		Tx_nanoseconds;
54
54
55
int main (void) { return(0); }
56
55
static void
57
static void
56
require_threads(void) {
58
require_threads(void) {
57
	t_info("This test requires threads\n");
59
	t_info("This test requires threads\n");

Return to bug 33336