mirror of
https://github.com/transmission/transmission
synced 2025-03-04 10:38:13 +00:00
Avoid GCC 'static' is not at beginning of declaration
warning
This commit is contained in:
parent
c1b10abe0f
commit
b89b90ee15
1 changed files with 4 additions and 4 deletions
|
@ -201,15 +201,15 @@ int tr_main_win32 (int argc,
|
|||
int (*real_main) (int, char **));
|
||||
|
||||
#define tr_main(...) \
|
||||
static tr_main_win32_impl (__VA_ARGS__); \
|
||||
main_impl (__VA_ARGS__); \
|
||||
int \
|
||||
main (int argc, \
|
||||
char * argv[]) \
|
||||
{ \
|
||||
return tr_main_win32 (argc, argv, &tr_main_win32_impl); \
|
||||
return tr_main_win32 (argc, argv, &main_impl); \
|
||||
} \
|
||||
static int \
|
||||
tr_main_win32_impl (__VA_ARGS__)
|
||||
int \
|
||||
main_impl (__VA_ARGS__)
|
||||
|
||||
#else
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue