Commit e8fc3620 authored by Russ Cox's avatar Russ Cox

runtime/cgo: use just #include "textflag.h"

This will withstand the src/pkg/ to src/ move.

LGTM=r
R=iant, r
CC=golang-codereviews
https://golang.org/cl/134530044
parent a09e6139
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
#include "../../../cmd/ld/textflag.h" #include "textflag.h"
/* /*
* void crosscall2(void (*fn)(void*, int32), void*, int32) * void crosscall2(void (*fn)(void*, int32), void*, int32)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
#include "../../../cmd/ld/textflag.h" #include "textflag.h"
/* /*
* void crosscall2(void (*fn)(void*, int32), void*, int32) * void crosscall2(void (*fn)(void*, int32), void*, int32)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
#include "../../../cmd/ld/textflag.h" #include "textflag.h"
/* /*
* void crosscall2(void (*fn)(void*, int32), void*, int32) * void crosscall2(void (*fn)(void*, int32), void*, int32)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
#include "../../../cmd/ld/textflag.h" #include "textflag.h"
/* /*
* void crosscall2(void (*fn)(void*, int32), void*, int32) * void crosscall2(void (*fn)(void*, int32), void*, int32)
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include "../runtime.h" #include "../runtime.h"
#include "../cgocall.h" #include "../cgocall.h"
#include "../../../cmd/ld/textflag.h" #include "textflag.h"
// These utility functions are available to be called from code // These utility functions are available to be called from code
// compiled with gcc via crosscall2. // compiled with gcc via crosscall2.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment