Ignore:
Timestamp:
Mar 17, 2009, 6:08:02 PM (13 years ago)
Author:
charles
Message:

(trunk libT) make tr-getopt C++ friendly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tr-getopt.h

    r7888 r8071  
    2525#ifndef TR_GETOPT_H
    2626#define TR_GETOPT_H
     27
     28#ifdef __cplusplus
     29extern "C" {
     30#endif
    2731
    2832extern int tr_optind;
     
    6670                      const tr_option * opts );
    6771
     72#ifdef __cplusplus
     73} /* extern "C" */
     74#endif
     75
    6876#endif /* TR_GETOPT_H */
Note: See TracChangeset for help on using the changeset viewer.