Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
65ad7da1
Commit
65ad7da1
authored
Jun 16, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some declaration and write string warnings.
parent
4d2d627c
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
13 deletions
+13
-13
encode.c
dlls/crypt32/tests/encode.c
+1
-1
heap.c
dlls/ntdll/heap.c
+2
-2
typelib.c
dlls/oleaut32/tests/typelib.c
+1
-1
mixer.c
dlls/winmm/tests/mixer.c
+4
-4
audio.c
dlls/winmm/winealsa/audio.c
+1
-1
mbtowc.c
libs/unicode/mbtowc.c
+1
-1
msiexec.c
programs/msiexec/msiexec.c
+2
-2
util.c
programs/winetest/util.c
+1
-1
No files found.
dlls/crypt32/tests/encode.c
View file @
65ad7da1
...
@@ -234,7 +234,7 @@ static void test_decodeInt(DWORD dwEncoding)
...
@@ -234,7 +234,7 @@ static void test_decodeInt(DWORD dwEncoding)
struct
encodedFiletime
struct
encodedFiletime
{
{
SYSTEMTIME
sysTime
;
SYSTEMTIME
sysTime
;
BYTE
*
encodedTime
;
const
BYTE
*
encodedTime
;
};
};
static
void
testTimeEncoding
(
DWORD
dwEncoding
,
LPCSTR
structType
,
static
void
testTimeEncoding
(
DWORD
dwEncoding
,
LPCSTR
structType
,
...
...
dlls/ntdll/heap.c
View file @
65ad7da1
...
@@ -173,7 +173,7 @@ static inline void clear_block( void *ptr, size_t size )
...
@@ -173,7 +173,7 @@ static inline void clear_block( void *ptr, size_t size )
/***********************************************************************
/***********************************************************************
* HEAP_Dump
* HEAP_Dump
*/
*/
void
HEAP_Dump
(
HEAP
*
heap
)
static
void
HEAP_Dump
(
HEAP
*
heap
)
{
{
int
i
;
int
i
;
SUBHEAP
*
subheap
;
SUBHEAP
*
subheap
;
...
@@ -244,7 +244,7 @@ void HEAP_Dump( HEAP *heap )
...
@@ -244,7 +244,7 @@ void HEAP_Dump( HEAP *heap )
}
}
void
HEAP_DumpEntry
(
LPPROCESS_HEAP_ENTRY
entry
)
static
void
HEAP_DumpEntry
(
LPPROCESS_HEAP_ENTRY
entry
)
{
{
WORD
rem_flags
;
WORD
rem_flags
;
TRACE
(
"Dumping entry %p
\n
"
,
entry
);
TRACE
(
"Dumping entry %p
\n
"
,
entry
);
...
...
dlls/oleaut32/tests/typelib.c
View file @
65ad7da1
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
#include "winbase.h"
#include "winbase.h"
#include "oleauto.h"
#include "oleauto.h"
void
ref_count_test
(
LPCWSTR
type_lib
)
static
void
ref_count_test
(
LPCWSTR
type_lib
)
{
{
ITypeLib
*
iface
;
ITypeLib
*
iface
;
ITypeInfo
*
iti1
,
*
iti2
;
ITypeInfo
*
iti1
,
*
iti2
;
...
...
dlls/winmm/tests/mixer.c
View file @
65ad7da1
...
@@ -343,7 +343,7 @@ static void mixer_test_controlA(HMIXER mix, LPMIXERCONTROLA control)
...
@@ -343,7 +343,7 @@ static void mixer_test_controlA(HMIXER mix, LPMIXERCONTROLA control)
}
}
}
}
void
mixer_test_deviceA
(
int
device
)
static
void
mixer_test_deviceA
(
int
device
)
{
{
MIXERCAPSA
capsA
;
MIXERCAPSA
capsA
;
HMIXER
mix
;
HMIXER
mix
;
...
@@ -720,7 +720,7 @@ static void mixer_test_controlW(HMIXER mix, LPMIXERCONTROLW control)
...
@@ -720,7 +720,7 @@ static void mixer_test_controlW(HMIXER mix, LPMIXERCONTROLW control)
}
}
}
}
void
mixer_test_deviceW
(
int
device
)
static
void
mixer_test_deviceW
(
int
device
)
{
{
MIXERCAPSW
capsW
;
MIXERCAPSW
capsW
;
HMIXER
mix
;
HMIXER
mix
;
...
@@ -952,7 +952,7 @@ void mixer_test_deviceW(int device)
...
@@ -952,7 +952,7 @@ void mixer_test_deviceW(int device)
}
}
}
}
void
mixer_testsA
(
)
static
void
mixer_testsA
(
void
)
{
{
MIXERCAPSA
capsA
;
MIXERCAPSA
capsA
;
HMIXER
mix
;
HMIXER
mix
;
...
@@ -978,7 +978,7 @@ void mixer_testsA()
...
@@ -978,7 +978,7 @@ void mixer_testsA()
mixer_test_deviceA
(
d
);
mixer_test_deviceA
(
d
);
}
}
void
mixer_testsW
(
)
static
void
mixer_testsW
(
void
)
{
{
MIXERCAPSW
capsW
;
MIXERCAPSW
capsW
;
HMIXER
mix
;
HMIXER
mix
;
...
...
dlls/winmm/winealsa/audio.c
View file @
65ad7da1
...
@@ -705,7 +705,7 @@ if (err<0) { \
...
@@ -705,7 +705,7 @@ if (err<0) { \
}
}
/* return a string duplicated on the win32 process heap, free with HeapFree */
/* return a string duplicated on the win32 process heap, free with HeapFree */
static
char
*
ALSA_strdup
(
char
*
s
)
{
static
char
*
ALSA_strdup
(
c
onst
c
har
*
s
)
{
char
*
result
=
HeapAlloc
(
GetProcessHeap
(),
0
,
strlen
(
s
)
+
1
);
char
*
result
=
HeapAlloc
(
GetProcessHeap
(),
0
,
strlen
(
s
)
+
1
);
strcpy
(
result
,
s
);
strcpy
(
result
,
s
);
return
result
;
return
result
;
...
...
libs/unicode/mbtowc.c
View file @
65ad7da1
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#include "wine/unicode.h"
#include "wine/unicode.h"
/* get the decomposition of a Unicode char */
/* get the decomposition of a Unicode char */
int
get_decomposition
(
WCHAR
src
,
WCHAR
*
dst
,
unsigned
int
dstlen
)
static
int
get_decomposition
(
WCHAR
src
,
WCHAR
*
dst
,
unsigned
int
dstlen
)
{
{
extern
const
WCHAR
unicode_decompose_table
[];
extern
const
WCHAR
unicode_decompose_table
[];
const
WCHAR
*
ptr
=
unicode_decompose_table
;
const
WCHAR
*
ptr
=
unicode_decompose_table
;
...
...
programs/msiexec/msiexec.c
View file @
65ad7da1
...
@@ -386,7 +386,7 @@ static int chomp( WCHAR *str )
...
@@ -386,7 +386,7 @@ static int chomp( WCHAR *str )
return
count
;
return
count
;
}
}
void
process_args
(
WCHAR
*
cmdline
,
int
*
pargc
,
WCHAR
***
pargv
)
static
void
process_args
(
WCHAR
*
cmdline
,
int
*
pargc
,
WCHAR
***
pargv
)
{
{
WCHAR
**
argv
,
*
p
=
msi_strdup
(
cmdline
);
WCHAR
**
argv
,
*
p
=
msi_strdup
(
cmdline
);
int
i
,
n
;
int
i
,
n
;
...
@@ -404,7 +404,7 @@ void process_args( WCHAR *cmdline, int *pargc, WCHAR ***pargv )
...
@@ -404,7 +404,7 @@ void process_args( WCHAR *cmdline, int *pargc, WCHAR ***pargv )
*
pargv
=
argv
;
*
pargv
=
argv
;
}
}
BOOL
process_args_from_reg
(
LPWSTR
ident
,
int
*
pargc
,
WCHAR
***
pargv
)
static
BOOL
process_args_from_reg
(
LPWSTR
ident
,
int
*
pargc
,
WCHAR
***
pargv
)
{
{
LONG
r
;
LONG
r
;
HKEY
hkey
=
0
,
hkeyArgs
=
0
;
HKEY
hkey
=
0
,
hkeyArgs
=
0
;
...
...
programs/winetest/util.c
View file @
65ad7da1
...
@@ -40,7 +40,7 @@ void *xrealloc (void *op, size_t len)
...
@@ -40,7 +40,7 @@ void *xrealloc (void *op, size_t len)
return
p
;
return
p
;
}
}
char
*
vstrfmtmake
(
size_t
*
lenp
,
const
char
*
fmt
,
va_list
ap
)
static
char
*
vstrfmtmake
(
size_t
*
lenp
,
const
char
*
fmt
,
va_list
ap
)
{
{
size_t
size
=
1000
;
size_t
size
=
1000
;
char
*
p
,
*
q
;
char
*
p
,
*
q
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment