diff options
author | David du Colombier <0intro@gmail.com> | 2013-12-10 08:42:41 -0500 |
---|---|---|
committer | David du Colombier <0intro@gmail.com> | 2013-12-10 08:42:41 -0500 |
commit | 23988b9ff4b641dc49e4d1e01837d71dfba941a8 (patch) | |
tree | 5d9a5c3af302a17bc72862a081ac5bb89ecb72d4 /include | |
parent | 4e330a5e673435f610eba83431b08ab71fa1a2ae (diff) | |
download | go-23988b9ff4b641dc49e4d1e01837d71dfba941a8.tar.gz |
liblink, cmd/gc: fix incompatible type signatures on Plan 9
R=ality, golang-dev, r, rsc
CC=golang-dev
https://codereview.appspot.com/39640043
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/link.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/link.h b/include/link.h index 1d6aec49e..abaa6ad40 100644 --- a/include/link.h +++ b/include/link.h @@ -43,6 +43,9 @@ typedef struct Library Library; typedef struct Pcln Pcln; typedef struct Pcdata Pcdata; +// prevent incompatible type signatures between liblink and 8l on Plan 9 +#pragma incomplete struct Node + struct Addr { vlong offset; @@ -111,6 +114,9 @@ struct Prog char mode; /* 16, 32, or 64 */ }; +// prevent incompatible type signatures between liblink and 8l on Plan 9 +#pragma incomplete struct Section + struct LSym { char* name; |