[asterisk-commits] kpfleming: branch group/new_loader_completion r40596 - /team/group/new_loader...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Aug 19 20:33:56 MST 2006


Author: kpfleming
Date: Sat Aug 19 22:33:56 2006
New Revision: 40596

URL: http://svn.digium.com/view/asterisk?rev=40596&view=rev
Log:
remove weird weak alias stuff that is serving no useful purpose

Modified:
    team/group/new_loader_completion/main/db1-ast/db/db.c

Modified: team/group/new_loader_completion/main/db1-ast/db/db.c
URL: http://svn.digium.com/view/asterisk/team/group/new_loader_completion/main/db1-ast/db/db.c?rev=40596&r1=40595&r2=40596&view=diff
==============================================================================
--- team/group/new_loader_completion/main/db1-ast/db/db.c (original)
+++ team/group/new_loader_completion/main/db1-ast/db/db.c Sat Aug 19 22:33:56 2006
@@ -44,10 +44,6 @@
 
 #include <db.h>
 
-#ifndef __APPLE__
-#define dbopen __dbopen
-#endif
-
 DB *
 dbopen(fname, flags, mode, type, openinfo)
 	const char *fname;
@@ -76,12 +72,6 @@
 	errno = EINVAL;
 	return (NULL);
 }
-#ifndef __APPLE__
-#undef dbopen
-#define weak_alias(original, alias) \
-        asm (".weak " #alias "\n" #alias " = " #original);
-weak_alias (__dbopen, dbopen)
-#endif
 
 static int
 __dberr __P((void))



More information about the asterisk-commits mailing list