fix almost all the warnings caused by -Wstrict-prototypes

This commit is contained in:
fridtjof
2019-01-05 03:28:03 +01:00
parent 041396d5e6
commit 0915e3fab2
15 changed files with 38 additions and 37 deletions

View File

@@ -21,7 +21,7 @@
@interface RoomKeyRequestViewController ()
{
void (^onComplete)();
void (^onComplete)(void);
EncryptionInfoView *encryptionInfoView;
@@ -31,7 +31,7 @@
@implementation RoomKeyRequestViewController
- (instancetype)initWithDeviceInfo:(MXDeviceInfo *)deviceInfo wasNewDevice:(BOOL)theWasNewDevice andMatrixSession:(MXSession *)session onComplete:(void (^)())onCompleteBlock
- (instancetype)initWithDeviceInfo:(MXDeviceInfo *)deviceInfo wasNewDevice:(BOOL)theWasNewDevice andMatrixSession:(MXSession *)session onComplete:(void (^)(void))onCompleteBlock
{
self = [super init];
if (self)