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
efdc1168
Commit
efdc1168
authored
Nov 05, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Constify some variables.
parent
a3717bff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
trash.c
dlls/shell32/trash.c
+2
-2
xdg.c
dlls/shell32/xdg.c
+1
-1
No files found.
dlls/shell32/trash.c
View file @
efdc1168
...
...
@@ -138,7 +138,7 @@ static BOOL TRASH_EnsureInitialized(void)
return
TRUE
;
}
static
BOOL
file_good_for_bucket
(
TRASH_BUCKET
*
pBucket
,
struct
stat
*
file_stat
)
static
BOOL
file_good_for_bucket
(
const
TRASH_BUCKET
*
pBucket
,
const
struct
stat
*
file_stat
)
{
if
(
pBucket
->
device
!=
file_stat
->
st_dev
)
return
FALSE
;
...
...
@@ -486,7 +486,7 @@ static INT CALLBACK free_item_callback(void *item, void *lParam)
return
TRUE
;
}
static
HDPA
enum_bucket_trashinfos
(
TRASH_BUCKET
*
bucket
,
int
*
count
)
static
HDPA
enum_bucket_trashinfos
(
const
TRASH_BUCKET
*
bucket
,
int
*
count
)
{
HDPA
ret
=
DPA_Create
(
32
);
struct
dirent
*
entry
;
...
...
dlls/shell32/xdg.c
View file @
efdc1168
...
...
@@ -508,7 +508,7 @@ struct tagXDG_PARSED_FILE
PARSED_GROUP
*
groups
;
};
static
BOOL
parsed_str_eq
(
PARSED_STRING
*
str1
,
const
char
*
str2
)
static
BOOL
parsed_str_eq
(
const
PARSED_STRING
*
str1
,
const
char
*
str2
)
{
if
(
strncmp
(
str1
->
str
,
str2
,
str1
->
len
)
!=
0
)
return
FALSE
;
...
...
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