Fix #include guards.
[pulseview.git] / pv / logicsignal.h
index e12f0ca404d4dd0c0c38ef8c72aec0e94179b979..54145a8c231d0e6632b7426773dba244886c695e 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef PULSEVIEW_PV_LOGICSIGNAL_H
+#define PULSEVIEW_PV_LOGICSIGNAL_H
+
 #include "signal.h"
 
 #include <boost/shared_ptr.hpp>
@@ -55,7 +58,7 @@ public:
 
 private:
 
-       int paint_caps(QPainter &p, QLineF *const lines,
+       void paint_caps(QPainter &p, QLineF *const lines,
                std::vector< std::pair<int64_t, bool> > &edges,
                bool level, double samples_per_pixel, double pixels_offset,
                int x_offset, int y_offset);
@@ -77,3 +80,5 @@ private:
 };
 
 } // namespace pv
+
+#endif // PULSEVIEW_PV_LOGICSIGNAL_H