https://git.reactos.org/?p=reactos.git;a=commitdiff;h=796c1ac993640494c0637…
commit 796c1ac993640494c06373a779c80140a4d2ef3a
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Thu Mar 26 16:26:16 2020 +0100
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Thu Mar 26 16:39:16 2020 +0100
[TCPIP] Add some static specifiers, to prevent exporting FORCEINLINE function outside
compilation unit
---
drivers/network/tcpip/tcpip/buffer.c | 3 ++-
sdk/lib/drivers/ip/network/receive.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/network/tcpip/tcpip/buffer.c b/drivers/network/tcpip/tcpip/buffer.c
index 4fed0557362..1100390c29f 100644
--- a/drivers/network/tcpip/tcpip/buffer.c
+++ b/drivers/network/tcpip/tcpip/buffer.c
@@ -10,7 +10,8 @@
#include "precomp.h"
-__inline INT SkipToOffset(
+static inline
+INT SkipToOffset(
PNDIS_BUFFER Buffer,
UINT Offset,
PCHAR *Data,
diff --git a/sdk/lib/drivers/ip/network/receive.c b/sdk/lib/drivers/ip/network/receive.c
index 15876e494b1..52c929bb88a 100644
--- a/sdk/lib/drivers/ip/network/receive.c
+++ b/sdk/lib/drivers/ip/network/receive.c
@@ -247,7 +247,7 @@ ReassembleDatagram(
}
-__inline VOID Cleanup(
+static inline VOID Cleanup(
PKSPIN_LOCK Lock,
KIRQL OldIrql,
PIPDATAGRAM_REASSEMBLY IPDR)