Andrew Talbot : wnaspi32: Declare some functions static.
Alexandre Julliard
julliard at winehq.org
Tue Feb 3 09:13:02 CST 2009
Module: wine
Branch: master
Commit: acbba11c49548ca5e99f21e3a4d238e7f5a3d8ce
URL: http://source.winehq.org/git/wine.git/?a=commit;h=acbba11c49548ca5e99f21e3a4d238e7f5a3d8ce
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Mon Feb 2 15:29:54 2009 +0000
wnaspi32: Declare some functions static.
---
dlls/wnaspi32/aspi.c | 2 +-
dlls/wnaspi32/winaspi16.c | 2 +-
dlls/wnaspi32/winescsi.h | 3 ---
3 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/dlls/wnaspi32/aspi.c b/dlls/wnaspi32/aspi.c
index a0658e7..e03b767 100644
--- a/dlls/wnaspi32/aspi.c
+++ b/dlls/wnaspi32/aspi.c
@@ -148,7 +148,7 @@ int ASPI_GetNumControllers(void)
return num_ha;
}
-BOOL SCSI_GetDeviceName( int h, int c, int t, int d, LPSTR devstr, LPDWORD lpcbData )
+static BOOL SCSI_GetDeviceName( int h, int c, int t, int d, LPSTR devstr, LPDWORD lpcbData )
{
char buffer[200];
HKEY hkeyScsi;
diff --git a/dlls/wnaspi32/winaspi16.c b/dlls/wnaspi32/winaspi16.c
index 17d6a6c..094b923 100644
--- a/dlls/wnaspi32/winaspi16.c
+++ b/dlls/wnaspi32/winaspi16.c
@@ -385,7 +385,7 @@ WORD WINAPI GetASPISupportInfo16(void)
}
-DWORD ASPI_SendASPICommand(DWORD ptrSRB, UINT16 mode)
+static DWORD ASPI_SendASPICommand(DWORD ptrSRB, UINT16 mode)
{
#ifdef linux
LPSRB16 lpSRB = PTR_TO_LIN( ptrSRB, mode );
diff --git a/dlls/wnaspi32/winescsi.h b/dlls/wnaspi32/winescsi.h
index a820141..be1d5f6 100644
--- a/dlls/wnaspi32/winescsi.h
+++ b/dlls/wnaspi32/winescsi.h
@@ -79,9 +79,6 @@ void
SCSI_Fix_CMD_LEN( int fd, int cmd, int len );
#endif
-BOOL
-SCSI_GetDeviceName(int h, int c, int t, int d, LPSTR devstr, LPDWORD lpcbData);
-
DWORD
ASPI_GetHCforController( int controller );
More information about the wine-cvs
mailing list