summaryrefslogtreecommitdiff
path: root/pbx
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2016-10-26 22:40:49 -0400
committerCorey Farrell <git@cfware.com>2016-10-27 09:53:55 -0400
commita6e5bae3ef9fe498927e0b5f9318a64c9ff101a9 (patch)
tree5d927549d9c5358161420a4958eefefc9b5b0861 /pbx
parent211a1003e4df38bc2e46d9df54f69f4994ac5b2e (diff)
Remove ASTERISK_REGISTER_FILE.
ASTERISK_REGISTER_FILE no longer has any purpose so this commit removes all traces of it. Previously exported symbols removed: * __ast_register_file * __ast_unregister_file * ast_complete_source_filename This also removes the mtx_prof static variable that was declared when MTX_PROFILE was enabled. This variable was only used in lock.c so it is now initialized in that file only. ASTERISK-26480 #close Change-Id: I1074af07d71f9e159c48ef36631aa432c86f9966
Diffstat (limited to 'pbx')
-rw-r--r--pbx/dundi-parser.c2
-rw-r--r--pbx/pbx_ael.c9
-rw-r--r--pbx/pbx_config.c2
-rw-r--r--pbx/pbx_dundi.c2
-rw-r--r--pbx/pbx_loopback.c2
-rw-r--r--pbx/pbx_lua.c2
-rw-r--r--pbx/pbx_realtime.c2
-rw-r--r--pbx/pbx_spool.c2
8 files changed, 0 insertions, 23 deletions
diff --git a/pbx/dundi-parser.c b/pbx/dundi-parser.c
index 9b41aa9a8..3b2005fab 100644
--- a/pbx/dundi-parser.c
+++ b/pbx/dundi-parser.c
@@ -28,8 +28,6 @@
#include "asterisk.h"
-ASTERISK_REGISTER_FILE()
-
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c
index 1985d27a0..8ad491485 100644
--- a/pbx/pbx_ael.c
+++ b/pbx/pbx_ael.c
@@ -29,19 +29,10 @@
#include "asterisk.h"
-#if !defined(STANDALONE)
-ASTERISK_REGISTER_FILE()
-#endif
-
#include <ctype.h>
#include <regex.h>
#include <sys/stat.h>
-#ifdef STANDALONE
-#ifdef HAVE_MTX_PROFILE
-static int mtx_prof = -1; /* helps the standalone compile with the mtx_prof flag on */
-#endif
-#endif
#include "asterisk/pbx.h"
#include "asterisk/config.h"
#include "asterisk/module.h"
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index 0da4168f1..384bbc7c3 100644
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -82,8 +82,6 @@
#include "asterisk.h"
-ASTERISK_REGISTER_FILE()
-
#include <ctype.h>
#include "asterisk/paths.h" /* ast_config_AST_CONFIG_DIR */
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index af5cb32ae..50a91605e 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -38,8 +38,6 @@
#include "asterisk.h"
-ASTERISK_REGISTER_FILE()
-
#include "asterisk/network.h"
#include <sys/ioctl.h>
#include <zlib.h>
diff --git a/pbx/pbx_loopback.c b/pbx/pbx_loopback.c
index 2919748b7..2230d3593 100644
--- a/pbx/pbx_loopback.c
+++ b/pbx/pbx_loopback.c
@@ -28,8 +28,6 @@
#include "asterisk.h"
-ASTERISK_REGISTER_FILE()
-
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"
diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c
index 84b1f7126..01f468de0 100644
--- a/pbx/pbx_lua.c
+++ b/pbx/pbx_lua.c
@@ -31,8 +31,6 @@
#include "asterisk.h"
-ASTERISK_REGISTER_FILE()
-
#include "asterisk/logger.h"
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
diff --git a/pbx/pbx_realtime.c b/pbx/pbx_realtime.c
index 7a444d763..08c90aa62 100644
--- a/pbx/pbx_realtime.c
+++ b/pbx/pbx_realtime.c
@@ -29,8 +29,6 @@
#include "asterisk.h"
-ASTERISK_REGISTER_FILE()
-
#include <signal.h>
#include "asterisk/file.h"
diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c
index c858ed22f..dcd2ce734 100644
--- a/pbx/pbx_spool.c
+++ b/pbx/pbx_spool.c
@@ -28,8 +28,6 @@
#include "asterisk.h"
-ASTERISK_REGISTER_FILE()
-
#include <sys/stat.h>
#include <time.h>
#include <utime.h>