diff options
author | Pierre Ossman <ossman@cendio.se> | 2023-01-27 10:52:53 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-02-04 14:03:13 +0100 |
commit | 5db843ead6cbf683c2888da377d5d0e0d0d30833 (patch) | |
tree | 4b2403fa80e9a1d9a44cc12ba444957eee301994 /common/rfb | |
parent | fd243a8d3ae8e776fb2af1136feee7f8c083d2da (diff) | |
download | tigervnc-5db843ead6cbf683c2888da377d5d0e0d0d30833.tar.gz tigervnc-5db843ead6cbf683c2888da377d5d0e0d0d30833.zip |
Remove unused rfb/util.h includes
These files don't use anything from this header, so remove the include.
This exposes some missing includes in other places, though. So add an
explicit include in the files that were relying on an indirect
inclusion.
Diffstat (limited to 'common/rfb')
-rw-r--r-- | common/rfb/CMsgHandler.cxx | 1 | ||||
-rw-r--r-- | common/rfb/CMsgReader.cxx | 1 | ||||
-rw-r--r-- | common/rfb/CSecurityRSAAES.cxx | 1 | ||||
-rw-r--r-- | common/rfb/CSecurityTLS.cxx | 1 | ||||
-rw-r--r-- | common/rfb/CSecurityVncAuth.cxx | 1 | ||||
-rw-r--r-- | common/rfb/ComparingUpdateTracker.cxx | 2 | ||||
-rw-r--r-- | common/rfb/DecodeManager.cxx | 2 | ||||
-rw-r--r-- | common/rfb/EncodeManager.cxx | 1 | ||||
-rw-r--r-- | common/rfb/InputHandler.h | 1 | ||||
-rw-r--r-- | common/rfb/Logger.cxx | 1 | ||||
-rw-r--r-- | common/rfb/Logger_syslog.cxx | 1 | ||||
-rw-r--r-- | common/rfb/PixelBuffer.h | 1 | ||||
-rw-r--r-- | common/rfb/PixelFormat.cxx | 1 | ||||
-rw-r--r-- | common/rfb/SConnection.cxx | 1 | ||||
-rw-r--r-- | common/rfb/SMsgHandler.cxx | 1 | ||||
-rw-r--r-- | common/rfb/SMsgReader.cxx | 1 | ||||
-rw-r--r-- | common/rfb/SSecurityPlain.cxx | 1 | ||||
-rw-r--r-- | common/rfb/ServerCore.cxx | 1 | ||||
-rw-r--r-- | common/rfb/ServerCore.h | 1 | ||||
-rw-r--r-- | common/rfb/VNCSConnectionST.cxx | 1 | ||||
-rw-r--r-- | common/rfb/encodings.cxx | 1 |
21 files changed, 13 insertions, 10 deletions
diff --git a/common/rfb/CMsgHandler.cxx b/common/rfb/CMsgHandler.cxx index f547f0a9..e37811f9 100644 --- a/common/rfb/CMsgHandler.cxx +++ b/common/rfb/CMsgHandler.cxx @@ -28,6 +28,7 @@ #include <rfb/CMsgHandler.h> #include <rfb/clipboardTypes.h> #include <rfb/screenTypes.h> +#include <rfb/util.h> static rfb::LogWriter vlog("CMsgHandler"); diff --git a/common/rfb/CMsgReader.cxx b/common/rfb/CMsgReader.cxx index 0052d35e..be5133cf 100644 --- a/common/rfb/CMsgReader.cxx +++ b/common/rfb/CMsgReader.cxx @@ -31,6 +31,7 @@ #include <rfb/msgTypes.h> #include <rfb/clipboardTypes.h> +#include <rfb/util.h> #include <rfb/Exception.h> #include <rfb/LogWriter.h> #include <rfb/CMsgHandler.h> diff --git a/common/rfb/CSecurityRSAAES.cxx b/common/rfb/CSecurityRSAAES.cxx index bff088ad..6194caab 100644 --- a/common/rfb/CSecurityRSAAES.cxx +++ b/common/rfb/CSecurityRSAAES.cxx @@ -39,6 +39,7 @@ #include <rfb/LogWriter.h> #include <rfb/Exception.h> #include <rfb/UserMsgBox.h> +#include <rfb/util.h> #include <rdr/AESInStream.h> #include <rdr/AESOutStream.h> #include <os/os.h> diff --git a/common/rfb/CSecurityTLS.cxx b/common/rfb/CSecurityTLS.cxx index 58794e89..e24f9d71 100644 --- a/common/rfb/CSecurityTLS.cxx +++ b/common/rfb/CSecurityTLS.cxx @@ -39,6 +39,7 @@ #include <rfb/LogWriter.h> #include <rfb/Exception.h> #include <rfb/UserMsgBox.h> +#include <rfb/util.h> #include <rdr/TLSInStream.h> #include <rdr/TLSOutStream.h> #include <os/os.h> diff --git a/common/rfb/CSecurityVncAuth.cxx b/common/rfb/CSecurityVncAuth.cxx index 875e088a..f6a5e07a 100644 --- a/common/rfb/CSecurityVncAuth.cxx +++ b/common/rfb/CSecurityVncAuth.cxx @@ -30,7 +30,6 @@ #include <rfb/CConnection.h> #include <rfb/CSecurityVncAuth.h> -#include <rfb/util.h> #include <rfb/Security.h> extern "C" { #include <rfb/d3des.h> diff --git a/common/rfb/ComparingUpdateTracker.cxx b/common/rfb/ComparingUpdateTracker.cxx index c8d69b78..1bad487e 100644 --- a/common/rfb/ComparingUpdateTracker.cxx +++ b/common/rfb/ComparingUpdateTracker.cxx @@ -26,6 +26,8 @@ #include <rfb/Exception.h> #include <rfb/LogWriter.h> +#include <rfb/util.h> + #include <rfb/ComparingUpdateTracker.h> using namespace rfb; diff --git a/common/rfb/DecodeManager.cxx b/common/rfb/DecodeManager.cxx index b6dd81f4..e39a3943 100644 --- a/common/rfb/DecodeManager.cxx +++ b/common/rfb/DecodeManager.cxx @@ -28,8 +28,8 @@ #include <rfb/Decoder.h> #include <rfb/Exception.h> #include <rfb/Region.h> - #include <rfb/LogWriter.h> +#include <rfb/util.h> #include <rdr/Exception.h> #include <rdr/MemOutStream.h> diff --git a/common/rfb/EncodeManager.cxx b/common/rfb/EncodeManager.cxx index e2571cab..cade1506 100644 --- a/common/rfb/EncodeManager.cxx +++ b/common/rfb/EncodeManager.cxx @@ -33,6 +33,7 @@ #include <rfb/UpdateTracker.h> #include <rfb/LogWriter.h> #include <rfb/Exception.h> +#include <rfb/util.h> #include <rfb/RawEncoder.h> #include <rfb/RREEncoder.h> diff --git a/common/rfb/InputHandler.h b/common/rfb/InputHandler.h index fbb69a56..ad6c4be5 100644 --- a/common/rfb/InputHandler.h +++ b/common/rfb/InputHandler.h @@ -26,7 +26,6 @@ #include <stdint.h> #include <rfb/Rect.h> -#include <rfb/util.h> namespace rfb { diff --git a/common/rfb/Logger.cxx b/common/rfb/Logger.cxx index e815dad4..7e0895e4 100644 --- a/common/rfb/Logger.cxx +++ b/common/rfb/Logger.cxx @@ -28,7 +28,6 @@ #include <rfb/Logger.h> #include <rfb/LogWriter.h> -#include <rfb/util.h> using namespace rfb; diff --git a/common/rfb/Logger_syslog.cxx b/common/rfb/Logger_syslog.cxx index 0f5c8423..320ab4b0 100644 --- a/common/rfb/Logger_syslog.cxx +++ b/common/rfb/Logger_syslog.cxx @@ -26,7 +26,6 @@ #include <string.h> #include <syslog.h> -#include <rfb/util.h> #include <rfb/Logger_syslog.h> #include <rfb/LogWriter.h> diff --git a/common/rfb/PixelBuffer.h b/common/rfb/PixelBuffer.h index 05273699..528f55c6 100644 --- a/common/rfb/PixelBuffer.h +++ b/common/rfb/PixelBuffer.h @@ -28,7 +28,6 @@ #include <rfb/PixelFormat.h> #include <rfb/Rect.h> #include <rfb/Pixel.h> -#include <rfb/util.h> namespace rfb { diff --git a/common/rfb/PixelFormat.cxx b/common/rfb/PixelFormat.cxx index 938ffb5b..b3ea8182 100644 --- a/common/rfb/PixelFormat.cxx +++ b/common/rfb/PixelFormat.cxx @@ -30,7 +30,6 @@ #include <rdr/OutStream.h> #include <rfb/Exception.h> #include <rfb/PixelFormat.h> -#include <rfb/util.h> #ifdef _WIN32 #define strcasecmp _stricmp diff --git a/common/rfb/SConnection.cxx b/common/rfb/SConnection.cxx index a1755cb4..b6c20923 100644 --- a/common/rfb/SConnection.cxx +++ b/common/rfb/SConnection.cxx @@ -36,6 +36,7 @@ #include <rfb/encodings.h> #include <rfb/EncodeManager.h> #include <rfb/SSecurity.h> +#include <rfb/util.h> #include <rfb/LogWriter.h> diff --git a/common/rfb/SMsgHandler.cxx b/common/rfb/SMsgHandler.cxx index 092d9f7e..4ecfc2b2 100644 --- a/common/rfb/SMsgHandler.cxx +++ b/common/rfb/SMsgHandler.cxx @@ -27,6 +27,7 @@ #include <rfb/ScreenSet.h> #include <rfb/clipboardTypes.h> #include <rfb/encodings.h> +#include <rfb/util.h> using namespace rfb; diff --git a/common/rfb/SMsgReader.cxx b/common/rfb/SMsgReader.cxx index 28841704..8cd8d147 100644 --- a/common/rfb/SMsgReader.cxx +++ b/common/rfb/SMsgReader.cxx @@ -36,6 +36,7 @@ #include <rfb/SMsgReader.h> #include <rfb/Configuration.h> #include <rfb/LogWriter.h> +#include <rfb/util.h> using namespace rfb; diff --git a/common/rfb/SSecurityPlain.cxx b/common/rfb/SSecurityPlain.cxx index 5124a08e..e65b6d3b 100644 --- a/common/rfb/SSecurityPlain.cxx +++ b/common/rfb/SSecurityPlain.cxx @@ -24,6 +24,7 @@ #include <rfb/SSecurityPlain.h> #include <rfb/SConnection.h> #include <rfb/Exception.h> +#include <rfb/util.h> #include <rdr/InStream.h> #if !defined(WIN32) && !defined(__APPLE__) #include <rfb/UnixPasswordValidator.h> diff --git a/common/rfb/ServerCore.cxx b/common/rfb/ServerCore.cxx index 274458fa..5bb6b9c9 100644 --- a/common/rfb/ServerCore.cxx +++ b/common/rfb/ServerCore.cxx @@ -26,7 +26,6 @@ #endif #include <string.h> -#include <rfb/util.h> #include <rfb/ServerCore.h> rfb::IntParameter rfb::Server::idleTimeout diff --git a/common/rfb/ServerCore.h b/common/rfb/ServerCore.h index 20a740a8..69cad39f 100644 --- a/common/rfb/ServerCore.h +++ b/common/rfb/ServerCore.h @@ -25,7 +25,6 @@ #define __RFB_SERVER_CORE_H__ #include <rfb/Configuration.h> -#include <rfb/util.h> namespace rfb { diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx index 1d890c28..b5e5b583 100644 --- a/common/rfb/VNCSConnectionST.cxx +++ b/common/rfb/VNCSConnectionST.cxx @@ -40,6 +40,7 @@ #define XK_MISCELLANY #define XK_XKB_KEYS #include <rfb/keysymdef.h> +#include <rfb/util.h> using namespace rfb; diff --git a/common/rfb/encodings.cxx b/common/rfb/encodings.cxx index b33dc6df..4acb569e 100644 --- a/common/rfb/encodings.cxx +++ b/common/rfb/encodings.cxx @@ -22,7 +22,6 @@ #include <string.h> #include <rfb/encodings.h> -#include <rfb/util.h> int rfb::encodingNum(const char* name) { |