]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/cgo: avoid C++ style comments
authorHiroshi Ioka <hirochachacha@gmail.com>
Fri, 21 Apr 2017 11:18:28 +0000 (20:18 +0900)
committerIan Lance Taylor <iant@golang.org>
Sat, 22 Apr 2017 00:53:51 +0000 (00:53 +0000)
Change-Id: I9d399db8ac26ad44adeace3bf1e5b11cbfe3e0d3
Reviewed-on: https://go-review.googlesource.com/41313
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/cmd/cgo/out.go

index c2ab88017276a4c43c562101828e04be8c0d2868..274bb1fb1af9f457a085d5fe55b84cc38f8dbd84 100644 (file)
@@ -1298,7 +1298,7 @@ const gccProlog = `
 */
 #define __cgo_compile_assert_eq(x, y, name) typedef char name[(x-y)*(x-y)*-2+1];
 
-// Check at compile time that the sizes we use match our expectations.
+/* Check at compile time that the sizes we use match our expectations. */
 #define __cgo_size_assert(t, n) __cgo_compile_assert_eq(sizeof(t), n, _cgo_sizeof_##t##_is_not_##n)
 
 __cgo_size_assert(char, 1)