summaryrefslogtreecommitdiff
path: root/xpcom/io/nsIPipe.idl
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/io/nsIPipe.idl')
-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,