summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2014-04-16 14:36:44 -0700
committerIan Lance Taylor <iant@golang.org>2014-04-16 14:36:44 -0700
commit18d8146620a1150dde420f7060a96459d8fa2249 (patch)
tree99306304d20fbe61df7c80b9c9c56b361cd008ac /include
parentbc23140a4fe44718db247cb32d3f7ffa86235219 (diff)
downloadgo-18d8146620a1150dde420f7060a96459d8fa2249.tar.gz
liblink, cmd/gc, cmd/{5,6,8}{a,c}: rename linkwriteobj to writeobj
The name linkwriteobj is misleading because it implies that the function has something to do with the linker, which it does not. The name is historical: the function performs an operation that was previously performed by the linker, but no longer is. LGTM=rsc R=rsc, minux.ma CC=golang-codereviews https://codereview.appspot.com/88210045
Diffstat (limited to 'include')
-rw-r--r--include/link.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/link.h b/include/link.h
index c4a6c3dea..a80b62084 100644
--- a/include/link.h
+++ b/include/link.h
@@ -571,7 +571,7 @@ void linkprfile(Link *ctxt, int32 l);
// objfile.c
void ldobjfile(Link *ctxt, Biobuf *b, char *pkg, int64 len, char *path);
-void linkwriteobj(Link *ctxt, Biobuf *b);
+void writeobj(Link *ctxt, Biobuf *b);
// pass.c
Prog* brchain(Link *ctxt, Prog *p);