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
72ae095d
Commit
72ae095d
authored
Apr 20, 2016
by
Sebastian Lackner
Committed by
Alexandre Julliard
Apr 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
services: Change scmdatabase_remove_service to a void function.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
556f384a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
services.c
programs/services/services.c
+2
-9
No files found.
programs/services/services.c
View file @
72ae095d
...
...
@@ -282,18 +282,11 @@ DWORD scmdatabase_add_service(struct scmdatabase *db, struct service_entry *serv
return
ERROR_SUCCESS
;
}
static
DWORD
scmdatabase_remove_service
(
struct
scmdatabase
*
db
,
struct
service_entry
*
service
)
static
void
scmdatabase_remove_service
(
struct
scmdatabase
*
db
,
struct
service_entry
*
service
)
{
int
err
;
err
=
RegDeleteTreeW
(
db
->
root_key
,
service
->
name
);
if
(
err
!=
0
)
return
err
;
RegDeleteTreeW
(
db
->
root_key
,
service
->
name
);
list_remove
(
&
service
->
entry
);
service
->
entry
.
next
=
service
->
entry
.
prev
=
NULL
;
return
ERROR_SUCCESS
;
}
static
void
scmdatabase_autostart_services
(
struct
scmdatabase
*
db
)
...
...
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