summaryrefslogtreecommitdiff
path: root/xpcom
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-11-10 13:50:37 +0100
committerMoonchild <moonchild@palemoon.org>2023-11-10 13:50:37 +0100
commitc43a68113f85a66b827fdd059886f0aba23e1a55 (patch)
treed3820116d6907e9b83d955ad5dc45c7709089ce7 /xpcom
parente869b44d0fa41f5b7062d169f4d374966f5c2edc (diff)
downloaduxp-c43a68113f85a66b827fdd059886f0aba23e1a55.tar.gz
Issue #2342 - Fix attribute order in nsIPipe.idl
Diffstat (limited to 'xpcom')
-rw-r--r--xpcom/io/nsIPipe.idl4
1 files 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,