From 4798fffbc386b2b727082b9237810364b9850b4a Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sat, 27 Nov 2021 11:15:49 -0800 Subject: [PATCH] dispatch: remove stray semicolon (NFC This cleans up a stray semicolon to allow building with `-Werror=c++98-compat-extra-semi` which is enabled by default in some versions of clang and produces an annoying number of diagnostics when building Swift. --- dispatch/source.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dispatch/source.h b/dispatch/source.h index 597d23a4f..b54862ea8 100644 --- a/dispatch/source.h +++ b/dispatch/source.h @@ -54,7 +54,7 @@ DISPATCH_ASSUME_NONNULL_BEGIN * Dispatch sources are used to automatically submit event handler blocks to * dispatch queues in response to external events. */ -DISPATCH_SOURCE_DECL(dispatch_source); +DISPATCH_SOURCE_DECL(dispatch_source) __BEGIN_DECLS