diff --git a/src/Plot/GoogleChart.hpp b/src/Plot/GoogleChart.hpp
index 36445e19c8b2d7a29d9e6033c113c2eacd845865..105ac735da819afe98600d75e490b08dd410d3cd 100644
--- a/src/Plot/GoogleChart.hpp
+++ b/src/Plot/GoogleChart.hpp
@@ -457,7 +457,7 @@ public:
 	{
 		if (y.size() == 0)
 		{
-			std::cerr << "Error: " << __FILE__ << ":" << __LINE__ << " vector y must be filled";
+			std::cerr << "Error: " << __FILE__ << ":" << __LINE__ << " vector y must be filled\n";
 			return;
 		}
 
diff --git a/src/util.hpp b/src/util.hpp
index 7bbc8558c2fc8ca361047ec06367898637eb980e..0e69ba48f891e27bb076d26d8710f66e677959b1 100644
--- a/src/util.hpp
+++ b/src/util.hpp
@@ -21,7 +21,7 @@
  * \return true if they match
  *
  */
-bool compare(std::string file1, std::string file2)
+static inline bool compare(std::string file1, std::string file2)
 {
     boost::iostreams::mapped_file_source f1(file1);
     boost::iostreams::mapped_file_source f2(file2);
@@ -65,7 +65,7 @@ struct RGB
  *
  */
 
-struct RGB getColor(int group, std::uniform_real_distribution<float> & d, std::default_random_engine & g)
+static inline struct RGB getColor(int group, std::uniform_real_distribution<float> & d, std::default_random_engine & g)
 {
 	struct RGB col;
 
@@ -159,7 +159,7 @@ struct RGB getColor(int group, std::uniform_real_distribution<float> & d, std::d
  * \param ending ending string to check
  *
  */
-bool hasEnding (std::string const &fullString, std::string const &ending)
+static inline bool hasEnding (std::string const &fullString, std::string const &ending)
 {
     if (fullString.length() >= ending.length())
     {return (0 == fullString.compare (fullString.length() - ending.length(), ending.length(), ending));}