sim: fix func call style (space before paren)
[deliverable/binutils-gdb.git] / sim / common / syscall.c
index 529a90f6d571872070702b7eb78867b898ba3c88..28816c02b55836d4491e9eb6bb899b64eeb59587 100644 (file)
@@ -93,7 +93,7 @@ get_string (cb, sc, buf, buflen, addr)
         path name along with the syscall request, and cache the file
         name somewhere (or otherwise tweak this as desired).  */
       unsigned int count = (*sc->read_mem) (cb, sc, addr, p, 1);
-                                   
+
       if (count != 1)
        return EINVAL;
       if (*p == 0)
@@ -345,12 +345,12 @@ cb_syscall (cb, sc)
                errcode = EINVAL;
                goto FinishSyscall;
              }
-           if (cb_is_stdout(cb, fd))
+           if (cb_is_stdout (cb, fd))
              {
                result = (int) (*cb->write_stdout) (cb, buf, bytes_read);
                (*cb->flush_stdout) (cb);
              }
-           else if (cb_is_stderr(cb, fd))
+           else if (cb_is_stderr (cb, fd))
              {
                result = (int) (*cb->write_stderr) (cb, buf, bytes_read);
                (*cb->flush_stderr) (cb);
This page took 0.024173 seconds and 4 git commands to generate.