Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7803c53c
Commit
7803c53c
authored
Mar 18, 2021
by
Hugh McMaster
Committed by
Alexandre Julliard
Mar 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reg: Merge common header #includes into reg.h.
Signed-off-by:
Hugh McMaster
<
hugh.mcmaster@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ab94653e
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
4 additions
and
18 deletions
+4
-18
add.c
programs/reg/add.c
+0
-2
delete.c
programs/reg/delete.c
+0
-2
export.c
programs/reg/export.c
+0
-4
import.c
programs/reg/import.c
+1
-5
query.c
programs/reg/query.c
+0
-2
reg.c
programs/reg/reg.c
+1
-3
reg.h
programs/reg/reg.h
+2
-0
No files found.
programs/reg/add.c
View file @
7803c53c
...
@@ -18,8 +18,6 @@
...
@@ -18,8 +18,6 @@
#include <errno.h>
#include <errno.h>
#include <stdlib.h>
#include <stdlib.h>
#include <windows.h>
#include <wine/heap.h>
#include "reg.h"
#include "reg.h"
static
DWORD
wchar_get_type
(
const
WCHAR
*
type_name
)
static
DWORD
wchar_get_type
(
const
WCHAR
*
type_name
)
...
...
programs/reg/delete.c
View file @
7803c53c
...
@@ -16,8 +16,6 @@
...
@@ -16,8 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#include <windows.h>
#include <wine/heap.h>
#include "reg.h"
#include "reg.h"
int
reg_delete
(
HKEY
root
,
WCHAR
*
path
,
WCHAR
*
key_name
,
WCHAR
*
value_name
,
int
reg_delete
(
HKEY
root
,
WCHAR
*
path
,
WCHAR
*
key_name
,
WCHAR
*
value_name
,
...
...
programs/reg/export.c
View file @
7803c53c
...
@@ -16,12 +16,8 @@
...
@@ -16,12 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#include <windows.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <wine/heap.h>
#include "reg.h"
#include "reg.h"
static
void
write_file
(
HANDLE
hFile
,
const
WCHAR
*
str
)
static
void
write_file
(
HANDLE
hFile
,
const
WCHAR
*
str
)
...
...
programs/reg/import.c
View file @
7803c53c
...
@@ -16,15 +16,11 @@
...
@@ -16,15 +16,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#include <windows.h>
#include <errno.h>
#include <errno.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <wine/debug.h>
#include <wine/heap.h>
#include "reg.h"
#include "reg.h"
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL
(
reg
);
WINE_DEFAULT_DEBUG_CHANNEL
(
reg
);
...
...
programs/reg/query.c
View file @
7803c53c
...
@@ -17,8 +17,6 @@
...
@@ -17,8 +17,6 @@
*/
*/
#include <stdio.h>
#include <stdio.h>
#include <windows.h>
#include <wine/heap.h>
#include "reg.h"
#include "reg.h"
static
const
WCHAR
*
reg_type_to_wchar
(
DWORD
type
)
static
const
WCHAR
*
reg_type_to_wchar
(
DWORD
type
)
...
...
programs/reg/reg.c
View file @
7803c53c
...
@@ -16,11 +16,9 @@
...
@@ -16,11 +16,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#include <windows.h>
#include <stdlib.h>
#include <stdlib.h>
#include <wine/debug.h>
#include <wine/heap.h>
#include "reg.h"
#include "reg.h"
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL
(
reg
);
WINE_DEFAULT_DEBUG_CHANNEL
(
reg
);
...
...
programs/reg/reg.h
View file @
7803c53c
...
@@ -19,6 +19,8 @@
...
@@ -19,6 +19,8 @@
#ifndef __REG_H__
#ifndef __REG_H__
#define __REG_H__
#define __REG_H__
#include <windows.h>
#include <wine/heap.h>
#include "resource.h"
#include "resource.h"
#define MAX_SUBKEY_LEN 257
#define MAX_SUBKEY_LEN 257
...
...
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