From: Jason Parker Date: Thu, 22 Apr 2010 22:10:17 +0000 (+0000) Subject: Make utils/ stuff *actually* compile this time. X-Git-Tag: 11.0.0-beta1~3130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81ec31afbbef5da309c74a40c975f49a9cf9e766;p=thirdparty%2Fasterisk.git Make utils/ stuff *actually* compile this time. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@258674 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/utils/Makefile b/utils/Makefile index 24fb97403a..1981fb2e22 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 f1f92fdd4f..826d22ca48 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 */