]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix suncc visibility support
authorMichael Jerris <mike@jerris.com>
Thu, 19 Feb 2009 05:06:04 +0000 (05:06 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 19 Feb 2009 05:06:04 +0000 (05:06 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12157 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/libteletone/src/libteletone_generate.c
libs/libteletone/src/libteletone_generate.h

index f869cbc0a52094144b19e29010b46f20633b9e00..268faa317a8ae596d1533eb04994793c1ac8a102 100644 (file)
@@ -79,7 +79,7 @@
 #pragma warning(disable:4706)
 #endif
 
-int16_t TELETONE_SINES[SINE_TABLE_MAX] = {
+TELETONE_API int16_t TELETONE_SINES[SINE_TABLE_MAX] = {
        0x00c9, 0x025b, 0x03ed, 0x057f, 0x0711, 0x08a2, 0x0a33, 0x0bc4,
        0x0d54, 0x0ee4, 0x1073, 0x1201, 0x138f, 0x151c, 0x16a8, 0x1833,
        0x19be, 0x1b47, 0x1cd0, 0x1e57, 0x1fdd, 0x2162, 0x22e5, 0x2467,
index a056cd4dd65235660afff9e3de7b5899744fec22..a8027dcc1f75b99d750fabb2b445ce50c77d4b2e 100644 (file)
@@ -137,7 +137,7 @@ typedef struct teletone_dds_state teletone_dds_state_t;
 /* 3.02 represents twice the power */
 #define DBM0_MAX_POWER (3.14f + 3.02f)
 
-extern int16_t TELETONE_SINES[SINE_TABLE_MAX];
+TELETONE_API extern int16_t TELETONE_SINES[SINE_TABLE_MAX];
 
 static __inline__ int32_t teletone_dds_phase_rate(teletone_process_t tone, uint32_t rate)
 {