diff mbox

libgo patch committed: Add missing package clause

Message ID mcrbp357wfe.fsf@google.com
State New
Headers show

Commit Message

Ian Lance Taylor Jan. 24, 2011, 10:45 p.m. UTC
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
diff mbox

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