From 9bf9ee3806866886516cbe7b37dea5f8985c7186 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sun, 12 Apr 2015 18:27:27 +0200 Subject: [PATCH] Whitespace and style cleanup only. --- headers/posix/net/route.h | 2 +- src/kits/network/libnetapi/Jamfile | 4 ++-- src/kits/network/libnetapi/NetworkInterface.cpp | 1 - src/libs/icon/flat_icon/FlatIconImporter.cpp | 2 +- src/system/kernel/arch/x86/arch_debug.cpp | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/headers/posix/net/route.h b/headers/posix/net/route.h index 70e81e8d9e..217a91181f 100644 --- a/headers/posix/net/route.h +++ b/headers/posix/net/route.h @@ -15,7 +15,7 @@ #define RTF_REJECT 0x00000008 #define RTF_DYNAMIC 0x00000010 #define RTF_MODIFIED 0x00000020 -#define RTF_DEFAULT 0x00000080 +#define RTF_DEFAULT 0x00000080 #define RTF_STATIC 0x00000800 #define RTF_BLACKHOLE 0x00001000 #define RTF_LOCAL 0x00200000 diff --git a/src/kits/network/libnetapi/Jamfile b/src/kits/network/libnetapi/Jamfile index 8fb2ce4f72..34b3eae24e 100644 --- a/src/kits/network/libnetapi/Jamfile +++ b/src/kits/network/libnetapi/Jamfile @@ -25,8 +25,8 @@ for architectureObject in [ MultiArchSubDirSetup ] { Includes [ FGristFiles $(sslSources) SecureSocket.cpp HttpAuthentication.cpp Certificate.cpp ] : [ BuildFeatureAttribute openssl : headers ] ; - # Dependency needed to trigger downloading/unzipping the package before - # compiling the files. + # Dependency needed to trigger downloading/unzipping the package + # before compiling the files. SetupFeatureObjectsDir ssl ; } else { # As we don't have md5 from ssl, use our own diff --git a/src/kits/network/libnetapi/NetworkInterface.cpp b/src/kits/network/libnetapi/NetworkInterface.cpp index e59091240f..9d9ab8e505 100644 --- a/src/kits/network/libnetapi/NetworkInterface.cpp +++ b/src/kits/network/libnetapi/NetworkInterface.cpp @@ -3,7 +3,6 @@ * Distributed under the terms of the MIT License. */ - #include #include diff --git a/src/libs/icon/flat_icon/FlatIconImporter.cpp b/src/libs/icon/flat_icon/FlatIconImporter.cpp index 08aced4f48..6a1ff336a0 100644 --- a/src/libs/icon/flat_icon/FlatIconImporter.cpp +++ b/src/libs/icon/flat_icon/FlatIconImporter.cpp @@ -238,7 +238,7 @@ _ReadGradientStyle(LittleEndianBuffer& buffer) if (!buffer.Read(stopOffset)) return NULL; - + if (alpha) { if (gray) { if (!buffer.Read(color.red) diff --git a/src/system/kernel/arch/x86/arch_debug.cpp b/src/system/kernel/arch/x86/arch_debug.cpp index 4df0bd4355..654dac2d0f 100644 --- a/src/system/kernel/arch/x86/arch_debug.cpp +++ b/src/system/kernel/arch/x86/arch_debug.cpp @@ -1152,7 +1152,7 @@ arch_debug_get_stack_trace(addr_t* returnAddresses, int32 maxCount, if (onKernelStack && is_iframe(thread, bp)) { iframe* frame = (iframe*)bp; ip = frame->ip; - nextBp = frame->bp; + nextBp = frame->bp; if (skipIframes > 0) { if (--skipIframes == 0)