From 60f4bc1a653fca41be13aa00aa26b31e3727e83f Mon Sep 17 00:00:00 2001 From: Richard Howell Date: Tue, 28 Mar 2023 10:48:57 -0700 Subject: [PATCH] enable -Wstrict-prototypes Summary: The 14.3 toolchain includes `-Wstrict-prototypes` in `-Wall`. Add it to the default warning list to ensure the code is buildable with the 14.3 toolchain. Please forward fix any build breakage introduced by this change. Reviewed By: NSProgrammer Differential Revision: D44371491 fbshipit-source-id: 257c7f7748b079a34ffd5c041339d518bef9d1e5 --- iOS/FlipperKitTestUtils/BlockBasedSonarPlugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/FlipperKitTestUtils/BlockBasedSonarPlugin.h b/iOS/FlipperKitTestUtils/BlockBasedSonarPlugin.h index ad9ad2abb..53bf5ba05 100644 --- a/iOS/FlipperKitTestUtils/BlockBasedSonarPlugin.h +++ b/iOS/FlipperKitTestUtils/BlockBasedSonarPlugin.h @@ -12,7 +12,7 @@ @protocol FlipperConnection; typedef void (^ConnectBlock)(id); -typedef void (^DisconnectBlock)(); +typedef void (^DisconnectBlock)(void); @interface BlockBasedSonarPlugin : NSObject