From: Corey Farrell Date: Tue, 20 Sep 2016 20:17:42 +0000 (-0400) Subject: core: Fix LOW_MEMORY missing symbol ast_pbx_uuid_get. X-Git-Tag: 13.12.0-rc1~37^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fchanges%2F36%2F3936%2F1;p=thirdparty%2Fasterisk.git core: Fix LOW_MEMORY missing symbol ast_pbx_uuid_get. Move the function outside the conditional block that excludes LOW_MEMORY. ASTERISK-26273 #close Change-Id: Ic290fa128222c410c3531107e30efacabc8493b4 --- diff --git a/main/asterisk.c b/main/asterisk.c index 9ac9c46198..3a220ebc26 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -601,11 +601,6 @@ void ast_unregister_thread(void *id) } } -int ast_pbx_uuid_get(char *pbx_uuid, int length) -{ - return ast_db_get("pbx", "UUID", pbx_uuid, length); -} - /*! \brief Give an overview of core settings */ static char *handle_show_settings(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) { @@ -1132,6 +1127,11 @@ static char *handle_show_version_files(struct ast_cli_entry *e, int cmd, struct #endif /* ! LOW_MEMORY */ +int ast_pbx_uuid_get(char *pbx_uuid, int length) +{ + return ast_db_get("pbx", "UUID", pbx_uuid, length); +} + static void publish_fully_booted(void) { RAII_VAR(struct ast_json *, json_object, NULL, ast_json_unref);