summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2016-09-20 16:17:42 -0400
committerCorey Farrell <git@cfware.com>2016-09-20 15:20:46 -0500
commitba3269f12bb7f42fb2b51be6794950ca1c6e8a2e (patch)
treeb18cba5f726e2567507bc19e5d878a83b8fb63ce /main
parent381cafe335e900d0cfd306214cc0312ed8aa86af (diff)
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
Diffstat (limited to 'main')
-rw-r--r--main/asterisk.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index c9e3b59a5..aaabf583f 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -591,11 +591,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)
{
@@ -1040,6 +1035,11 @@ static char *handle_clear_profile(struct ast_cli_entry *e, int cmd, struct ast_c
#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);