Skip to content
Snippets Groups Projects
Commit 1b949d24 authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Fix build of check_expr and hashtest2 when DEBUG_THREADLOCAL is defined

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 02c997c6
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@ ast_expr2f.o: ASTCFLAGS+=-DSTANDALONE_AEL -I../main
pval.o : ASTCFLAGS+=-DSTANDALONE
check_expr: check_expr.o ast_expr2.o ast_expr2f.o strcompat.o
check_expr: check_expr.o ast_expr2.o ast_expr2f.o strcompat.o clicompat.o ../main/threadstorage.o
aelbison.c: ../res/ael/ael.tab.c
@cp $< $@
......@@ -131,8 +131,8 @@ astobj2.o : astobj2.c
hashtest2.o : hashtest2.c
$(CC) -g -O0 -c hashtest2.c $(PTHREAD_CFLAGS) -I/usr/include -I../include
hashtest2 : hashtest2.o md5.o utils.o astobj2.o sha1.o strcompat.o
$(CC) -g -O0 -o hashtest2 hashtest2.o astobj2.o utils.o md5.o sha1.o strcompat.o $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) $(LIBS)
hashtest2 : hashtest2.o md5.o utils.o astobj2.o sha1.o strcompat.o ../main/threadstorage.o clicompat.o
$(CC) -g -O0 -o hashtest2 hashtest2.o astobj2.o utils.o md5.o sha1.o strcompat.o ../main/threadstorage.o clicompat.o $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) $(LIBS)
extconf.o : extconf.c
......
void ast_cli(void);
void ast_cli(void)
{
return;
}
int ast_cli_register_multiple(void);
int ast_cli_register_multiple(void)
{
return 0;
}
......@@ -55,10 +55,6 @@ int testno = 2;
/* stuff we need to make this work with the astobj2 stuff */
void ast_cli(int *fd, char *str, ...)
{
}
int64_t ast_mark(int prof_id, int x)
{
}
......@@ -350,10 +346,6 @@ void ast_module_unregister(const struct ast_module_info *x)
}
void ast_cli_register_multiple(void)
{
}
void ast_register_file_version(const char *file, const char *version)
{
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment