[Asterisk-code-review] core: Fix LOW MEMORY missing symbol ast pbx uuid get. (asterisk[master])
Anonymous Coward
asteriskteam at digium.com
Wed Sep 21 11:31:54 CDT 2016
Anonymous Coward #1000019 has submitted this change and it was merged.
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(-)
Approvals:
George Joseph: Looks good to me, approved
Anonymous Coward #1000019: Verified
Joshua Colp: Looks good to me, but someone else must approve
diff --git a/main/asterisk.c b/main/asterisk.c
index c9e3b59..aaabf58 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -591,11 +591,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)
{
@@ -1040,6 +1035,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/3939
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic290fa128222c410c3531107e30efacabc8493b4
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
More information about the asterisk-code-review
mailing list