mirror of
https://github.com/transmission/transmission
synced 2025-02-22 14:10:34 +00:00
no need for a semicolon after the closing brace in a C++ 'extern' block
This commit is contained in:
parent
ec82d81598
commit
e0cb88af45
6 changed files with 13 additions and 9 deletions
|
@ -25,9 +25,10 @@
|
|||
#include <QTimer>
|
||||
#include <QWidgetList>
|
||||
|
||||
extern "C" {
|
||||
struct tr_variant;
|
||||
};
|
||||
extern "C"
|
||||
{
|
||||
struct tr_variant;
|
||||
}
|
||||
|
||||
#include "filters.h"
|
||||
#include "torrent-filter.h"
|
||||
|
|
|
@ -29,7 +29,7 @@ struct QDialogButtonBox;
|
|||
|
||||
extern "C"
|
||||
{
|
||||
struct tr_metainfo_builder;
|
||||
struct tr_metainfo_builder;
|
||||
}
|
||||
|
||||
class MakeDialog: public QDialog
|
||||
|
|
|
@ -40,7 +40,10 @@ class FreespaceLabel;
|
|||
class Prefs;
|
||||
class Session;
|
||||
|
||||
extern "C" { struct tr_variant; };
|
||||
extern "C"
|
||||
{
|
||||
struct tr_variant;
|
||||
}
|
||||
|
||||
class FileAdded: public QObject
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
extern "C"
|
||||
{
|
||||
struct tr_variant;
|
||||
struct tr_variant;
|
||||
}
|
||||
|
||||
class Prefs: public QObject
|
||||
|
|
|
@ -25,8 +25,8 @@ class Prefs;
|
|||
|
||||
extern "C"
|
||||
{
|
||||
struct tr_variant;
|
||||
};
|
||||
struct tr_variant;
|
||||
}
|
||||
|
||||
class TorrentModel: public QAbstractListModel
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
extern "C"
|
||||
{
|
||||
struct tr_variant;
|
||||
struct tr_variant;
|
||||
}
|
||||
|
||||
class Prefs;
|
||||
|
|
Loading…
Reference in a new issue