From c43a68113f85a66b827fdd059886f0aba23e1a55 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Fri, 10 Nov 2023 13:50:37 +0100 Subject: Issue #2342 - Fix attribute order in nsIPipe.idl --- xpcom/io/nsIPipe.idl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpcom/io/nsIPipe.idl b/xpcom/io/nsIPipe.idl index 3442f1734c..f2b38b2767 100644 --- a/xpcom/io/nsIPipe.idl +++ b/xpcom/io/nsIPipe.idl @@ -127,7 +127,7 @@ class nsIOutputStream; * this mode can be useful in some cases, but should always be used with * caution. the default value for this parameter is a finite value. */ -extern [[nodiscard]] nsresult +[[nodiscard]] extern nsresult NS_NewPipe2(nsIAsyncInputStream **pipeIn, nsIAsyncOutputStream **pipeOut, bool nonBlockingInput = false, @@ -160,7 +160,7 @@ NS_NewPipe2(nsIAsyncInputStream **pipeIn, * @param nonBlockingOutput * true specifies non-blocking output stream behavior */ -extern [[nodiscard]] nsresult +[[nodiscard]] extern nsresult NS_NewPipe(nsIInputStream **pipeIn, nsIOutputStream **pipeOut, uint32_t segmentSize = 0, -- cgit v1.2.3