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
f7a320e2
Commit
f7a320e2
authored
Jun 27, 2018
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
schedsvc: Minor cleanup.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f1ca1180
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
atsvc.c
dlls/schedsvc/atsvc.c
+4
-4
No files found.
dlls/schedsvc/atsvc.c
View file @
f7a320e2
...
...
@@ -99,7 +99,7 @@ static void filetime_add_ms(FILETIME *ft, LONGLONG ms)
LONGLONG
ll
;
}
*
ftll
=
(
union
u_ftll
*
)
ft
;
ftll
->
ll
+=
ms
*
(
U
LONGLONG
)
10000
;
ftll
->
ll
+=
ms
*
(
LONGLONG
)
10000
;
}
static
void
filetime_add_minutes
(
FILETIME
*
ft
,
LONG
minutes
)
...
...
@@ -117,7 +117,7 @@ static void filetime_add_days(FILETIME *ft, LONG days)
filetime_add_hours
(
ft
,
(
LONGLONG
)
days
*
24
);
}
static
void
filetime_add_weeks
(
FILETIME
*
ft
,
U
LONG
weeks
)
static
void
filetime_add_weeks
(
FILETIME
*
ft
,
LONG
weeks
)
{
filetime_add_days
(
ft
,
(
LONGLONG
)
weeks
*
7
);
}
...
...
@@ -250,7 +250,7 @@ static BOOL trigger_get_next_runtime(const TASK_TRIGGER *trigger, const FILETIME
return
FALSE
;
}
static
BOOL
job_get_next_runtime
(
struct
job_t
*
job
,
FILETIME
*
current_ft
,
FILETIME
*
next_rt
)
static
BOOL
job_get_next_runtime
(
struct
job_t
*
job
,
const
FILETIME
*
current_ft
,
FILETIME
*
next_rt
)
{
FILETIME
trigger_rt
;
BOOL
have_next_rt
=
FALSE
;
...
...
@@ -307,7 +307,7 @@ BOOL get_next_runtime(LARGE_INTEGER *rt)
return
have_next_rt
;
}
static
BOOL
job_runs_at
(
struct
job_t
*
job
,
FILETIME
*
begin_ft
,
FILETIME
*
end_ft
)
static
BOOL
job_runs_at
(
struct
job_t
*
job
,
const
FILETIME
*
begin_ft
,
const
FILETIME
*
end_ft
)
{
FILETIME
job_ft
;
...
...
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