Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use Roland's include guards

  • Loading branch information...
commit 383b8c06142cff65ba03f4e4df81ea907f15d4cb 1 parent 0f8cbeb
@rolker rolker authored schwehr committed
Showing with 10 additions and 0 deletions.
  1. +5 −0 ais.h
  2. +5 −0 ais8_366_22.h
View
5 ais.h
@@ -1,3 +1,6 @@
+#ifndef AIS_H
+#define AIS_H
+
// -*- c++ -*-
// Since Apr 2010
// g++ ais_pos.cxx -o ais_pos -g -Wall -O3 -Wimplicit -W -Wredundant-decls -pedantic -funroll-loops -fexpensive-optimizations
@@ -823,3 +826,5 @@ const std::string ais_str(const std::bitset<T> &bits, const size_t start, const
}
return result;
}
+
+#endif
View
5 ais8_366_22.h
@@ -1,3 +1,6 @@
+#ifndef AIS8_366_22_H
+#define AIS8_366_22_H
+
// -*- c++ -*-
// Way complicated
@@ -153,3 +156,5 @@ std::ostream& operator<< (std::ostream& o, Ais8_366_22 const& msg);
// std::vector<std::string> notice_names;
const size_t AIS8_366_22_NUM_NAMES=128;
extern const char *ais8_366_22_notice_names[AIS8_366_22_NUM_NAMES]; //128];
+
+#endif
Please sign in to comment.
Something went wrong with that request. Please try again.