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
a9a08dbc
Commit
a9a08dbc
authored
Sep 08, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Remove wine/library.h.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4826900a
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
6 additions
and
83 deletions
+6
-83
profile.c
dlls/kernel32/profile.c
+0
-1
mscms_main.c
dlls/mscms/mscms_main.c
+0
-1
opencl.c
dlls/opencl/opencl.c
+0
-1
coreaudio.c
dlls/winecoreaudio.drv/coreaudio.c
+0
-1
Makefile.in
include/Makefile.in
+0
-1
library.h
include/wine/library.h
+0
-67
test.h
include/wine/test.h
+0
-3
config.c
libs/wine/config.c
+0
-1
debug.c
libs/wine/debug.c
+0
-1
loader.c
libs/wine/loader.c
+4
-1
mmap.c
libs/wine/mmap.c
+2
-1
port.c
libs/wine/port.c
+0
-1
drive.c
programs/winecfg/drive.c
+0
-1
winedbg.c
programs/winedbg/winedbg.c
+0
-1
make_makefiles
tools/make_makefiles
+0
-1
No files found.
dlls/kernel32/profile.c
View file @
a9a08dbc
...
...
@@ -33,7 +33,6 @@
#include "winternl.h"
#include "shlwapi.h"
#include "wine/unicode.h"
#include "wine/library.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
profile
);
...
...
dlls/mscms/mscms_main.c
View file @
a9a08dbc
...
...
@@ -22,7 +22,6 @@
#include "wine/port.h"
#include "wine/debug.h"
#include "wine/library.h"
#include <stdarg.h>
...
...
dlls/opencl/opencl.c
View file @
a9a08dbc
...
...
@@ -26,7 +26,6 @@
#include "winbase.h"
#include "wine/debug.h"
#include "wine/library.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
opencl
);
...
...
dlls/winecoreaudio.drv/coreaudio.c
View file @
a9a08dbc
...
...
@@ -29,7 +29,6 @@
#include "winuser.h"
#include "mmddk.h"
#include "coreaudio.h"
#include "wine/library.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
coreaudio
);
...
...
include/Makefile.in
View file @
a9a08dbc
...
...
@@ -739,7 +739,6 @@ SOURCES = \
wine/exception.h
\
wine/fil_data.idl
\
wine/itss.idl
\
wine/library.h
\
wine/orpc.idl
\
wine/svcctl.idl
\
wine/winedxgi.idl
\
...
...
include/wine/library.h
deleted
100644 → 0
View file @
4826900a
/*
* Definitions for the Wine library
*
* Copyright 2000 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_WINE_LIBRARY_H
#define __WINE_WINE_LIBRARY_H
#include <stdarg.h>
#include <sys/types.h>
#include <windef.h>
#include <winbase.h>
#ifdef __WINE_WINE_TEST_H
#error This file should not be used in Wine tests
#endif
#ifdef __WINE_USE_MSVCRT
#error This file should not be used with msvcrt headers
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
/* configuration */
extern
void
wine_init_argv0_path
(
const
char
*
argv0
);
extern
void
wine_exec_wine_binary
(
const
char
*
name
,
char
**
argv
,
const
char
*
env_var
);
/* dll loading */
typedef
void
(
*
load_dll_callback_t
)(
void
*
,
const
char
*
);
extern
void
wine_dll_set_callback
(
load_dll_callback_t
load
);
extern
void
__wine_dll_register
(
const
IMAGE_NT_HEADERS
*
header
,
const
char
*
filename
);
extern
void
wine_init
(
int
argc
,
char
*
argv
[],
char
*
error
,
int
error_size
);
/* memory mappings */
extern
void
*
wine_anon_mmap
(
void
*
start
,
size_t
size
,
int
prot
,
int
flags
);
extern
void
wine_mmap_add_reserved_area
(
void
*
addr
,
size_t
size
);
extern
void
wine_mmap_remove_reserved_area
(
void
*
addr
,
size_t
size
,
int
unmap
);
extern
int
wine_mmap_is_in_reserved_area
(
void
*
addr
,
size_t
size
);
extern
int
wine_mmap_enum_reserved_areas
(
int
(
*
enum_func
)(
void
*
base
,
size_t
size
,
void
*
arg
),
void
*
arg
,
int
top_down
);
#ifdef __cplusplus
}
#endif
#endif
/* __WINE_WINE_LIBRARY_H */
include/wine/test.h
View file @
a9a08dbc
...
...
@@ -30,9 +30,6 @@
#ifdef __WINE_CONFIG_H
#error config.h should not be used in Wine tests
#endif
#ifdef __WINE_WINE_LIBRARY_H
#error wine/library.h should not be used in Wine tests
#endif
#ifdef __WINE_WINE_UNICODE_H
#error wine/unicode.h should not be used in Wine tests
#endif
...
...
libs/wine/config.c
View file @
a9a08dbc
...
...
@@ -41,7 +41,6 @@
#endif
#endif
#include "wine/asm.h"
#include "wine/library.h"
static
char
*
bindir
;
static
char
*
dlldir
;
...
...
libs/wine/debug.c
View file @
a9a08dbc
...
...
@@ -34,7 +34,6 @@
#endif
#include "wine/debug.h"
#include "wine/library.h"
struct
__wine_debug_functions
{
...
...
libs/wine/loader.c
View file @
a9a08dbc
...
...
@@ -63,7 +63,6 @@ extern char **environ;
#include "windef.h"
#include "winbase.h"
#include "wine/asm.h"
#include "wine/library.h"
/* argc/argv for the Windows application */
int
__wine_main_argc
=
0
;
...
...
@@ -92,6 +91,7 @@ static int nb_dlls;
static
const
IMAGE_NT_HEADERS
*
main_exe
;
typedef
void
(
*
load_dll_callback_t
)(
void
*
,
const
char
*
);
static
load_dll_callback_t
load_dll_callback
;
extern
const
char
*
build_dir
;
...
...
@@ -100,6 +100,9 @@ static const char **dll_paths;
static
unsigned
int
nb_dll_paths
;
static
int
dll_path_maxlen
;
extern
void
*
wine_anon_mmap
(
void
*
start
,
size_t
size
,
int
prot
,
int
flags
);
extern
void
wine_init_argv0_path
(
const
char
*
argv0
);
extern
void
wine_init
(
int
argc
,
char
*
argv
[],
char
*
error
,
int
error_size
);
extern
void
mmap_init
(
void
);
extern
const
char
*
get_dlldir
(
const
char
**
default_dlldir
);
...
...
libs/wine/mmap.c
View file @
a9a08dbc
...
...
@@ -42,7 +42,6 @@
# include <stdint.h>
#endif
#include "wine/library.h"
#include "wine/list.h"
struct
reserved_area
...
...
@@ -67,6 +66,8 @@ static const unsigned int granularity_mask = 0xffff; /* reserved areas have 64k
#define MAP_ANON 0
#endif
void
wine_mmap_add_reserved_area
(
void
*
addr
,
size_t
size
);
static
inline
int
get_fdzero
(
void
)
{
static
int
fd
=
-
1
;
...
...
libs/wine/port.c
View file @
a9a08dbc
...
...
@@ -30,7 +30,6 @@
#define WINE_UNICODE_INLINE
/* nothing */
#include "wine/unicode.h"
#include "wine/library.h"
/* functions from libwine_port that are also exported from libwine for backwards compatibility,
* on platforms that require it */
...
...
programs/winecfg/drive.c
View file @
a9a08dbc
...
...
@@ -44,7 +44,6 @@
#include <shlobj.h>
#define WINE_MOUNTMGR_EXTENSIONS
#include <ddk/mountmgr.h>
#include <wine/library.h>
#include "winecfg.h"
#include "resource.h"
...
...
programs/winedbg/winedbg.c
View file @
a9a08dbc
...
...
@@ -27,7 +27,6 @@
#include "winternl.h"
#include "wine/exception.h"
#include "wine/library.h"
#include "wine/debug.h"
...
...
tools/make_makefiles
View file @
a9a08dbc
...
...
@@ -41,7 +41,6 @@ my %modules16 =
my
%
exported_wine_headers
=
(
"wine/debug.h"
=>
1
,
"wine/exception.h"
=>
1
,
"wine/library.h"
=>
1
,
"wine/itss.idl"
=>
1
,
"wine/svcctl.idl"
=>
1
,
);
...
...
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