summaryrefslogtreecommitdiff
path: root/gruel/src/lib/msg
diff options
context:
space:
mode:
Diffstat (limited to 'gruel/src/lib/msg')
-rw-r--r--gruel/src/lib/msg/.gitignore4
-rw-r--r--gruel/src/lib/msg/CMakeLists.txt8
-rw-r--r--gruel/src/lib/msg/Makefile.am33
-rw-r--r--gruel/src/lib/msg/msg_accepter.cc8
-rw-r--r--gruel/src/lib/msg/msg_accepter_msgq.cc8
-rw-r--r--gruel/src/lib/msg/msg_queue.cc14
6 files changed, 19 insertions, 56 deletions
diff --git a/gruel/src/lib/msg/.gitignore b/gruel/src/lib/msg/.gitignore
deleted file mode 100644
index c026fd667..000000000
--- a/gruel/src/lib/msg/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-/Makefile
-/Makefile.in
-/.deps
-/.libs
diff --git a/gruel/src/lib/msg/CMakeLists.txt b/gruel/src/lib/msg/CMakeLists.txt
index 116d2c67f..74010af7e 100644
--- a/gruel/src/lib/msg/CMakeLists.txt
+++ b/gruel/src/lib/msg/CMakeLists.txt
@@ -1,17 +1,17 @@
# Copyright 2010 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
diff --git a/gruel/src/lib/msg/Makefile.am b/gruel/src/lib/msg/Makefile.am
deleted file mode 100644
index 9dbaf10f5..000000000
--- a/gruel/src/lib/msg/Makefile.am
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Copyright 2009,2010 Free Software Foundation, Inc.
-#
-# This file is part of GNU Radio
-#
-# GNU Radio is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3, or (at your option)
-# any later version.
-#
-# GNU Radio is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GNU Radio; see the file COPYING. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street,
-# Boston, MA 02110-1301, USA.
-#
-
-include $(top_srcdir)/Makefile.common
-
-AM_CPPFLAGS = $(DEFINES) $(GRUEL_INCLUDES) \
- $(BOOST_CPPFLAGS) $(WITH_INCLUDES)
-
-noinst_LTLIBRARIES = libmsg.la
-
-libmsg_la_SOURCES = \
- msg_accepter.cc \
- msg_accepter_msgq.cc \
- msg_queue.cc
-
diff --git a/gruel/src/lib/msg/msg_accepter.cc b/gruel/src/lib/msg/msg_accepter.cc
index 64878f737..5acd98aa2 100644
--- a/gruel/src/lib/msg/msg_accepter.cc
+++ b/gruel/src/lib/msg/msg_accepter.cc
@@ -1,19 +1,19 @@
/* -*- c++ -*- */
/*
* Copyright 2009 Free Software Foundation, Inc.
- *
+ *
* This file is part of GNU Radio
- *
+ *
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
- *
+ *
* GNU Radio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with GNU Radio; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
diff --git a/gruel/src/lib/msg/msg_accepter_msgq.cc b/gruel/src/lib/msg/msg_accepter_msgq.cc
index 64fe501d1..2ae3537b8 100644
--- a/gruel/src/lib/msg/msg_accepter_msgq.cc
+++ b/gruel/src/lib/msg/msg_accepter_msgq.cc
@@ -1,19 +1,19 @@
/* -*- c++ -*- */
/*
* Copyright 2009 Free Software Foundation, Inc.
- *
+ *
* This file is part of GNU Radio
- *
+ *
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
- *
+ *
* GNU Radio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
diff --git a/gruel/src/lib/msg/msg_queue.cc b/gruel/src/lib/msg/msg_queue.cc
index 8d15f08c5..a0b120e40 100644
--- a/gruel/src/lib/msg/msg_queue.cc
+++ b/gruel/src/lib/msg/msg_queue.cc
@@ -1,19 +1,19 @@
/* -*- c++ -*- */
/*
* Copyright 2009 Free Software Foundation, Inc.
- *
+ *
* This file is part of GNU Radio
- *
+ *
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
- *
+ *
* GNU Radio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with GNU Radio; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
@@ -36,12 +36,12 @@ namespace gruel {
{
return msg_queue_sptr(new msg_queue(limit));
}
-
+
msg_queue::msg_queue(unsigned int limit)
: d_limit(limit)
{
}
-
+
msg_queue::~msg_queue()
{
flush();
@@ -83,7 +83,7 @@ namespace gruel {
if (empty_p())
return pmt_t();
-
+
pmt_t m(d_msgs.front());
d_msgs.pop_front();