commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 03/08: uhd: Fix for CID 1090026 thru -33


From: git
Subject: [Commit-gnuradio] [gnuradio] 03/08: uhd: Fix for CID 1090026 thru -33
Date: Wed, 29 Apr 2015 21:53:07 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit f8d207029be6c266286ce418f8deb9d48aadd580
Author: Martin Braun <address@hidden>
Date:   Tue Apr 28 14:18:59 2015 -0700

    uhd: Fix for CID 1090026 thru -33
---
 gr-uhd/examples/c++/tags_demo.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gr-uhd/examples/c++/tags_demo.cc b/gr-uhd/examples/c++/tags_demo.cc
index 787e3d2..42cbb46 100644
--- a/gr-uhd/examples/c++/tags_demo.cc
+++ b/gr-uhd/examples/c++/tags_demo.cc
@@ -24,6 +24,7 @@
 #include <gnuradio/uhd/usrp_sink.h>
 #include <tag_source_demo.h>
 #include <tag_sink_demo.h>
+#include <uhd/utils/safe_main.hpp>
 #include <boost/make_shared.hpp>
 #include <boost/thread/thread.hpp> //sleep
 #include <boost/program_options.hpp>
@@ -41,7 +42,7 @@ void sig_int_handler(int){stop_signal_called = true;}
 /***********************************************************************
  * Main w/ program options
  **********************************************************************/
-int main(int argc, char *argv[]){
+int UHD_SAFE_MAIN(int argc, char *argv[]){
 
     std::string device_addr, length_tag;
     double center_freq, samp_rate, burst_dur, idle_dur;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]