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
e546238c
Commit
e546238c
authored
Jun 15, 2005
by
Stefan Huehner
Committed by
Alexandre Julliard
Jun 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some -Wmissing-declarations by making functions static.
parent
e2dbc804
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
16 deletions
+16
-16
bin2res.c
tools/bin2res.c
+6
-6
sfnt2fnt.c
tools/sfnt2fnt.c
+2
-2
header.c
tools/widl/header.c
+6
-6
proxy.c
tools/widl/proxy.c
+1
-1
server.c
tools/widl/server.c
+1
-1
No files found.
tools/bin2res.c
View file @
e546238c
...
...
@@ -64,13 +64,13 @@ static const char* help =
"To force processing of all resources, use the -f flag.
\n
"
"To process a particular file, use the -i/-o options.
\n
"
;
void
usage
(
void
)
static
void
usage
(
void
)
{
printf
(
help
);
exit
(
1
);
}
int
insert_hexdump
(
FILE
*
outfile
,
FILE
*
infile
)
static
int
insert_hexdump
(
FILE
*
outfile
,
FILE
*
infile
)
{
int
i
,
c
;
...
...
@@ -86,14 +86,14 @@ int insert_hexdump (FILE* outfile, FILE* infile)
return
1
;
}
int
hex2bin
(
char
c
)
static
int
hex2bin
(
char
c
)
{
if
(
!
isxdigit
(
c
))
return
-
1024
;
if
(
isdigit
(
c
))
return
c
-
'0'
;
return
toupper
(
c
)
-
'A'
+
10
;
}
int
extract_hexdump
(
FILE
*
outfile
,
FILE
*
infile
)
static
int
extract_hexdump
(
FILE
*
outfile
,
FILE
*
infile
)
{
int
byte
,
c
;
...
...
@@ -110,7 +110,7 @@ int extract_hexdump (FILE* outfile, FILE* infile)
return
1
;
}
const
char
*
parse_marker
(
const
char
*
line
,
time_t
*
last_updated
)
static
const
char
*
parse_marker
(
const
char
*
line
,
time_t
*
last_updated
)
{
static
char
res_file_name
[
PATH_MAX
],
*
rpos
,
*
wpos
;
struct
stat
st
;
...
...
@@ -125,7 +125,7 @@ const char* parse_marker(const char *line, time_t* last_updated)
return
res_file_name
;
}
int
process_resources
(
const
char
*
input_file_name
,
const
char
*
specific_file_name
,
static
int
process_resources
(
const
char
*
input_file_name
,
const
char
*
specific_file_name
,
int
inserting
,
int
force_processing
,
int
verbose
)
{
char
buffer
[
2048
],
tmp_file_name
[
PATH_MAX
];
...
...
tools/sfnt2fnt.c
View file @
e546238c
...
...
@@ -54,13 +54,13 @@ typedef struct {
#include "poppack.h"
void
usage
(
char
**
argv
)
static
void
usage
(
char
**
argv
)
{
fprintf
(
stderr
,
"%s foo.ttf ppem enc dpi def_char avg_width
\n
"
,
argv
[
0
]);
return
;
}
int
lookup_charset
(
int
enc
)
static
int
lookup_charset
(
int
enc
)
{
/* FIXME: make winelib app and use TranslateCharsetInfo */
switch
(
enc
)
{
...
...
tools/widl/header.c
View file @
e546238c
...
...
@@ -80,7 +80,7 @@ int is_void(type_t *t, var_t *v)
return
0
;
}
void
write_guid
(
const
char
*
guid_prefix
,
const
char
*
name
,
UUID
*
uuid
)
static
void
write_guid
(
const
char
*
guid_prefix
,
const
char
*
name
,
UUID
*
uuid
)
{
if
(
!
uuid
)
return
;
fprintf
(
header
,
"DEFINE_GUID(%s_%s, 0x%08lx, 0x%04x, 0x%04x, 0x%02x,0x%02x, 0x%02x,"
...
...
@@ -713,25 +713,25 @@ void write_forward(type_t *iface)
}
}
void
write_iface_guid
(
type_t
*
iface
)
static
void
write_iface_guid
(
type_t
*
iface
)
{
UUID
*
uuid
=
get_attrp
(
iface
->
attrs
,
ATTR_UUID
);
write_guid
(
"IID"
,
iface
->
name
,
uuid
);
}
void
write_dispiface_guid
(
type_t
*
iface
)
static
void
write_dispiface_guid
(
type_t
*
iface
)
{
UUID
*
uuid
=
get_attrp
(
iface
->
attrs
,
ATTR_UUID
);
write_guid
(
"DIID"
,
iface
->
name
,
uuid
);
}
void
write_coclass_guid
(
class_t
*
cocl
)
static
void
write_coclass_guid
(
class_t
*
cocl
)
{
UUID
*
uuid
=
get_attrp
(
cocl
->
attrs
,
ATTR_UUID
);
write_guid
(
"CLSID"
,
cocl
->
name
,
uuid
);
}
void
write_com_interface
(
type_t
*
iface
)
static
void
write_com_interface
(
type_t
*
iface
)
{
if
(
!
iface
->
funcs
&&
!
iface
->
ref
)
{
yywarning
(
"%s has no methods"
,
iface
->
name
);
...
...
@@ -793,7 +793,7 @@ void write_com_interface(type_t *iface)
fprintf
(
header
,
"
\n
#endif /* __%s_INTERFACE_DEFINED__ */
\n\n
"
,
iface
->
name
);
}
void
write_rpc_interface
(
type_t
*
iface
)
static
void
write_rpc_interface
(
type_t
*
iface
)
{
unsigned
long
ver
=
get_attrv
(
iface
->
attrs
,
ATTR_VERSION
);
char
*
var
=
get_attrp
(
iface
->
attrs
,
ATTR_IMPLICIT_HANDLE
);
...
...
tools/widl/proxy.c
View file @
e546238c
...
...
@@ -141,7 +141,7 @@ static void write_formatstring( int proc )
print_proxy
(
"
\n
"
);
}
static
void
init_proxy
()
static
void
init_proxy
(
void
)
{
if
(
proxy
)
return
;
if
(
!
(
proxy
=
fopen
(
proxy_name
,
"w"
)))
...
...
tools/widl/server.c
View file @
e546238c
...
...
@@ -124,7 +124,7 @@ static void write_typeformatstring(void)
}
unsigned
int
get_required_stack_size
(
type_t
*
type
)
static
unsigned
int
get_required_stack_size
(
type_t
*
type
)
{
switch
(
type
->
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