Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
2e7ec43d
Commit
2e7ec43d
authored
Apr 28, 2014
by
deuce
Browse files
Use __cdecl instead of _cdecl.
parent
2130482e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/xpdev/dirwrap.c
src/xpdev/dirwrap.c
+1
-1
src/xpdev/str_list.c
src/xpdev/str_list.c
+1
-1
No files found.
src/xpdev/dirwrap.c
View file @
2e7ec43d
...
...
@@ -150,7 +150,7 @@ void DLLCALL _splitpath(const char *path, char *drive, char *dir, char *fname, c
/* This code _may_ work on other DOS-based platforms (e.g. OS/2) */
/****************************************************************************/
#if !defined(__unix__)
static
int
_cdecl
glob_compare
(
const
void
*
arg1
,
const
void
*
arg2
)
static
int
_
_cdecl
glob_compare
(
const
void
*
arg1
,
const
void
*
arg2
)
{
/* Compare all of both strings: */
return
stricmp
(
*
(
char
**
)
arg1
,
*
(
char
**
)
arg2
);
...
...
src/xpdev/str_list.c
View file @
2e7ec43d
...
...
@@ -334,7 +334,7 @@ char* DLLCALL strListCombine(str_list_t list, char* buf, size_t maxlen, const ch
}
#if defined(_WIN32)
#define QSORT_CALLBACK_TYPE _cdecl
#define QSORT_CALLBACK_TYPE
_
_cdecl
#else
#define QSORT_CALLBACK_TYPE
#endif
...
...
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