[Asterisk-code-review] core: Remove dead symbols from asterisk.exports.in. (asterisk[13])

Corey Farrell asteriskteam at digium.com
Sun Mar 18 17:15:37 CDT 2018


Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/8577


Change subject: core: Remove dead symbols from asterisk.exports.in.
......................................................................

core: Remove dead symbols from asterisk.exports.in.

* dahdi_chan_name
* dahdi_chan_name_len
* dahdi_chan_mode
* __manager_event
* dialed_interface_info

Added comment about __progname and environ being needed for FreeBSD to
prevent accidental removal in the future.

Change-Id: I3ae026bc541cd9cb572be2ffa95fc359547642b5
---
M include/asterisk/options.h
M main/asterisk.exports.in
2 files changed, 1 insertion(+), 7 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/77/8577/1

diff --git a/include/asterisk/options.h b/include/asterisk/options.h
index 27f1d91..0b0c376 100644
--- a/include/asterisk/options.h
+++ b/include/asterisk/options.h
@@ -199,8 +199,6 @@
 extern pid_t ast_mainpid;
 
 extern char record_cache_dir[AST_CACHE_DIR_LEN];
-extern char dahdi_chan_name[AST_CHANNEL_NAME];
-extern int dahdi_chan_name_len;
 
 extern int ast_language_is_prefix;
 
diff --git a/main/asterisk.exports.in b/main/asterisk.exports.in
index f997587..b434d38 100644
--- a/main/asterisk.exports.in
+++ b/main/asterisk.exports.in
@@ -13,9 +13,6 @@
 		LINKER_SYMBOL_PREFIX__ao2_*;
 		LINKER_SYMBOL_PREFIXoption_debug;
 		LINKER_SYMBOL_PREFIXoption_verbose;
-		LINKER_SYMBOL_PREFIXdahdi_chan_name;
-		LINKER_SYMBOL_PREFIXdahdi_chan_name_len;
-		LINKER_SYMBOL_PREFIXdahdi_chan_mode;
 		LINKER_SYMBOL_PREFIXcallerid_*;
 		LINKER_SYMBOL_PREFIXcid_di;
 		LINKER_SYMBOL_PREFIXcid_dr;
@@ -30,8 +27,6 @@
 		LINKER_SYMBOL_PREFIXterm_*;
 		LINKER_SYMBOL_PREFIXchannelreloadreason2txt;
 		LINKER_SYMBOL_PREFIXdevstate2str;
-		LINKER_SYMBOL_PREFIX__manager_event;
-		LINKER_SYMBOL_PREFIXdialed_interface_info;
 		LINKER_SYMBOL_PREFIXstrsep;
 		LINKER_SYMBOL_PREFIXsetenv;
 		LINKER_SYMBOL_PREFIXstasis_*;
@@ -49,6 +44,7 @@
 		LINKER_SYMBOL_PREFIXres_srtp;
 		LINKER_SYMBOL_PREFIXres_srtp_policy;
 		LINKER_SYMBOL_PREFIXsecure_call_info;
+		/* __progname and environ are needed by FreeBSD for bundled pjproject. */
 		LINKER_SYMBOL_PREFIX__progname;
 		LINKER_SYMBOL_PREFIXenviron;
 		/*

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

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3ae026bc541cd9cb572be2ffa95fc359547642b5
Gerrit-Change-Number: 8577
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180318/93a141be/attachment.html>


More information about the asterisk-code-review mailing list