diff --git a/qt/mainwin.h b/qt/mainwin.h index 1c09d5444..7db35cae8 100644 --- a/qt/mainwin.h +++ b/qt/mainwin.h @@ -25,9 +25,10 @@ #include #include -extern "C" { - struct tr_variant; -}; +extern "C" +{ + struct tr_variant; +} #include "filters.h" #include "torrent-filter.h" diff --git a/qt/make-dialog.h b/qt/make-dialog.h index 06eb616a5..060a8074b 100644 --- a/qt/make-dialog.h +++ b/qt/make-dialog.h @@ -29,7 +29,7 @@ struct QDialogButtonBox; extern "C" { - struct tr_metainfo_builder; + struct tr_metainfo_builder; } class MakeDialog: public QDialog diff --git a/qt/options.h b/qt/options.h index 6e446bb4f..658a7b297 100644 --- a/qt/options.h +++ b/qt/options.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 { diff --git a/qt/prefs.h b/qt/prefs.h index 61e3c7ba8..96ea85c46 100644 --- a/qt/prefs.h +++ b/qt/prefs.h @@ -25,7 +25,7 @@ extern "C" { - struct tr_variant; + struct tr_variant; } class Prefs: public QObject diff --git a/qt/torrent-model.h b/qt/torrent-model.h index 408970cb7..f24caefed 100644 --- a/qt/torrent-model.h +++ b/qt/torrent-model.h @@ -25,8 +25,8 @@ class Prefs; extern "C" { - struct tr_variant; -}; + struct tr_variant; +} class TorrentModel: public QAbstractListModel { diff --git a/qt/torrent.h b/qt/torrent.h index 792f12be2..0b6470313 100644 --- a/qt/torrent.h +++ b/qt/torrent.h @@ -31,7 +31,7 @@ extern "C" { - struct tr_variant; + struct tr_variant; } class Prefs;