diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-18 10:10:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-18 09:25:06 +0000 |
commit | 0a840edcc19ad1b8bb1525717d91ce8ade0c0092 (patch) | |
tree | 7b868933b54e3e763bf294b463abd302be26fb4f /vcl/osx | |
parent | 3ab9cebf45e725bbd3d7828dbcf974d3bef2c32c (diff) |
includes should be at the top of the file
not randomly scattered through the code
found with something like:
git ls-files *.cpp | xargs grep -Pzl "(?s){.*#include"
Change-Id: I9c242fa4ef99e8677f2800d7ec9f16d16e488351
Reviewed-on: https://gerrit.libreoffice.org/30952
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/salinst.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx index d6139c8728fb..4cd82d66bd94 100644 --- a/vcl/osx/salinst.cxx +++ b/vcl/osx/salinst.cxx @@ -64,6 +64,10 @@ #include "apple_remote/RemoteControl.h" #include "postmac.h" +extern "C" { +#include <crt_externs.h> +} + using namespace std; using namespace ::com::sun::star; @@ -251,10 +255,6 @@ void DeInitSalData() SetSalData( nullptr ); } -extern "C" { -#include <crt_externs.h> -} - void InitSalMain() { } |