Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(54)

Delta Between Two Patch Sets: src/pkg/runtime/thread_plan9.c

Issue 5490053: code review 5490053: runtime: make more build-friendly (Closed)
Left Patch Set: Created 13 years, 3 months ago
Right Patch Set: diff -r 046739c8299b https://go.googlecode.com/hg/ Created 13 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/runtime/thread_openbsd.c ('k') | src/pkg/runtime/thread_windows.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2010 The Go Authors. All rights reserved. 1 // Copyright 2010 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 #include "runtime.h" 5 #include "runtime.h"
6 #include "os.h" 6 #include "os_GOOS.h"
7 #include "arch.h" 7 #include "arch_GOARCH.h"
8 8
9 int8 *goos = "plan9"; 9 int8 *goos = "plan9";
10 10
11 void 11 void
12 runtime·minit(void) 12 runtime·minit(void)
13 { 13 {
14 } 14 }
15 15
16 static int32 16 static int32
17 getproccount(void) 17 getproccount(void)
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 runtime·read(int32 fd, void *buf, int32 nbytes) 228 runtime·read(int32 fd, void *buf, int32 nbytes)
229 { 229 {
230 return runtime·pread(fd, buf, nbytes, -1LL); 230 return runtime·pread(fd, buf, nbytes, -1LL);
231 } 231 }
232 232
233 int32 233 int32
234 runtime·write(int32 fd, void *buf, int32 nbytes) 234 runtime·write(int32 fd, void *buf, int32 nbytes)
235 { 235 {
236 return runtime·pwrite(fd, buf, nbytes, -1LL); 236 return runtime·pwrite(fd, buf, nbytes, -1LL);
237 } 237 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b