summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/michael.c
diff options
context:
space:
mode:
authorAndres More <more.andres@gmail.com>2010-05-01 14:25:00 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-11 11:36:01 -0700
commit8611a29ab967bc197494db19d31994d1b5a26fdc (patch)
tree521ae94c2e0bf1f7db85d1480909ad6d39aed370 /drivers/staging/vt6656/michael.c
parent8a9e77b66508a1c2598ce1cb765d7ced52f48cf4 (diff)
Staging: vt6656: removed VOID/PVOID definitions
Warnings about the usage of externs in .c files were not resolved here. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/michael.c')
-rw-r--r--drivers/staging/vt6656/michael.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/staging/vt6656/michael.c b/drivers/staging/vt6656/michael.c
index d4c08209a17f..d45333fc2420 100644
--- a/drivers/staging/vt6656/michael.c
+++ b/drivers/staging/vt6656/michael.c
@@ -50,14 +50,14 @@
/*
* static DWORD s_dwGetUINT32(BYTE * p); Get DWORD from
* 4 bytes LSByte first
- * static VOID s_vPutUINT32(BYTE* p, DWORD val); Put DWORD into
+ * static void s_vPutUINT32(BYTE* p, DWORD val); Put DWORD into
* 4 bytes LSByte first
*/
-static VOID s_vClear(void); /* Clear the internal message,
+static void s_vClear(void); /* Clear the internal message,
* resets the object to the
* state just after construction. */
-static VOID s_vSetKey(DWORD dwK0, DWORD dwK1);
-static VOID s_vAppendByte(BYTE b); /* Add a single byte to the internal
+static void s_vSetKey(DWORD dwK0, DWORD dwK1);
+static void s_vAppendByte(BYTE b); /* Add a single byte to the internal
* message */
/*--------------------- Export Variables --------------------------*/
@@ -79,7 +79,7 @@ static DWORD s_dwGetUINT32 (BYTE * p)
return res;
}
-static VOID s_vPutUINT32 (BYTE* p, DWORD val)
+static void s_vPutUINT32(BYTE *p, DWORD val)
// Convert from DWORD to BYTE[] in a portable way
{
UINT i;
@@ -90,7 +90,7 @@ static VOID s_vPutUINT32 (BYTE* p, DWORD val)
}
*/
-static VOID s_vClear(void)
+static void s_vClear(void)
{
/* Reset the state to the empty message. */
L = K0;
@@ -99,7 +99,7 @@ static VOID s_vClear(void)
M = 0;
}
-static VOID s_vSetKey(DWORD dwK0, DWORD dwK1)
+static void s_vSetKey(DWORD dwK0, DWORD dwK1)
{
/* Set the key */
K0 = dwK0;
@@ -108,7 +108,7 @@ static VOID s_vSetKey(DWORD dwK0, DWORD dwK1)
s_vClear();
}
-static VOID s_vAppendByte(BYTE b)
+static void s_vAppendByte(BYTE b)
{
/* Append the byte to our word-sized buffer */
M |= b << (8*nBytesInM);
@@ -130,14 +130,14 @@ static VOID s_vAppendByte(BYTE b)
}
}
-VOID MIC_vInit(DWORD dwK0, DWORD dwK1)
+void MIC_vInit(DWORD dwK0, DWORD dwK1)
{
/* Set the key */
s_vSetKey(dwK0, dwK1);
}
-VOID MIC_vUnInit(void)
+void MIC_vUnInit(void)
{
/* Wipe the key material */
K0 = 0;
@@ -148,7 +148,7 @@ VOID MIC_vUnInit(void)
s_vClear();
}
-VOID MIC_vAppend(PBYTE src, UINT nBytes)
+void MIC_vAppend(PBYTE src, UINT nBytes)
{
/* This is simple */
while (nBytes > 0) {
@@ -157,7 +157,7 @@ VOID MIC_vAppend(PBYTE src, UINT nBytes)
}
}
-VOID MIC_vGetMIC(PDWORD pdwL, PDWORD pdwR)
+void MIC_vGetMIC(PDWORD pdwL, PDWORD pdwR)
{
/* Append the minimum padding */
s_vAppendByte(0x5a);