advpack: Make internal functions static
James Hawkins
truiken at gmail.com
Wed Oct 11 13:13:04 CDT 2006
Hi,
Changelog:
* Make internal functions static.
dlls/advapi32/crypt_sha.c | 2 +-
dlls/advapi32/registry.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
--
James Hawkins
-------------- next part --------------
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)
--
1.4.2.1
More information about the wine-patches
mailing list