summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoobrowse-api/service/depend.h3
-rw-r--r--gentoobrowse-api/service/news.h3
-rw-r--r--gentoobrowse-api/unittests/Jamfile.jam4
3 files changed, 4 insertions, 6 deletions
diff --git a/gentoobrowse-api/service/depend.h b/gentoobrowse-api/service/depend.h
index 3acae7f..487c6da 100644
--- a/gentoobrowse-api/service/depend.h
+++ b/gentoobrowse-api/service/depend.h
@@ -1,7 +1,6 @@
#ifndef GENTOOBROWSE_SERVICE_DEPEND_H
#define GENTOOBROWSE_SERVICE_DEPEND_H
-#include <visibility.h>
#include <istream>
#include <vector>
#include <portage-models.h>
@@ -15,7 +14,7 @@ namespace Portage {
Gentoo::StringList when;
public:
- DLL_PUBLIC static std::vector<Gentoo::DependencyPtr> parse(const std::string &);
+ static std::vector<Gentoo::DependencyPtr> parse(const std::string &);
std::vector<Gentoo::DependencyPtr> ds;
};
}
diff --git a/gentoobrowse-api/service/news.h b/gentoobrowse-api/service/news.h
index ae82bb7..2887b5d 100644
--- a/gentoobrowse-api/service/news.h
+++ b/gentoobrowse-api/service/news.h
@@ -1,7 +1,6 @@
#ifndef GENTOOBROWSE_SERVICE_DEPEND_H
#define GENTOOBROWSE_SERVICE_DEPEND_H
-#include <visibility.h>
#include <istream>
#include <vector>
#include <portage-models.h>
@@ -15,7 +14,7 @@ namespace Portage {
public:
Gentoo::NewsItemPtr news;
- DLL_PUBLIC static Gentoo::NewsItemPtr parse(const gchar * string, size_t length);
+ static Gentoo::NewsItemPtr parse(const gchar * string, size_t length);
};
}
}
diff --git a/gentoobrowse-api/unittests/Jamfile.jam b/gentoobrowse-api/unittests/Jamfile.jam
index c8a440f..e41a194 100644
--- a/gentoobrowse-api/unittests/Jamfile.jam
+++ b/gentoobrowse-api/unittests/Jamfile.jam
@@ -43,14 +43,14 @@ lib testCommon :
;
run
- testDepend.cpp
+ testDepend.cpp ../service/depend.cpp ../service/utils/lexer.cpp
: : :
<define>BOOST_TEST_DYN_LINK
<library>testCommon
: testDepend ;
run
- testNews.cpp ../service/utils/fileUtils.cpp
+ testNews.cpp ../service/utils/fileUtils.cpp ../service/news.cpp ../service/utils/lexer.cpp
: : :
<define>BOOST_TEST_DYN_LINK
<library>testCommon