Robert Shearman : rpcrt4: Make some functions that aren' t used outside of the file static.

Alexandre Julliard julliard at wine.codeweavers.com
Wed May 17 14:48:28 CDT 2006


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

Author: Robert Shearman <rob at codeweavers.com>
Date:   Wed May 17 14:45:30 2006 +0100

rpcrt4: Make some functions that aren't used outside of the file static.

---

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

diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 3207719..4bbc94d 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -1523,7 +1523,7 @@ void WINAPI NdrSimpleStructFree(PMIDL_ST
 }
 
 
-unsigned long WINAPI EmbeddedComplexSize(PMIDL_STUB_MESSAGE pStubMsg,
+static unsigned long EmbeddedComplexSize(PMIDL_STUB_MESSAGE pStubMsg,
                                          PFORMAT_STRING pFormat)
 {
   switch (*pFormat) {
@@ -1550,7 +1550,7 @@ unsigned long WINAPI EmbeddedComplexSize
 }
 
 
-unsigned long WINAPI EmbeddedComplexMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
+static unsigned long EmbeddedComplexMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
                                                PFORMAT_STRING pFormat)
 {
   NDR_MEMORYSIZE m = NdrMemorySizer[*pFormat & NDR_TABLE_MASK];
@@ -1565,7 +1565,7 @@ unsigned long WINAPI EmbeddedComplexMemo
 }
 
 
-unsigned char * WINAPI ComplexMarshall(PMIDL_STUB_MESSAGE pStubMsg,
+static unsigned char * ComplexMarshall(PMIDL_STUB_MESSAGE pStubMsg,
                                        unsigned char *pMemory,
                                        PFORMAT_STRING pFormat,
                                        PFORMAT_STRING pPointer)
@@ -1629,7 +1629,7 @@ unsigned char * WINAPI ComplexMarshall(P
   return pMemory;
 }
 
-unsigned char * WINAPI ComplexUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
+static unsigned char * ComplexUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
                                          unsigned char *pMemory,
                                          PFORMAT_STRING pFormat,
                                          PFORMAT_STRING pPointer,
@@ -1696,7 +1696,7 @@ unsigned char * WINAPI ComplexUnmarshall
   return pMemory;
 }
 
-unsigned char * WINAPI ComplexBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
+static unsigned char * ComplexBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
                                          unsigned char *pMemory,
                                          PFORMAT_STRING pFormat,
                                          PFORMAT_STRING pPointer)
@@ -1754,7 +1754,7 @@ unsigned char * WINAPI ComplexBufferSize
   return pMemory;
 }
 
-unsigned char * WINAPI ComplexFree(PMIDL_STUB_MESSAGE pStubMsg,
+static unsigned char * ComplexFree(PMIDL_STUB_MESSAGE pStubMsg,
                                    unsigned char *pMemory,
                                    PFORMAT_STRING pFormat,
                                    PFORMAT_STRING pPointer)
@@ -1810,7 +1810,7 @@ unsigned char * WINAPI ComplexFree(PMIDL
   return pMemory;
 }
 
-unsigned long WINAPI ComplexStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
+static unsigned long ComplexStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
                                        PFORMAT_STRING pFormat)
 {
   PFORMAT_STRING desc;




More information about the wine-cvs mailing list