Changeset 14504


Ignore:
Timestamp:
Apr 21, 2015, 11:40:15 AM (6 years ago)
Author:
mikedld
Message:

Avoid GCC 'static' is not at beginning of declaration warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.h

    r14503 r14504  
    202202
    203203#define tr_main(...) \
    204   static tr_main_win32_impl (__VA_ARGS__); \
     204  main_impl (__VA_ARGS__); \
    205205  int \
    206206  main (int    argc, \
    207207        char * argv[]) \
    208208  { \
    209     return tr_main_win32 (argc, argv, &tr_main_win32_impl); \
     209    return tr_main_win32 (argc, argv, &main_impl); \
    210210  } \
    211   static int \
    212   tr_main_win32_impl (__VA_ARGS__)
     211  int \
     212  main_impl (__VA_ARGS__)
    213213
    214214#else
Note: See TracChangeset for help on using the changeset viewer.