mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 14:56:58 +00:00
Merged revisions 114051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114051 | mmichelson | 2008-04-10 15:59:49 -0500 (Thu, 10 Apr 2008) | 3 lines Fix 1.4 build when LOW_MEMORY is enabled. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -85,6 +85,7 @@ enum ast_lock_type {
|
||||
AST_WRLOCK,
|
||||
};
|
||||
#endif
|
||||
#if !defined(LOW_MEMORY)
|
||||
void ast_store_lock_info(enum ast_lock_type type, const char *filename,
|
||||
int line_num, const char *func, const char *lock_name, void *lock_addr);
|
||||
void ast_store_lock_info(enum ast_lock_type type, const char *filename,
|
||||
@@ -104,6 +105,7 @@ void ast_remove_lock_info(void *lock_addr)
|
||||
{
|
||||
/* not a lot to do in a standalone w/o threading! */
|
||||
}
|
||||
#endif
|
||||
|
||||
static int global_lineno = 1;
|
||||
static int global_expr_count=0;
|
||||
@@ -145,9 +147,11 @@ unsigned int check_expr(char* buffer, char* error_report);
|
||||
int check_eval(char *buffer, char *error_report);
|
||||
void parse_file(const char *fname);
|
||||
|
||||
void ast_register_file_version(const char *file, const char *version);
|
||||
void ast_register_file_version(const char *file, const char *version) { }
|
||||
#if !defined(LOW_MEMORY)
|
||||
int ast_add_profile(const char *x, uint64_t scale) { return 0;}
|
||||
|
||||
#endif
|
||||
int ast_atomic_fetchadd_int_slow(volatile int *p, int v)
|
||||
{
|
||||
int ret;
|
||||
@@ -156,6 +160,7 @@ int ast_atomic_fetchadd_int_slow(volatile int *p, int v)
|
||||
return ret;
|
||||
}
|
||||
|
||||
void ast_unregister_file_version(const char *file);
|
||||
void ast_unregister_file_version(const char *file)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user