mirror of
https://github.com/transmission/transmission
synced 2025-02-22 22:20:39 +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" {
|
||||
extern "C"
|
||||
{
|
||||
struct tr_variant;
|
||||
};
|
||||
}
|
||||
|
||||
#include "filters.h"
|
||||
#include "torrent-filter.h"
|
||||
|
|
|
@ -40,7 +40,10 @@ class FreespaceLabel;
|
|||
class Prefs;
|
||||
class Session;
|
||||
|
||||
extern "C" { struct tr_variant; };
|
||||
extern "C"
|
||||
{
|
||||
struct tr_variant;
|
||||
}
|
||||
|
||||
class FileAdded: public QObject
|
||||
{
|
||||
|
|
|
@ -26,7 +26,7 @@ class Prefs;
|
|||
extern "C"
|
||||
{
|
||||
struct tr_variant;
|
||||
};
|
||||
}
|
||||
|
||||
class TorrentModel: public QAbstractListModel
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue