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
9bb19ac2
Commit
9bb19ac2
authored
Oct 03, 2003
by
Daniel Marmier
Committed by
Alexandre Julliard
Oct 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed warnings with gcc option "-Wwrite-strings".
parent
ee94596d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
14 deletions
+15
-14
debug.c
libs/wine/debug.c
+2
-1
fnt2bdf.c
tools/fnt2bdf.c
+7
-7
build.h
tools/winebuild/build.h
+1
-1
main.c
tools/winebuild/main.c
+1
-1
relay.c
tools/winebuild/relay.c
+3
-3
spec16.c
tools/winebuild/spec16.c
+1
-1
No files found.
libs/wine/debug.c
View file @
9bb19ac2
...
...
@@ -143,12 +143,13 @@ void wine_dbg_add_option( const char *name, unsigned char set, unsigned char cle
/* parse a set of debugging option specifications and add them to the option list */
int
wine_dbg_parse_options
(
const
char
*
str
)
{
char
*
p
,
*
opt
,
*
next
,
*
options
;
char
*
opt
,
*
next
,
*
options
;
int
i
,
errors
=
0
;
if
(
!
(
options
=
strdup
(
str
)))
return
-
1
;
for
(
opt
=
options
;
opt
;
opt
=
next
)
{
const
char
*
p
;
unsigned
char
set
=
0
,
clear
=
0
;
if
((
next
=
strchr
(
opt
,
','
)))
*
next
++
=
0
;
...
...
tools/fnt2bdf.c
View file @
9bb19ac2
...
...
@@ -58,13 +58,13 @@ char* g_lpstrCharSet = NULL;
char
*
g_lpstrInputFile
=
NULL
;
int
g_outputPoints
=
0
;
static
c
har
*
errorDLLRead
=
"Unable to read Windows DLL.
\n
"
;
static
c
har
*
errorFNTRead
=
"Unable to read .FNT file.
\n
"
;
static
c
har
*
errorOpenFile
=
"Unable to open file.
\n
"
;
static
c
har
*
errorMemory
=
"Memory allocation error.
\n
"
;
static
c
har
*
errorFile
=
"Corrupt or invalid file.
\n
"
;
static
c
har
*
errorFontData
=
"Unable to parse font data: Error "
;
static
c
har
*
errorEmpty
=
"No fonts found.
\n
"
;
static
c
onst
char
*
errorDLLRead
=
"Unable to read Windows DLL.
\n
"
;
static
c
onst
char
*
errorFNTRead
=
"Unable to read .FNT file.
\n
"
;
static
c
onst
char
*
errorOpenFile
=
"Unable to open file.
\n
"
;
static
c
onst
char
*
errorMemory
=
"Memory allocation error.
\n
"
;
static
c
onst
char
*
errorFile
=
"Corrupt or invalid file.
\n
"
;
static
c
onst
char
*
errorFontData
=
"Unable to parse font data: Error "
;
static
c
onst
char
*
errorEmpty
=
"No fonts found.
\n
"
;
/* info */
...
...
tools/winebuild/build.h
View file @
9bb19ac2
...
...
@@ -191,7 +191,7 @@ extern int kill_at;
extern
char
*
owner_name
;
extern
char
*
dll_name
;
extern
char
*
dll_file_name
;
extern
char
*
init_func
;
extern
c
onst
c
har
*
init_func
;
extern
char
*
input_file_name
;
extern
const
char
*
output_file_name
;
extern
char
**
debug_channels
;
...
...
tools/winebuild/main.c
View file @
9bb19ac2
...
...
@@ -66,7 +66,7 @@ int debugging = 0;
char
*
owner_name
=
NULL
;
char
*
dll_name
=
NULL
;
char
*
dll_file_name
=
NULL
;
char
*
init_func
=
NULL
;
c
onst
c
har
*
init_func
=
NULL
;
char
**
debug_channels
=
NULL
;
char
**
lib_path
=
NULL
;
...
...
tools/winebuild/relay.c
View file @
9bb19ac2
...
...
@@ -120,7 +120,7 @@ static void function_header( FILE *outfile, const char *name )
*/
static
void
BuildCallFrom16Core
(
FILE
*
outfile
,
int
reg_func
,
int
thunk
,
int
short_ret
)
{
char
*
name
=
thunk
?
"thunk"
:
reg_func
?
"regs"
:
short_ret
?
"word"
:
"long"
;
c
onst
c
har
*
name
=
thunk
?
"thunk"
:
reg_func
?
"regs"
:
short_ret
?
"word"
:
"long"
;
/* Function header */
if
(
thunk
)
function_header
(
outfile
,
"__wine_call_from_16_thunk"
);
...
...
@@ -753,7 +753,7 @@ static void BuildRet16Func( FILE *outfile )
*/
static
void
BuildCallTo32CBClient
(
FILE
*
outfile
,
BOOL
isEx
)
{
char
*
name
=
isEx
?
"CBClientEx"
:
"CBClient"
;
c
onst
c
har
*
name
=
isEx
?
"CBClientEx"
:
"CBClient"
;
int
size
=
isEx
?
24
:
12
;
/* Function header */
...
...
@@ -889,7 +889,7 @@ static void BuildCallTo32CBClient( FILE *outfile, BOOL isEx )
static
void
BuildCallTo32CBClientRet
(
FILE
*
outfile
,
BOOL
isEx
)
{
char
*
name
=
isEx
?
"CBClientEx"
:
"CBClient"
;
c
onst
c
har
*
name
=
isEx
?
"CBClientEx"
:
"CBClient"
;
/* '16-bit' return stub */
...
...
tools/winebuild/spec16.c
View file @
9bb19ac2
...
...
@@ -346,7 +346,7 @@ static void BuildCallFrom16Func( FILE *outfile, const char *profile, const char
int
usecdecl
=
0
;
int
varargs
=
0
;
const
char
*
args
=
profile
+
7
;
char
*
ret_type
;
c
onst
c
har
*
ret_type
;
/* Parse function type */
...
...
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