[Asterisk-code-review] core: Fix LOW MEMORY missing symbol ast pbx uuid get. (asterisk[13])

Corey Farrell asteriskteam at digium.com
Tue Sep 20 15:19:27 CDT 2016


Corey Farrell has uploaded a new change for review.

  https://gerrit.asterisk.org/3936

Change subject: core: Fix LOW_MEMORY missing symbol ast_pbx_uuid_get.
......................................................................

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
---
M main/asterisk.c
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/36/3936/1

diff --git a/main/asterisk.c b/main/asterisk.c
index 9ac9c46..3a220eb 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -601,11 +601,6 @@
 	}
 }
 
-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 @@
 
 #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);

-- 
To view, visit https://gerrit.asterisk.org/3936
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic290fa128222c410c3531107e30efacabc8493b4
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Corey Farrell <git at cfware.com>



More information about the asterisk-code-review mailing list