summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unusedfieldsremove.cxx
diff options
context:
space:
mode:
authorWastack <btomi96@gmail.com>2016-03-11 01:00:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-11 08:57:51 +0000
commit9a13cff64783a7de3dce7d484c150605bd42a4d6 (patch)
tree68f9f34bf5b763578067e205e04cacf0652242c0 /compilerplugins/clang/unusedfieldsremove.cxx
parent018c6adf85097d07a0b0fbce3d7155ca5a369ae1 (diff)
tdf#97966: Remove 'static' keywords
Change-Id: Id991cead4f01830eafd9cf8dd63b519ef07c9451 Reviewed-on: https://gerrit.libreoffice.org/23134 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins/clang/unusedfieldsremove.cxx')
-rw-r--r--compilerplugins/clang/unusedfieldsremove.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/unusedfieldsremove.cxx b/compilerplugins/clang/unusedfieldsremove.cxx
index 943034cc8826..e33f940a8a35 100644
--- a/compilerplugins/clang/unusedfieldsremove.cxx
+++ b/compilerplugins/clang/unusedfieldsremove.cxx
@@ -44,7 +44,7 @@ private:
char* mmappedData;
};
-static size_t getFilesize(const char* filename)
+size_t getFilesize(const char* filename)
{
struct stat st;
stat(filename, &st);
@@ -71,7 +71,7 @@ UnusedFieldsRemove::~UnusedFieldsRemove()
close(mmapFD);
}
-static std::string niceName(const FieldDecl* fieldDecl)
+std::string niceName(const FieldDecl* fieldDecl)
{
std::string s = fieldDecl->getParent()->getQualifiedNameAsString() + " " +
fieldDecl->getNameAsString();