Skip to content

Commit

Permalink
Staging: vt6656: Remove PUINT from ttype.h
Browse files Browse the repository at this point in the history
Remove PUINT from ttype.h

Signed-off-by: Roel Van Nyen <roel.vannyen@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Roel Van Nyen authored and Greg Kroah-Hartman committed Aug 3, 2010
1 parent 57778ef commit 93a94c4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/vt6656/bssdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ BOOL BSSbUpdateToBSSList(void *hDeviceContext,

BOOL BSSbIsSTAInNodeDB(void *hDeviceContext,
PBYTE abyDstAddr,
PUINT puNodeIndex)
unsigned int *puNodeIndex)
{
PSDevice pDevice = (PSDevice)hDeviceContext;
PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
Expand Down Expand Up @@ -765,7 +765,7 @@ BOOL BSSbIsSTAInNodeDB(void *hDeviceContext,
* None
*
-*/
void BSSvCreateOneNode(void *hDeviceContext, PUINT puNodeIndex)
void BSSvCreateOneNode(void *hDeviceContext, unsigned int *puNodeIndex)
{

PSDevice pDevice = (PSDevice)hDeviceContext;
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/vt6656/bssdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,9 @@ BOOL BSSbUpdateToBSSList(void *hDeviceContext,

BOOL BSSbIsSTAInNodeDB(void *hDeviceContext,
PBYTE abyDstAddr,
PUINT puNodeIndex);
unsigned int *puNodeIndex);

void BSSvCreateOneNode(void *hDeviceContext, PUINT puNodeIndex);
void BSSvCreateOneNode(void *hDeviceContext, unsigned int *puNodeIndex);

void BSSvUpdateAPNode(void *hDeviceContext,
PWORD pwCapInfo,
Expand Down
8 changes: 4 additions & 4 deletions drivers/staging/vt6656/dpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static
void
s_vGetDASA(
PBYTE pbyRxBufferAddr,
PUINT pcbHeaderSize,
unsigned int *pcbHeaderSize,
PSEthernetHeader psEthHeader
);

Expand All @@ -92,7 +92,7 @@ s_vProcessRxMACHeader (
unsigned int cbPacketSize,
BOOL bIsWEP,
BOOL bExtIV,
PUINT pcbHeadSize
unsigned int *pcbHeadSize
);

static BOOL s_bAPModeRxCtl(
Expand Down Expand Up @@ -167,7 +167,7 @@ s_vProcessRxMACHeader (
unsigned int cbPacketSize,
BOOL bIsWEP,
BOOL bExtIV,
PUINT pcbHeadSize
unsigned int *pcbHeadSize
)
{
PBYTE pbyRxBuffer;
Expand Down Expand Up @@ -261,7 +261,7 @@ static
void
s_vGetDASA (
PBYTE pbyRxBufferAddr,
PUINT pcbHeaderSize,
unsigned int *pcbHeaderSize,
PSEthernetHeader psEthHeader
)
{
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/vt6656/ttype.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ typedef unsigned long ULONG_PTR; // 32-bit
typedef unsigned long DWORD_PTR; // 32-bit

// boolean pointer
typedef unsigned int * PUINT;

typedef BYTE * PBYTE;

Expand Down

0 comments on commit 93a94c4

Please sign in to comment.