From d818ba11af4465e00c1998bd3f8a55603b422290 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 20 Dec 2017 16:06:35 +0000 Subject: [PATCH] unix: remove syscall constants on Solaris SYS_EXECVE and SYS_FCNTL were needed for compatibility reasons in syscall, but they are not needed in x/sys/unix. Change-Id: Ic355cf8785c83be51bc91ba84401bc969f8ae6b5 Reviewed-on: https://go-review.googlesource.com/84995 Run-TryBot: Tobias Klauser TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- unix/zsysnum_solaris_amd64.go | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 unix/zsysnum_solaris_amd64.go diff --git a/unix/zsysnum_solaris_amd64.go b/unix/zsysnum_solaris_amd64.go deleted file mode 100644 index c7086598..00000000 --- a/unix/zsysnum_solaris_amd64.go +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2014 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// +build amd64,solaris - -package unix - -// TODO(aram): remove these before Go 1.3. -const ( - SYS_EXECVE = 59 - SYS_FCNTL = 62 -)