mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:43:00 +00:00
[WINESYNC] 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> wine commit id 7803c53cfe6635a5d3e0d9f58e743235746ec9d2 by Hugh McMaster <hugh.mcmaster@outlook.com>
This commit is contained in:
parent
fa84e69673
commit
01c1091e51
8 changed files with 5 additions and 19 deletions
|
@ -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)
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -4,4 +4,4 @@ directories:
|
||||||
files:
|
files:
|
||||||
programs/reg/resource.h: base/applications/cmdutils/reg/resource.h
|
programs/reg/resource.h: base/applications/cmdutils/reg/resource.h
|
||||||
tags:
|
tags:
|
||||||
wine: ab94653e8bb093b88406f7c509c7157ac7033f28
|
wine: 7803c53cfe6635a5d3e0d9f58e743235746ec9d2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue