Robert Shearman : rpcrt4: Make more internal functions static.

Alexandre Julliard julliard at wine.codeweavers.com
Sat May 20 11:22:52 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 87ecf526b3444f3fb3ccfa1b7f4f97df6550c35c
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=87ecf526b3444f3fb3ccfa1b7f4f97df6550c35c

Author: Robert Shearman <rob at codeweavers.com>
Date:   Fri May 19 16:02:41 2006 +0100

rpcrt4: Make more internal functions static.

---

 dlls/rpcrt4/ndr_marshall.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 9ade412..15d7ae8 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -743,7 +743,7 @@ static inline void dump_pointer_attr(uns
 /***********************************************************************
  *           PointerMarshall
  */
-void WINAPI PointerMarshall(PMIDL_STUB_MESSAGE pStubMsg,
+static void PointerMarshall(PMIDL_STUB_MESSAGE pStubMsg,
                             unsigned char *Buffer,
                             unsigned char *Pointer,
                             PFORMAT_STRING pFormat)
@@ -794,7 +794,7 @@ #endif
 /***********************************************************************
  *           PointerUnmarshall
  */
-void WINAPI PointerUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
+static void PointerUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
                               unsigned char *Buffer,
                               unsigned char **pPointer,
                               PFORMAT_STRING pFormat,
@@ -849,7 +849,7 @@ void WINAPI PointerUnmarshall(PMIDL_STUB
 /***********************************************************************
  *           PointerBufferSize
  */
-void WINAPI PointerBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
+static void PointerBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
                               unsigned char *Pointer,
                               PFORMAT_STRING pFormat)
 {
@@ -891,7 +891,7 @@ void WINAPI PointerBufferSize(PMIDL_STUB
 /***********************************************************************
  *           PointerMemorySize [RPCRT4.@]
  */
-unsigned long WINAPI PointerMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
+static unsigned long PointerMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
                                        unsigned char *Buffer,
                                        PFORMAT_STRING pFormat)
 {
@@ -927,7 +927,7 @@ unsigned long WINAPI PointerMemorySize(P
 /***********************************************************************
  *           PointerFree [RPCRT4.@]
  */
-void WINAPI PointerFree(PMIDL_STUB_MESSAGE pStubMsg,
+static void PointerFree(PMIDL_STUB_MESSAGE pStubMsg,
                         unsigned char *Pointer,
                         PFORMAT_STRING pFormat)
 {
@@ -989,7 +989,7 @@ notfree:
 /***********************************************************************
  *           EmbeddedPointerMarshall
  */
-unsigned char * WINAPI EmbeddedPointerMarshall(PMIDL_STUB_MESSAGE pStubMsg,
+static unsigned char * EmbeddedPointerMarshall(PMIDL_STUB_MESSAGE pStubMsg,
                                                unsigned char *pMemory,
                                                PFORMAT_STRING pFormat)
 {
@@ -1055,7 +1055,7 @@ unsigned char * WINAPI EmbeddedPointerMa
 /***********************************************************************
  *           EmbeddedPointerUnmarshall
  */
-unsigned char * WINAPI EmbeddedPointerUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
+static unsigned char * EmbeddedPointerUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
                                                  unsigned char **ppMemory,
                                                  PFORMAT_STRING pFormat,
                                                  unsigned char fMustAlloc)
@@ -1122,7 +1122,7 @@ unsigned char * WINAPI EmbeddedPointerUn
 /***********************************************************************
  *           EmbeddedPointerBufferSize
  */
-void WINAPI EmbeddedPointerBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
+static void EmbeddedPointerBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
                                       unsigned char *pMemory,
                                       PFORMAT_STRING pFormat)
 {
@@ -1183,7 +1183,7 @@ void WINAPI EmbeddedPointerBufferSize(PM
 /***********************************************************************
  *           EmbeddedPointerMemorySize
  */
-unsigned long WINAPI EmbeddedPointerMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
+static unsigned long EmbeddedPointerMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
                                                PFORMAT_STRING pFormat)
 {
   unsigned long Offset = pStubMsg->Offset;
@@ -1244,7 +1244,7 @@ unsigned long WINAPI EmbeddedPointerMemo
 /***********************************************************************
  *           EmbeddedPointerFree
  */
-void WINAPI EmbeddedPointerFree(PMIDL_STUB_MESSAGE pStubMsg,
+static void EmbeddedPointerFree(PMIDL_STUB_MESSAGE pStubMsg,
                                 unsigned char *pMemory,
                                 PFORMAT_STRING pFormat)
 {




More information about the wine-cvs mailing list