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
fb04bcf6
Commit
fb04bcf6
authored
Feb 06, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix position of CDECL qualifier for functions that return pointers.
parent
fc46bb14
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
24 deletions
+24
-24
path.c
dlls/kernel32/path.c
+2
-2
media.c
dlls/msi/media.c
+1
-1
winldap_private.h
dlls/wldap32/winldap_private.h
+19
-19
winbase.h
include/winbase.h
+2
-2
No files found.
dlls/kernel32/path.c
View file @
fb04bcf6
...
...
@@ -1603,7 +1603,7 @@ BOOL WINAPI NeedCurrentDirectoryForExePathA( LPCSTR name )
* Return the full Unix file name for a given path.
* Returned buffer must be freed by caller.
*/
char
CDECL
*
wine_get_unix_file_name
(
LPCWSTR
dosW
)
char
*
CDECL
wine_get_unix_file_name
(
LPCWSTR
dosW
)
{
UNICODE_STRING
nt_name
;
ANSI_STRING
unix_name
;
...
...
@@ -1627,7 +1627,7 @@ char CDECL *wine_get_unix_file_name( LPCWSTR dosW )
* Return the full DOS file name for a given Unix path.
* Returned buffer must be freed by caller.
*/
WCHAR
CDECL
*
wine_get_dos_file_name
(
LPCSTR
str
)
WCHAR
*
CDECL
wine_get_dos_file_name
(
LPCSTR
str
)
{
UNICODE_STRING
nt_name
;
ANSI_STRING
unix_name
;
...
...
dlls/msi/media.c
View file @
fb04bcf6
...
...
@@ -145,7 +145,7 @@ end:
return
rc
;
}
static
void
CDECL
*
cabinet_alloc
(
ULONG
cb
)
static
void
*
CDECL
cabinet_alloc
(
ULONG
cb
)
{
return
msi_alloc
(
cb
);
}
...
...
dlls/wldap32/winldap_private.h
View file @
fb04bcf6
...
...
@@ -276,8 +276,8 @@ typedef struct ldap_apifeature_infoW
int
ldapaif_version
;
}
LDAPAPIFeatureInfoW
;
WLDAP32_LDAP
CDECL
*
cldap_openA
(
PCHAR
,
ULONG
);
WLDAP32_LDAP
CDECL
*
cldap_openW
(
PWCHAR
,
ULONG
);
WLDAP32_LDAP
*
CDECL
cldap_openA
(
PCHAR
,
ULONG
);
WLDAP32_LDAP
*
CDECL
cldap_openW
(
PWCHAR
,
ULONG
);
ULONG
CDECL
WLDAP32_ldap_abandon
(
WLDAP32_LDAP
*
,
ULONG
);
ULONG
CDECL
ldap_addA
(
WLDAP32_LDAP
*
,
PCHAR
,
LDAPModA
*
[]);
ULONG
CDECL
ldap_addW
(
WLDAP32_LDAP
*
,
PWCHAR
,
LDAPModW
*
[]);
...
...
@@ -304,7 +304,7 @@ ULONG CDECL ldap_compare_ext_sW(WLDAP32_LDAP*,PWCHAR,PWCHAR,PWCHAR,struct WLDAP3
ULONG
CDECL
ldap_compare_sA
(
WLDAP32_LDAP
*
,
PCHAR
,
PCHAR
,
PCHAR
);
ULONG
CDECL
ldap_compare_sW
(
WLDAP32_LDAP
*
,
PWCHAR
,
PWCHAR
,
PWCHAR
);
ULONG
CDECL
ldap_connect
(
WLDAP32_LDAP
*
,
LDAP_TIMEVAL
*
);
WLDAP32_LDAP
CDECL
*
ldap_conn_from_msg
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
);
WLDAP32_LDAP
*
CDECL
ldap_conn_from_msg
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
);
ULONG
CDECL
ldap_control_freeA
(
LDAPControlA
*
);
ULONG
CDECL
ldap_control_freeW
(
LDAPControlW
*
);
ULONG
CDECL
ldap_controls_freeA
(
LDAPControlA
**
);
...
...
@@ -336,8 +336,8 @@ PCHAR CDECL ldap_err2stringA(ULONG);
PWCHAR
CDECL
ldap_err2stringW
(
ULONG
);
ULONG
CDECL
ldap_escape_filter_elementA
(
PCHAR
,
ULONG
,
PCHAR
,
ULONG
);
ULONG
CDECL
ldap_escape_filter_elementW
(
PCHAR
,
ULONG
,
PWCHAR
,
ULONG
);
PCHAR
CDECL
*
ldap_explode_dnA
(
PCHAR
,
ULONG
);
PWCHAR
CDECL
*
ldap_explode_dnW
(
PWCHAR
,
ULONG
);
PCHAR
*
CDECL
ldap_explode_dnA
(
PCHAR
,
ULONG
);
PWCHAR
*
CDECL
ldap_explode_dnW
(
PWCHAR
,
ULONG
);
ULONG
CDECL
ldap_extended_operationA
(
WLDAP32_LDAP
*
,
PCHAR
,
struct
WLDAP32_berval
*
,
PLDAPControlA
*
,
PLDAPControlA
*
,
ULONG
*
);
ULONG
CDECL
ldap_extended_operationW
(
WLDAP32_LDAP
*
,
PWCHAR
,
struct
WLDAP32_berval
*
,
PLDAPControlW
*
,
PLDAPControlW
*
,
ULONG
*
);
ULONG
CDECL
ldap_extended_operation_sA
(
WLDAP32_LDAP
*
,
PCHAR
,
struct
WLDAP32_berval
*
,
PLDAPControlA
*
,
PLDAPControlA
*
,
...
...
@@ -346,8 +346,8 @@ ULONG CDECL ldap_extended_operation_sW(WLDAP32_LDAP*,PWCHAR,struct WLDAP32_berva
PWCHAR
*
,
struct
WLDAP32_berval
**
);
PCHAR
CDECL
ldap_first_attributeA
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
,
WLDAP32_BerElement
**
);
PWCHAR
CDECL
ldap_first_attributeW
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
,
WLDAP32_BerElement
**
);
WLDAP32_LDAPMessage
CDECL
*
WLDAP32_ldap_first_entry
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
);
WLDAP32_LDAPMessage
CDECL
*
WLDAP32_ldap_first_reference
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
);
WLDAP32_LDAPMessage
*
CDECL
WLDAP32_ldap_first_entry
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
);
WLDAP32_LDAPMessage
*
CDECL
WLDAP32_ldap_first_reference
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
);
ULONG
CDECL
ldap_free_controlsA
(
LDAPControlA
**
);
ULONG
CDECL
ldap_free_controlsW
(
LDAPControlW
**
);
PCHAR
CDECL
ldap_get_dnA
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
);
...
...
@@ -357,12 +357,12 @@ ULONG CDECL ldap_get_next_page_s(WLDAP32_LDAP*,PLDAPSearch,struct l_timeval*,ULO
ULONG
CDECL
ldap_get_optionA
(
WLDAP32_LDAP
*
,
int
,
void
*
);
ULONG
CDECL
ldap_get_optionW
(
WLDAP32_LDAP
*
,
int
,
void
*
);
ULONG
CDECL
ldap_get_paged_count
(
WLDAP32_LDAP
*
,
PLDAPSearch
,
ULONG
*
,
WLDAP32_LDAPMessage
*
);
PCHAR
CDECL
*
ldap_get_valuesA
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
,
PCHAR
);
PWCHAR
CDECL
*
ldap_get_valuesW
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
,
PWCHAR
);
PBERVAL
CDECL
*
ldap_get_values_lenA
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
,
PCHAR
);
PBERVAL
CDECL
*
ldap_get_values_lenW
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
,
PWCHAR
);
WLDAP32_LDAP
CDECL
*
ldap_initA
(
const
PCHAR
,
ULONG
);
WLDAP32_LDAP
CDECL
*
ldap_initW
(
const
PWCHAR
,
ULONG
);
PCHAR
*
CDECL
ldap_get_valuesA
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
,
PCHAR
);
PWCHAR
*
CDECL
ldap_get_valuesW
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
,
PWCHAR
);
PBERVAL
*
CDECL
ldap_get_values_lenA
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
,
PCHAR
);
PBERVAL
*
CDECL
ldap_get_values_lenW
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
,
PWCHAR
);
WLDAP32_LDAP
*
CDECL
ldap_initA
(
const
PCHAR
,
ULONG
);
WLDAP32_LDAP
*
CDECL
ldap_initW
(
const
PWCHAR
,
ULONG
);
void
CDECL
ldap_memfreeA
(
PCHAR
);
void
CDECL
ldap_memfreeW
(
PWCHAR
);
ULONG
CDECL
ldap_modifyA
(
WLDAP32_LDAP
*
,
PCHAR
,
LDAPModA
*
[]);
...
...
@@ -384,10 +384,10 @@ ULONG CDECL ldap_modrdn_sW(WLDAP32_LDAP*,PWCHAR,PWCHAR);
ULONG
CDECL
WLDAP32_ldap_msgfree
(
WLDAP32_LDAPMessage
*
);
PCHAR
CDECL
ldap_next_attributeA
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
,
WLDAP32_BerElement
*
);
PWCHAR
CDECL
ldap_next_attributeW
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
,
WLDAP32_BerElement
*
);
WLDAP32_LDAPMessage
CDECL
*
WLDAP32_ldap_next_entry
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
);
WLDAP32_LDAPMessage
CDECL
*
WLDAP32_ldap_next_reference
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
);
WLDAP32_LDAP
CDECL
*
ldap_openA
(
PCHAR
,
ULONG
);
WLDAP32_LDAP
CDECL
*
ldap_openW
(
PWCHAR
,
ULONG
);
WLDAP32_LDAPMessage
*
CDECL
WLDAP32_ldap_next_entry
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
);
WLDAP32_LDAPMessage
*
CDECL
WLDAP32_ldap_next_reference
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
);
WLDAP32_LDAP
*
CDECL
ldap_openA
(
PCHAR
,
ULONG
);
WLDAP32_LDAP
*
CDECL
ldap_openW
(
PWCHAR
,
ULONG
);
ULONG
CDECL
ldap_parse_extended_resultA
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
,
PCHAR
*
,
struct
WLDAP32_berval
**
,
BOOLEAN
);
ULONG
CDECL
ldap_parse_extended_resultW
(
WLDAP32_LDAP
*
,
WLDAP32_LDAPMessage
*
,
PWCHAR
*
,
struct
WLDAP32_berval
**
,
BOOLEAN
);
ULONG
CDECL
ldap_parse_page_controlA
(
WLDAP32_LDAP
*
,
PLDAPControlA
*
,
ULONG
*
,
struct
WLDAP32_berval
**
);
...
...
@@ -438,8 +438,8 @@ ULONG CDECL ldap_simple_bindA(WLDAP32_LDAP*,PCHAR,PCHAR);
ULONG
CDECL
ldap_simple_bindW
(
WLDAP32_LDAP
*
,
PWCHAR
,
PWCHAR
);
ULONG
CDECL
ldap_simple_bind_sA
(
WLDAP32_LDAP
*
,
PCHAR
,
PCHAR
);
ULONG
CDECL
ldap_simple_bind_sW
(
WLDAP32_LDAP
*
,
PWCHAR
,
PWCHAR
);
WLDAP32_LDAP
CDECL
*
ldap_sslinitA
(
PCHAR
,
ULONG
,
int
);
WLDAP32_LDAP
CDECL
*
ldap_sslinitW
(
PWCHAR
,
ULONG
,
int
);
WLDAP32_LDAP
*
CDECL
ldap_sslinitA
(
PCHAR
,
ULONG
,
int
);
WLDAP32_LDAP
*
CDECL
ldap_sslinitW
(
PWCHAR
,
ULONG
,
int
);
ULONG
CDECL
ldap_start_tls_sA
(
WLDAP32_PLDAP
,
PULONG
,
WLDAP32_LDAPMessage
**
,
PLDAPControlA
*
,
PLDAPControlA
*
);
ULONG
CDECL
ldap_start_tls_sW
(
WLDAP32_PLDAP
,
PULONG
,
WLDAP32_LDAPMessage
**
,
PLDAPControlW
*
,
PLDAPControlW
*
);
ULONG
CDECL
ldap_startup
(
PLDAP_VERSION_INFO
,
HANDLE
*
);
...
...
include/winbase.h
View file @
fb04bcf6
...
...
@@ -2312,8 +2312,8 @@ WINBASEAPI VOID WINAPI _LeaveSysLevel(SYSLEVEL*);
/* Wine internal functions */
extern
char
CDECL
*
wine_get_unix_file_name
(
LPCWSTR
dos
);
extern
WCHAR
CDECL
*
wine_get_dos_file_name
(
LPCSTR
str
);
extern
char
*
CDECL
wine_get_unix_file_name
(
LPCWSTR
dos
);
extern
WCHAR
*
CDECL
wine_get_dos_file_name
(
LPCSTR
str
);
/* Interlocked functions */
...
...
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