Skip to content

Commit 40f9c42

Browse files
authored
fix(share_plus): A function declaration without a prototype is deprecated in all versions of C (#3375)
1 parent 8a303ad commit 40f9c42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/share_plus/share_plus/ios/share_plus/Sources/share_plus/FPPSharePlusPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
static NSString *const PLATFORM_CHANNEL = @"dev.fluttercommunity.plus/share";
99

10-
static UIViewController *RootViewController() {
10+
static UIViewController *RootViewController(void) {
1111
if (@available(iOS 13, *)) { // UIApplication.keyWindow is deprecated
1212
NSSet *scenes = [[UIApplication sharedApplication] connectedScenes];
1313
for (UIScene *scene in scenes) {

0 commit comments

Comments
 (0)