[asterisk-commits] mmichelson: trunk r115473 - /trunk/utils/refcounter.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue May 6 15:15:02 CDT 2008
Author: mmichelson
Date: Tue May 6 15:15:02 2008
New Revision: 115473
URL: http://svn.digium.com/view/asterisk?view=rev&rev=115473
Log:
Get refcounter to build with LOW_MEMORY defined
Modified:
trunk/utils/refcounter.c
Modified: trunk/utils/refcounter.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/refcounter.c?view=diff&rev=115473&r1=115472&r2=115473
==============================================================================
--- trunk/utils/refcounter.c (original)
+++ trunk/utils/refcounter.c Tue May 6 15:15:02 2008
@@ -197,10 +197,12 @@
/* stub routines to satisfy linking with asterisk subcomponents */
+#ifndef LOW_MEMORY
int ast_add_profile(const char *x, uint64_t scale)
{
return 0;
}
+#endif
int ast_loader_register(int (*updater)(void))
{
@@ -219,7 +221,7 @@
{
}
-
+#ifndef LOW_MEMORY
void ast_register_file_version(const char *file, const char *version)
{
}
@@ -235,6 +237,7 @@
{
return 0;
}
+#endif
void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...)
{
More information about the asterisk-commits
mailing list