]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/cgo: more +build cgo tags
authorRuss Cox <rsc@golang.org>
Wed, 27 Jan 2016 21:27:03 +0000 (16:27 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 27 Jan 2016 21:47:36 +0000 (21:47 +0000)
Followup to CL 19001.

Change-Id: I7fa838b1ee8df53229e9dd29a231c2f9b2aa3f69
Reviewed-on: https://go-review.googlesource.com/19003
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
32 files changed:
src/runtime/cgo/gcc_android.c
src/runtime/cgo/gcc_android_386.c
src/runtime/cgo/gcc_android_amd64.c
src/runtime/cgo/gcc_android_arm.c
src/runtime/cgo/gcc_android_arm64.c
src/runtime/cgo/gcc_darwin_386.c
src/runtime/cgo/gcc_darwin_arm.c
src/runtime/cgo/gcc_darwin_arm64.c
src/runtime/cgo/gcc_dragonfly_amd64.c
src/runtime/cgo/gcc_fatalf.c
src/runtime/cgo/gcc_freebsd_386.c
src/runtime/cgo/gcc_freebsd_amd64.c
src/runtime/cgo/gcc_freebsd_arm.c
src/runtime/cgo/gcc_libinit_linux_ppc64x.c
src/runtime/cgo/gcc_libinit_openbsd.c
src/runtime/cgo/gcc_libinit_windows.c
src/runtime/cgo/gcc_linux_386.c
src/runtime/cgo/gcc_linux_amd64.c
src/runtime/cgo/gcc_linux_arm.c
src/runtime/cgo/gcc_linux_arm64.c
src/runtime/cgo/gcc_linux_ppc64x.c
src/runtime/cgo/gcc_mmap.c
src/runtime/cgo/gcc_netbsd_386.c
src/runtime/cgo/gcc_netbsd_amd64.c
src/runtime/cgo/gcc_netbsd_arm.c
src/runtime/cgo/gcc_openbsd_386.c
src/runtime/cgo/gcc_openbsd_amd64.c
src/runtime/cgo/gcc_signal_darwin_armx.c
src/runtime/cgo/gcc_signal_darwin_lldb.c
src/runtime/cgo/gcc_solaris_amd64.c
src/runtime/cgo/gcc_windows_386.c
src/runtime/cgo/gcc_windows_amd64.c

index be27725680a0aefbb3d815dae685682128ffe1bd..a3bc6c4d409c65d79df77791106cfd71306cff7a 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <stdarg.h>
 #include <android/log.h>
 #include "libcgo.h"
index a82d7d01b0bb0dcc275e75226ea13d0c01793bed..db1d48aaaed549bc0ff16158f828c51cd695b446 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <string.h> /* for strerror */
 #include <pthread.h>
 #include <signal.h>
index 4cea4597485e728a06cf3ec2ff0a733811ab8d4f..17d88cec9114e1f62f9ae5a92fa3fae1c0e8b5de 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <string.h> /* for strerror */
 #include <pthread.h>
 #include <signal.h>
index 85cd244c02caba0589ddb36d41d38d3125118490..67cb5a895280abf1b533343b2e26b08b394479da 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <pthread.h>
 #include <signal.h>
 #include <stdio.h>
index 5d4cefee6074df27dbaf26bbd6f0212fa024d872..acf37355eb1f81b638b868601eda4eb4b805735b 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <pthread.h>
 #include <signal.h>
 #include <stdio.h>
index 6668ba4a2135781c3cc48d40ffb35839f5687a0f..a94e5ee48d0454223b59a1a7265e82a9f0c1346f 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <string.h> /* for strerror */
 #include <pthread.h>
 #include <signal.h>
index c303b914ccb400b95721c3e822bf4e40d5505cb3..c0ce449f1346c9537a2c92229c4d64b0d8d1a407 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <limits.h>
 #include <pthread.h>
 #include <signal.h>
index b64a063b982eb4464cf04e9f755c81fa6e7933e0..1ba00b02fb59b898c58827fcbf40e5be4293d5c7 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <limits.h>
 #include <pthread.h>
 #include <signal.h>
index f41b9b408a3d1a7274969e75554b214f80f23768..9d02add92dfc7cd30b5885a81f0fd6698c63bc64 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <sys/types.h>
 #include <sys/signalvar.h>
 #include <pthread.h>
index 21c1acfaad18c34fa41259bc1578aed9c70e3452..c931b79abf3125a3e5c88aa25fa5e80780a8bc8e 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 // +build !android,linux
 
 #include <stdarg.h>
index 074418f77d3dd35d678c9510caa1d13dfb84a585..2afdf2088fd3863ca671fa74df39a75ebb3a244a 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <sys/types.h>
 #include <sys/signalvar.h>
 #include <pthread.h>
index f79f652e466e5b4d4ca83a3966a63527e72979a7..bf71d4c09d5009fc7f1866ca404a4764d1cb7a04 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <sys/types.h>
 #include <sys/signalvar.h>
 #include <pthread.h>
index 2a86a91174ed209016142f68d2d40f88b29e6e05..60bca55d84b0331852aa1b0bf23dd7108bad4dde 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <sys/types.h>
 #include <machine/sysarch.h>
 #include <sys/signalvar.h>
index 82413a5a65ebbddb7b885ca02222030dc4dd3a69..18ccf935727459d6b670033471fa2e7a463b3daf 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 // TODO: see issue #10410
 // +build linux
 // +build ppc64 ppc64le
index 7e5b6468a6fde5043a14542b5562e7c190cd8e64..13904eede21faa92d01adca3873c25e6fbb97ab0 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 7e5b6468a6fde5043a14542b5562e7c190cd8e64..13904eede21faa92d01adca3873c25e6fbb97ab0 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 8fb7130e31b01d37c5e7896775def5edd315ac28..2457eb3806301ba77ac5f6df9755b3201d50ad24 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <pthread.h>
 #include <string.h>
 #include <signal.h>
index 51ca6446cf1a55a999971f5b0fe5554c47cbcb59..5113a769b5fc2eb6dce85399b0f919b90a441840 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <pthread.h>
 #include <errno.h>
 #include <string.h> // strerror
index 7d4b4d6d4f404c71dc542bad77ab4c95d9df165c..ce940fee4553d65eff7a9ffeacc89f9e24a1c8f9 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <pthread.h>
 #include <string.h>
 #include <signal.h>
index ea11cf531315162494961bb5799cf363c7e3fa58..babbd50e85f5f38b2e61dbd644d75995afb7afb9 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <pthread.h>
 #include <string.h>
 #include <signal.h>
index b1762957a2e07d86ad6a9699126eb3dddfdd12db..1264ab5959670f3050fc0df4b3074914f597b4e8 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 // +build ppc64 ppc64le
 
 #include <pthread.h>
index 10d589fa288cddc51cc9ec4420377f06e1dc7351..f2bcc9866b2293a1dfb644711b274f59a49086b7 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 // +build linux,amd64
 
 #include <errno.h>
index 6fc7a122b4b8b506e0720702af66744a47f0a133..4355bd0cae30393b5a5c982a400567130fbf3455 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <sys/types.h>
 #include <pthread.h>
 #include <signal.h>
index f0ecfac575a47c48bf53b4a5f6cd748a2858010f..00e0667dbe3fd1b7c793983b47b72bd090b69561 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <sys/types.h>
 #include <pthread.h>
 #include <signal.h>
index 3567aaae725d319aed9bb4b970a2cf30616b1174..32bc85b7c64da905ad6a08fc9ac231443b146287 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <sys/types.h>
 #include <pthread.h>
 #include <signal.h>
index c4be9a00969e57332020048f351e47d2b400a992..5f6d4cbb93620b5cf3fbec4ce76d01f795d7e3df 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <sys/types.h>
 #include <dlfcn.h>
 #include <errno.h>
index 8522cd48c4ac9fec18e06c53fe850ef91da4d6dc..42265671d7d55fd3b62a5d7c62e75452a67aeaff 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <sys/types.h>
 #include <dlfcn.h>
 #include <errno.h>
index e36fe26bb1041fcfe006314e12d5d7b583e16dbd..295c5623f0709b1a97779ee5e5294d26ea9d45b1 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 // Emulation of the Unix signal SIGSEGV.
 //
 // On iOS, Go tests and apps under development are run by lldb.
index b26315f10d7a22b9461092c7e1f01db025e429ad..edb55f3030da3d1f97093c2751aa0dba67f0d964 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 // +build !lldb
 // +build darwin
 // +build arm arm64
index 98a1a8be532a3bf9cebee1f86adf14bdb64f9b72..5a01e0826e330ca5992fd1253f1bab411b18f9e8 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #include <pthread.h>
 #include <string.h>
 #include <signal.h>
index acd038ccd6fc8afc5463b3bced1dd13713b8b632..e02991af2186661de6d0828cb7af17136ef9abbf 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 #include <process.h>
index ce7e06b3dfe3e78f0b127410ed0c662401a6d53e..1b3e8e32836de3d66a9c2f1206cf3fb31b564204 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build cgo
+
 #define WIN64_LEAN_AND_MEAN
 #include <windows.h>
 #include <process.h>