Commit 84e8a06f authored by Quim Muntal's avatar Quim Muntal Committed by Ian Lance Taylor
Browse files

cmd/cgo: remove unnecessary space in cgo export header

The cgo header has an unnecessary space in the exported function
definition on non-windows goos.

This was introduced in go1.16 so it would be good to fix it before
release.

Example:

// Current behavior, notice there is an unecessary space
// between extern and void
extern  void Foo();

// With this CL
extern void Foo();

Change-Id: Ic2c21f8d806fe35a7be7183dbfe35ac605b6e4f6
Reviewed-on: https://go-review.googlesource.com/c/go/+/283892


Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
Trust: Katie Hockman <katie@golang.org>
parent 0c86b999
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment