Fix for Windows build API exports.

This commit is contained in:
Hoernchen
2012-07-16 15:24:18 -07:00
committed by Nick Foster
parent 0a1c49f1fc
commit d2ec78c506
4 changed files with 8 additions and 8 deletions
+1 -2
View File
@@ -29,9 +29,8 @@
#include <string.h>
#include <iostream>
#include <gr_tags.h>
#include <air_modes_api.h>
AIR_MODES_API air_modes_preamble_sptr air_make_modes_preamble(int channel_rate, float threshold_db)
air_modes_preamble_sptr air_make_modes_preamble(int channel_rate, float threshold_db)
{
return air_modes_preamble_sptr (new air_modes_preamble(channel_rate, threshold_db));
}
+1 -2
View File
@@ -32,7 +32,6 @@
#include <modes_crc.h>
#include <iostream>
#include <gr_tags.h>
#include <air_modes_api.h>
extern "C"
{
@@ -40,7 +39,7 @@ extern "C"
#include <string.h>
}
AIR_MODES_API air_modes_slicer_sptr air_make_modes_slicer(int channel_rate, gr_msg_queue_sptr queue)
air_modes_slicer_sptr air_make_modes_slicer(int channel_rate, gr_msg_queue_sptr queue)
{
return air_modes_slicer_sptr (new air_modes_slicer(channel_rate, queue));
}