libgo patch committed: Add missing package clause

Message ID
State New
Headers show

Commit Message

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.



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) {