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
b64186ad
Commit
b64186ad
authored
Jun 07, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 07, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warning fixes for -Wmissing-declarations and -Wwrite-strings.
parent
f5ae644f
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
13 deletions
+13
-13
debughlp.c
dlls/shell32/debughlp.c
+2
-2
shell32_main.h
dlls/shell32/shell32_main.h
+3
-0
shfldr_fs.c
dlls/shell32/shfldr_fs.c
+1
-1
shlview.c
dlls/shell32/shlview.c
+0
-3
shv_item_cmenu.c
dlls/shell32/shv_item_cmenu.c
+1
-1
shlfolder.c
dlls/shell32/tests/shlfolder.c
+6
-6
No files found.
dlls/shell32/debughlp.c
View file @
b64186ad
...
...
@@ -296,7 +296,7 @@ static char * shdebugstr_buf = shdebugstr_buf1;
static
struct
{
REFIID
riid
;
c
har
*
name
;
c
onst
char
*
name
;
}
InterfaceDesc
[]
=
{
{
&
IID_IUnknown
,
"IID_IUnknown"
},
{
&
IID_IClassFactory
,
"IID_IClassFactory"
},
...
...
@@ -325,7 +325,7 @@ static struct {
const
char
*
shdebugstr_guid
(
const
struct
_GUID
*
id
)
{
int
i
;
char
*
name
=
NULL
;
c
onst
c
har
*
name
=
NULL
;
char
clsidbuf
[
100
];
shdebugstr_buf
=
(
shdebugstr_buf
==
shdebugstr_buf1
)
?
shdebugstr_buf2
:
shdebugstr_buf1
;
...
...
dlls/shell32/shell32_main.h
View file @
b64186ad
...
...
@@ -171,6 +171,9 @@ HGLOBAL16 WINAPI InternalExtractIcon16(HINSTANCE16,LPCSTR,UINT16,WORD);
BOOL16
WINAPI
ShellAbout16
(
HWND16
,
LPCSTR
,
LPCSTR
,
HICON16
);
BOOL16
WINAPI
AboutDlgProc16
(
HWND16
,
UINT16
,
WPARAM16
,
LPARAM
);
void
WINAPI
_InsertMenuItem
(
HMENU
hmenu
,
UINT
indexMenu
,
BOOL
fByPosition
,
UINT
wID
,
UINT
fType
,
LPCSTR
dwTypeData
,
UINT
fState
);
inline
static
BOOL
SHELL_OsIsUnicode
(
void
)
{
/* if high-bit of version is 0, we are emulating NT */
...
...
dlls/shell32/shfldr_fs.c
View file @
b64186ad
...
...
@@ -1050,7 +1050,7 @@ ISFHelper_fnGetUniqueName (ISFHelper * iface, LPSTR lpName, UINT uLen)
IEnumIDList
*
penum
;
HRESULT
hr
;
char
szText
[
MAX_PATH
];
char
*
szNewFolder
=
"New Folder"
;
c
onst
c
har
*
szNewFolder
=
"New Folder"
;
TRACE
(
"(%p)(%s %u)
\n
"
,
This
,
lpName
,
uLen
);
...
...
dlls/shell32/shlview.c
View file @
b64186ad
...
...
@@ -140,9 +140,6 @@ static const IViewObjectVtbl vovt;
#define GET_WM_COMMAND_HWND(wp, lp) (HWND)(lp)
#define GET_WM_COMMAND_CMD(wp, lp) HIWORD(wp)
extern
void
WINAPI
_InsertMenuItem
(
HMENU
hmenu
,
UINT
indexMenu
,
BOOL
fByPosition
,
UINT
wID
,
UINT
fType
,
LPSTR
dwTypeData
,
UINT
fState
);
/*
Items merged into the toolbar and and the filemenu
*/
...
...
dlls/shell32/shv_item_cmenu.c
View file @
b64186ad
...
...
@@ -186,7 +186,7 @@ void WINAPI _InsertMenuItem (
BOOL
fByPosition
,
UINT
wID
,
UINT
fType
,
LPSTR
dwTypeData
,
LP
C
STR
dwTypeData
,
UINT
fState
)
{
MENUITEMINFOA
mii
;
...
...
dlls/shell32/tests/shlfolder.c
View file @
b64186ad
...
...
@@ -38,10 +38,10 @@
#include "wine/test.h"
IMalloc
*
ppM
;
static
IMalloc
*
ppM
;
/* creates a file with the specified name for tests */
void
CreateTestFile
(
const
CHAR
*
name
)
static
void
CreateTestFile
(
const
CHAR
*
name
)
{
HANDLE
file
;
DWORD
written
;
...
...
@@ -57,7 +57,7 @@ void CreateTestFile(const CHAR *name)
/* initializes the tests */
void
CreateFilesFolders
(
void
)
static
void
CreateFilesFolders
(
void
)
{
CreateDirectoryA
(
".
\\
testdir"
,
NULL
);
CreateDirectoryA
(
".
\\
testdir
\\
test.txt"
,
NULL
);
...
...
@@ -69,7 +69,7 @@ void CreateFilesFolders(void)
}
/* cleans after tests */
void
Cleanup
(
void
)
static
void
Cleanup
(
void
)
{
DeleteFileA
(
".
\\
testdir
\\
test1.txt"
);
DeleteFileA
(
".
\\
testdir
\\
test2.txt"
);
...
...
@@ -82,7 +82,7 @@ void Cleanup(void)
/* perform test */
void
test_EnumObjects
(
IShellFolder
*
iFolder
)
static
void
test_EnumObjects
(
IShellFolder
*
iFolder
)
{
IEnumIDList
*
iEnumList
;
ITEMIDLIST
*
newPIDL
,
*
(
idlArr
[
5
]);
...
...
@@ -150,7 +150,7 @@ void test_EnumObjects(IShellFolder *iFolder)
IMalloc_Free
(
ppM
,
idlArr
[
i
]);
}
void
test_BindToObject
(
)
static
void
test_BindToObject
(
void
)
{
HRESULT
hr
;
UINT
cChars
;
...
...
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