[clang-tidy] readability-duplicate-include

This commit is contained in:
akallabeth 2024-01-23 17:32:42 +01:00 committed by akallabeth
parent 0ba995655d
commit f69e1fe697
25 changed files with 3 additions and 32 deletions

View File

@ -30,7 +30,6 @@
#include <winpr/thread.h>
#include <winpr/stream.h>
#include <winpr/sysinfo.h>
#include <winpr/stream.h>
#include <freerdp/freerdp.h>
#include <freerdp/channels/ainput.h>

View File

@ -36,7 +36,6 @@
#ifdef WITH_XRENDER
#include <X11/extensions/Xrender.h>
#include <math.h>
#endif
#ifdef WITH_XI
@ -84,12 +83,10 @@
#include <freerdp/client/cmdline.h>
#include <winpr/crt.h>
#include <winpr/assert.h>
#include <winpr/synch.h>
#include <winpr/file.h>
#include <winpr/print.h>
#include <winpr/sysinfo.h>
#include <X11/XKBlib.h>
#include "xf_rail.h"
#if defined(CHANNEL_TSMF_CLIENT)
@ -103,7 +100,6 @@
#include "xf_monitor.h"
#include "xf_graphics.h"
#include "xf_keyboard.h"
#include "xf_input.h"
#include "xf_channels.h"
#include "xfreerdp.h"
#include "xf_utils.h"

View File

@ -37,7 +37,6 @@
#include "xf_graphics.h"
#include "xf_event.h"
#include "xf_input.h"
#define TAG CLIENT_TAG("x11")

View File

@ -48,7 +48,6 @@
#ifdef WITH_XI
#include <X11/extensions/XInput2.h>
#include "xf_input.h"
#endif
#include "xf_gfx.h"

View File

@ -43,7 +43,6 @@
#if defined(CHANNEL_VIDEO_CLIENT)
#include <freerdp/client/video.h>
#include <freerdp/channels/video.h>
#include <freerdp/gdi/video.h>
#endif
#if defined(CHANNEL_RDPGFX_CLIENT)
@ -55,6 +54,9 @@
#if defined(CHANNEL_GEOMETRY_CLIENT)
#include <freerdp/client/geometry.h>
#include <freerdp/channels/geometry.h>
#endif
#if defined(CHANNEL_GEOMETRY_CLIENT) || defined(CHANNEL_VIDEO_CLIENT)
#include <freerdp/gdi/video.h>
#endif

View File

@ -45,7 +45,6 @@
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/wtypes.h>

View File

@ -30,7 +30,6 @@
#include <winpr/tchar.h>
#include <winpr/sysinfo.h>
#include <winpr/registry.h>
#include <winpr/tchar.h>
#include <freerdp/log.h>
#include <freerdp/settings.h>
@ -39,7 +38,6 @@
#include <freerdp/primitives.h>
#include <freerdp/codec/region.h>
#include <freerdp/build-config.h>
#include <freerdp/codec/region.h>
#include "rfx_constants.h"
#include "rfx_types.h"

View File

@ -4,7 +4,6 @@
#include <winpr/image.h>
#include <winpr/print.h>
#include <winpr/wlog.h>
#include <winpr/image.h>
#include <winpr/sysinfo.h>
#include <winpr/file.h>

View File

@ -36,7 +36,6 @@
#include <freerdp/settings.h>
#include <freerdp/build-config.h>
#include <ctype.h>
#include "../crypto/certificate.h"
#include "../crypto/privatekey.h"

View File

@ -56,7 +56,6 @@
#include "utils.h"
#include "state.h"
#include "childsession.h"
#include "settings.h"
#include "gateway/rdg.h"
#include "gateway/wst.h"

View File

@ -5,7 +5,6 @@
#include <freerdp/gdi/pen.h>
#include <freerdp/gdi/region.h>
#include <freerdp/gdi/bitmap.h>
#include <freerdp/gdi/gdi.h>
#include <winpr/crt.h>

View File

@ -72,7 +72,6 @@ char* freerdp_passphrase_read(rdpContext* context, const char* prompt, char* buf
#include <sys/stat.h>
#include <termios.h>
#include <unistd.h>
#include <termios.h>
#include <freerdp/utils/signal.h>
#if defined(WINPR_HAVE_POLL_H) && !defined(__APPLE__)

View File

@ -30,7 +30,6 @@
#include "pf_server.h"
#include <freerdp/server/proxy/proxy_config.h>
#include <freerdp/server/proxy/proxy_config.h>
#include <freerdp/server/proxy/proxy_log.h>
#include <freerdp/crypto/crypto.h>

View File

@ -27,7 +27,6 @@
#include <wchar.h>
#include <winpr/crt.h>
#include <winpr/assert.h>
#include <winpr/endian.h>
#if defined(WITH_URIPARSER)

View File

@ -139,7 +139,6 @@
#include "crypto.h"
#include <winpr/crt.h>
#include <winpr/crypto.h>
#include <winpr/collections.h>
static wListDictionary* g_ProtectedMemoryBlocks = NULL;

View File

@ -30,9 +30,6 @@
#ifndef _WIN32
#include <winpr/crt.h>
#include <winpr/platform.h>
#ifdef WINPR_HAVE_UNISTD_H
#include <unistd.h>
#endif

View File

@ -41,7 +41,6 @@
#include <sys/un.h>
#include <sys/socket.h>
#include <winpr/assert.h>
#include <unistd.h>
#ifdef WINPR_HAVE_SYS_AIO_H
#undef WINPR_HAVE_SYS_AIO_H /* disable for now, incomplete */

View File

@ -26,7 +26,6 @@
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <ctype.h>
#include <winpr/assert.h>

View File

@ -25,7 +25,6 @@
#include "../sspi.h"
#include <winpr/crt.h>
#include <winpr/assert.h>
#include <winpr/print.h>
#include <winpr/sysinfo.h>
#include <winpr/tchar.h>

View File

@ -25,7 +25,6 @@
#include <winpr/assert.h>
#include <winpr/sspi.h>
#include <winpr/tchar.h>
#include <winpr/assert.h>
#include <winpr/registry.h>
#include <winpr/build-config.h>
#include <winpr/asn1.h>

View File

@ -61,8 +61,6 @@
#if defined(WINPR_HAVE_GETPWUID_R)
#include <sys/types.h>
#include <pwd.h>
#include <unistd.h>
#endif
#include <pthread.h>

View File

@ -29,7 +29,6 @@
#ifdef WINPR_SYNCHRONIZATION_BARRIER
#include <winpr/assert.h>
#include <winpr/sysinfo.h>
#include <winpr/library.h>
#include <winpr/interlocked.h>

View File

@ -45,7 +45,6 @@
#include <windows/debug.h>
#endif
#include <winpr/crt.h>
#include <winpr/wlog.h>
#include <winpr/debug.h>

View File

@ -288,7 +288,6 @@ INT winpr_inet_pton(INT Family, PCSTR pszAddrString, PVOID pAddrBuf)
#include <netdb.h>
#include <errno.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <netinet/in.h>

View File

@ -26,7 +26,6 @@
#include <winpr/cmdline.h>
#include <winpr/sysinfo.h>
#include <winpr/crypto.h>
#include <winpr/file.h>
#ifdef WITH_OPENSSL
#include <openssl/crypto.h>