]> Cypherpunks repositories - gostls13.git/commit
runtime: fix C compilation error in TestCgoTracebackGoroutineProfile
authorCherry Mui <cherryyz@google.com>
Thu, 11 Nov 2021 17:52:45 +0000 (12:52 -0500)
committerCherry Mui <cherryyz@google.com>
Thu, 11 Nov 2021 18:32:21 +0000 (18:32 +0000)
commit84277bfd07dad771b9978149bdaed8aa16ed8982
tree52d403b0e17d0aa9d0e076ffaaae982278564859
parent73a4bbb0df36d85d1ab8cb12d220d1d56e4049ec
runtime: fix C compilation error in TestCgoTracebackGoroutineProfile

Use C89 declaration. Also fix indentation.

Change-Id: Ib974eb32ac95610d0b0eca00ca3b139b388c73bd
Reviewed-on: https://go-review.googlesource.com/c/go/+/363356
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/runtime/testdata/testprogcgo/gprof_c.c