[asterisk-commits] seanbright: branch group/asterisk-cpp r168730 - /team/group/asterisk-cpp/main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jan 15 13:24:51 CST 2009
Author: seanbright
Date: Thu Jan 15 13:24:51 2009
New Revision: 168730
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=168730
Log:
The aes linker errors are gone... not sure if it's correct or anything, but the linker errors are gone :)
Modified:
team/group/asterisk-cpp/main/aesopt.h
Modified: team/group/asterisk-cpp/main/aesopt.h
URL: http://svn.digium.com/svn-view/asterisk/team/group/asterisk-cpp/main/aesopt.h?view=diff&rev=168730&r1=168729&r2=168730
==============================================================================
--- team/group/asterisk-cpp/main/aesopt.h (original)
+++ team/group/asterisk-cpp/main/aesopt.h Thu Jan 15 13:24:51 2009
@@ -918,14 +918,14 @@
#define v2(p) bytes2word(fd(p), fb(p), fe(p), f9(p))
#define v3(p) bytes2word(f9(p), fd(p), fb(p), fe(p))
-const aes_32t t_dec(r,c)[RC_LENGTH] =
+extern const aes_32t t_dec(r,c)[RC_LENGTH] =
{
w0(0x01), w0(0x02), w0(0x04), w0(0x08), w0(0x10),
w0(0x20), w0(0x40), w0(0x80), w0(0x1b), w0(0x36)
};
-#define d_1(t,n,b,v) const t n[256] = { b(v##0) }
-#define d_4(t,n,b,v) const t n[4][256] = { { b(v##0) }, { b(v##1) }, { b(v##2) }, { b(v##3) } }
+#define d_1(t,n,b,v) extern const t n[256] = { b(v##0) }
+#define d_4(t,n,b,v) extern const t n[4][256] = { { b(v##0) }, { b(v##1) }, { b(v##2) }, { b(v##3) } }
#else /* declare and instantiate tables for dynamic value generation in in tab.c */
More information about the asterisk-commits
mailing list