James Hawkins : advapi32: Make internal functions static.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Oct 12 05:46:38 CDT 2006


Module: wine
Branch: master
Commit: 2730fe6d1cdcf91ea5910ef8663d9093b892983a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2730fe6d1cdcf91ea5910ef8663d9093b892983a

Author: James Hawkins <truiken at gmail.com>
Date:   Wed Oct 11 11:13:04 2006 -0700

advapi32: Make internal functions static.

---

 dlls/advapi32/crypt_sha.c |    2 +-
 dlls/advapi32/registry.c  |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/advapi32/crypt_sha.c b/dlls/advapi32/crypt_sha.c
index 0c7f7d0..435c67e 100644
--- a/dlls/advapi32/crypt_sha.c
+++ b/dlls/advapi32/crypt_sha.c
@@ -49,7 +49,7 @@ #define R3(v,w,x,y,z,i) z+=f3(w,x,y)+blk
 #define R4(v,w,x,y,z,i) z+=f4(w,x,y)+blk1(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);
 
 /* Hash a single 512-bit block. This is the core of the algorithm. */
-void SHA1Transform(ULONG State[5], UCHAR Buffer[64])
+static void SHA1Transform(ULONG State[5], UCHAR Buffer[64])
 {
    ULONG a, b, c, d, e;
    ULONG *Block;
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c
index 55395c0..26c5ae9 100644
--- a/dlls/advapi32/registry.c
+++ b/dlls/advapi32/registry.c
@@ -1373,8 +1373,8 @@ LONG WINAPI RegQueryValueA( HKEY hkey, L
  *
  * Helper function for RegGetValueA/W.
  */
-VOID ADVAPI_ApplyRestrictions( DWORD dwFlags, DWORD dwType, DWORD cbData,
-                               PLONG ret )
+static VOID ADVAPI_ApplyRestrictions( DWORD dwFlags, DWORD dwType,
+                                      DWORD cbData, PLONG ret )
 {
     /* Check if the type is restricted by the passed flags */
     if (*ret == ERROR_SUCCESS || *ret == ERROR_MORE_DATA)




More information about the wine-cvs mailing list