From 81ec31afbbef5da309c74a40c975f49a9cf9e766 Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Thu, 22 Apr 2010 22:10:17 +0000 Subject: Make utils/ stuff *actually* compile this time. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@258674 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- utils/Makefile | 2 +- utils/extconf.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/Makefile b/utils/Makefile index 24fb97403..1981fb2e2 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -147,7 +147,7 @@ aelparse.c: $(ASTTOPDIR)/res/ael/ael_lex.c aelparse.o: _ASTCFLAGS+=-I$(ASTTOPDIR)/res -Wno-unused aelparse: LIBS+=-lm -aelparse: aelparse.o aelbison.o pbx_ael.o hashtab.o lock.o utils.o ael_main.o ast_expr2f.o ast_expr2.o strcompat.o pval.o extconf.o +aelparse: aelparse.o aelbison.o pbx_ael.o hashtab.o lock.o ael_main.o ast_expr2f.o ast_expr2.o strcompat.o pval.o extconf.o astobj2.c: $(ASTTOPDIR)/main/astobj2.c $(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@" diff --git a/utils/extconf.c b/utils/extconf.c index f1f92fdd4..826d22ca4 100644 --- a/utils/extconf.c +++ b/utils/extconf.c @@ -2821,6 +2821,7 @@ static struct timeval tvfix(struct timeval a) return a; } +struct timeval ast_tvadd(struct timeval a, struct timeval b); struct timeval ast_tvadd(struct timeval a, struct timeval b) { /* consistency checks to guarantee usec in 0..999999 */ @@ -2835,6 +2836,7 @@ struct timeval ast_tvadd(struct timeval a, struct timeval b) return a; } +struct timeval ast_tvsub(struct timeval a, struct timeval b); struct timeval ast_tvsub(struct timeval a, struct timeval b) { /* consistency checks to guarantee usec in 0..999999 */ -- cgit v1.2.3