wnaspi32: Declare some functions static

Andrew Talbot andrew.talbot at talbotville.com
Mon Feb 2 09:29:54 CST 2009


Changelog:
    wnaspi32: Declare some functions static.

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-patches mailing list