From e5fa15d8126fd1f471640a000059cbb7f7055c39 Mon Sep 17 00:00:00 2001 From: Steve Murphy Date: Wed, 17 Oct 2007 19:59:49 +0000 Subject: [PATCH] more stub routines to allow linkage in stand-alone environment, with thread debugs turned on git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86181 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- utils/check_expr.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/utils/check_expr.c b/utils/check_expr.c index df3b19b584..164774f6b2 100644 --- a/utils/check_expr.c +++ b/utils/check_expr.c @@ -167,6 +167,21 @@ void ast_unregister_file_version(const char *file) { } +void ast_cli(int fd, const char *fmt, ...); +void ast_cli(int fd, const char *fmt, ...) +{ +} + +struct ast_cli_entry { + char * const cmda; /* just something to satisfy compile & link; will never be used */ +}; + +int ast_cli_register_multiple(struct ast_cli_entry *e, int len); +int ast_cli_register_multiple(struct ast_cli_entry *e, int len) +{ + return 0; +} + char *find_var(const char *varname) /* the list should be pretty short, if there's any list at all */ { struct varz *t;