mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NDIS] Use FORCEINLINE instead of __inline
This commit is contained in:
parent
15c9f63b65
commit
378642eb4f
2 changed files with 10 additions and 8 deletions
|
@ -10,7 +10,9 @@
|
||||||
|
|
||||||
#include <ndissys.h>
|
#include <ndissys.h>
|
||||||
|
|
||||||
__inline ULONG SkipToOffset(
|
FORCEINLINE
|
||||||
|
ULONG
|
||||||
|
SkipToOffset(
|
||||||
IN PNDIS_BUFFER Buffer,
|
IN PNDIS_BUFFER Buffer,
|
||||||
IN UINT Offset,
|
IN UINT Offset,
|
||||||
IN OUT PUCHAR *Data,
|
IN OUT PUCHAR *Data,
|
||||||
|
|
|
@ -125,14 +125,14 @@ typedef struct _NDIS_HANDLE_OBJECT
|
||||||
PVOID MapBuffer;
|
PVOID MapBuffer;
|
||||||
} NDIS_HANDLE_OBJECT, *PNDIS_HANDLE_OBJECT;
|
} NDIS_HANDLE_OBJECT, *PNDIS_HANDLE_OBJECT;
|
||||||
|
|
||||||
__inline
|
FORCEINLINE
|
||||||
PNDIS_HANDLE_OBJECT
|
PNDIS_HANDLE_OBJECT
|
||||||
NDIS_HANDLE_TO_POBJECT ( NDIS_HANDLE handle )
|
NDIS_HANDLE_TO_POBJECT ( NDIS_HANDLE handle )
|
||||||
{
|
{
|
||||||
return (PNDIS_HANDLE_OBJECT)handle;
|
return (PNDIS_HANDLE_OBJECT)handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
__inline
|
FORCEINLINE
|
||||||
NDIS_HANDLE
|
NDIS_HANDLE
|
||||||
NDIS_POBJECT_TO_HANDLE ( PNDIS_HANDLE_OBJECT obj )
|
NDIS_POBJECT_TO_HANDLE ( PNDIS_HANDLE_OBJECT obj )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue