1
0
Fork 0
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:
Jordan Lee 2013-08-24 19:26:21 +00:00
parent ec82d81598
commit e0cb88af45
6 changed files with 13 additions and 9 deletions

View file

@ -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"

View file

@ -29,7 +29,7 @@ struct QDialogButtonBox;
extern "C"
{
struct tr_metainfo_builder;
struct tr_metainfo_builder;
}
class MakeDialog: public QDialog

View file

@ -40,7 +40,10 @@ class FreespaceLabel;
class Prefs;
class Session;
extern "C" { struct tr_variant; };
extern "C"
{
struct tr_variant;
}
class FileAdded: public QObject
{

View file

@ -25,7 +25,7 @@
extern "C"
{
struct tr_variant;
struct tr_variant;
}
class Prefs: public QObject

View file

@ -25,8 +25,8 @@ class Prefs;
extern "C"
{
struct tr_variant;
};
struct tr_variant;
}
class TorrentModel: public QAbstractListModel
{

View file

@ -31,7 +31,7 @@
extern "C"
{
struct tr_variant;
struct tr_variant;
}
class Prefs;