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
This commit is contained in:
Corey Farrell
2016-10-26 22:40:49 -04:00
parent 211a1003e4
commit a6e5bae3ef
591 changed files with 19 additions and 1342 deletions

View File

@@ -29,8 +29,6 @@
#include "asterisk.h"
ASTERISK_REGISTER_FILE()
#include "asterisk/module.h"
#include "asterisk/translate.h"
#include "asterisk/alaw.h"

View File

@@ -33,8 +33,6 @@
#include "asterisk.h"
ASTERISK_REGISTER_FILE()
#include "asterisk/lock.h"
#include "asterisk/linkedlists.h"
#include "asterisk/module.h"

View File

@@ -29,8 +29,6 @@
#include "asterisk.h"
ASTERISK_REGISTER_FILE()
#include "asterisk/module.h"
#include "asterisk/config.h"
#include "asterisk/translate.h"

View File

@@ -34,8 +34,6 @@
#include "asterisk.h"
#include <stdbool.h>
ASTERISK_REGISTER_FILE()
#include <fcntl.h>
#include <netinet/in.h>
#include <sys/ioctl.h>

View File

@@ -39,8 +39,6 @@
#include "asterisk.h"
ASTERISK_REGISTER_FILE()
#include "asterisk/linkedlists.h"
#include "asterisk/module.h"
#include "asterisk/config.h"

View File

@@ -33,8 +33,6 @@
#include "asterisk.h"
ASTERISK_REGISTER_FILE()
#include "asterisk/lock.h"
#include "asterisk/linkedlists.h"
#include "asterisk/module.h"

View File

@@ -33,8 +33,6 @@
#include "asterisk.h"
ASTERISK_REGISTER_FILE()
#include "asterisk/translate.h"
#include "asterisk/config.h"
#include "asterisk/module.h"

View File

@@ -32,8 +32,6 @@
#include "asterisk.h"
ASTERISK_REGISTER_FILE()
#include "asterisk/codec.h" /* for AST_MEDIA_TYPE_AUDIO */
#include "asterisk/format.h" /* for ast_format_get_attribute_data */
#include "asterisk/frame.h" /* for ast_frame, etc */

View File

@@ -33,8 +33,6 @@
#include "asterisk.h"
ASTERISK_REGISTER_FILE()
#include "asterisk/translate.h"
#include "asterisk/config.h"
#include "asterisk/module.h"

View File

@@ -32,8 +32,6 @@
#include "asterisk.h"
#include "speex/speex_resampler.h"
ASTERISK_REGISTER_FILE()
#include "asterisk/module.h"
#include "asterisk/translate.h"
#include "asterisk/slin.h"

View File

@@ -39,8 +39,6 @@
#include "asterisk.h"
ASTERISK_REGISTER_FILE()
#include <speex/speex.h>
/* We require a post 1.1.8 version of Speex to enable preprocessing

View File

@@ -29,8 +29,6 @@
#include "asterisk.h"
ASTERISK_REGISTER_FILE()
#include "asterisk/module.h"
#include "asterisk/config.h"
#include "asterisk/translate.h"