Browse Source

* our_iov converted to a local var

git-svn-id: branches/wasm@47931 -
nickysn 4 years ago
parent
commit
4b9397fce4
1 changed files with 1 additions and 3 deletions
  1. 1 3
      rtl/wasi/system.pp

+ 1 - 3
rtl/wasi/system.pp

@@ -29,9 +29,6 @@ type
     buf_len: __wasi_size_t;
   end;
 
-var
-  our_iov: __wasi_ciovec_t;
-
 function fd_write(fd: __wasi_fd_t;
                   iovs: P__wasi_ciovec_t;
                   iovs_len: size_t;
@@ -51,6 +48,7 @@ end;
 
 procedure DebugWrite(const P: PChar);
 var
+  our_iov: __wasi_ciovec_t;
   our_nwritten: longint;
 begin
   our_iov.buf := P;