diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-06-29 18:22:01 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-10 11:45:42 +0200 |
commit | 6b51fee8d264db616d1be32676f0f691acbfe680 (patch) | |
tree | dee5c44446b46951fce9bf3bb5344c941b3f539e /include | |
parent | 15eadb56d0a24fb4b1e70c8afb41f6e02eb47761 (diff) |
tdf#42949 Fix IWYU warnings in include/osl/*hxx
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I7b19938246ca8498fa300f781589bf17b3d486aa
Reviewed-on: https://gerrit.libreoffice.org/56723
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/IwyuFilter_include.yaml | 12 | ||||
-rw-r--r-- | include/osl/file.hxx | 4 |
2 files changed, 13 insertions, 3 deletions
diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml index f679943627c1..5e9a818b379d 100644 --- a/include/IwyuFilter_include.yaml +++ b/include/IwyuFilter_include.yaml @@ -22,3 +22,15 @@ blacklist: include/osl/thread.h: # ODK API test would fail with fw decl here - osl/time.h + include/osl/conditn.hxx: + # ODK API test would fail with fw decl here + - osl/time.h + include/osl/pipe_decl.hxx: + # ODK API test would fail with fw decl here + - osl/security.hxx + include/osl/socket_decl.hxx: + # Needed by socket.hxx for inline function + - rtl/byteseq.hxx + include/osl/thread.hxx: + # ODK API test would fail with fw decl here + - osl/time.h diff --git a/include/osl/file.hxx b/include/osl/file.hxx index 6d1a755ac422..a85f5fc7aeb0 100644 --- a/include/osl/file.hxx +++ b/include/osl/file.hxx @@ -24,7 +24,6 @@ #include <string.h> -#include <cassert> #include <cstddef> #include "sal/log.hxx" @@ -33,9 +32,8 @@ #include "osl/file.h" #include "osl/diagnose.h" -#include "rtl/byteseq.hxx" -#include <stdio.h> +namespace rtl { class ByteSequence; } namespace osl { |