Patchwork libgo patch committed: Add missing package clause

login
register
mail settings
Submitter Ian Taylor
Date Jan. 24, 2011, 10:45 p.m.
Message ID <mcrbp357wfe.fsf@google.com>
Download mbox | patch
Permalink /patch/80285/
State New
Headers show

Comments

Ian Taylor - Jan. 24, 2011, 10:45 p.m.
When I split up the syscalls files, I goofed on sleep_rtems.go by
omitting the package clause.  This patch fixes that.  Bootstrapped on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

Patch

diff -r 53bc05c148cc libgo/syscalls/sleep_rtems.go
--- a/libgo/syscalls/sleep_rtems.go	Fri Jan 21 18:58:36 2011 -0800
+++ b/libgo/syscalls/sleep_rtems.go	Mon Jan 24 14:43:30 2011 -0800
@@ -4,6 +4,8 @@ 
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+package syscall
+
 func libc_nanosleep(req *Timespec, rem *Timespec) int __asm__ ("nanosleep")
 
 func Sleep(nsec int64) (errno int) {