]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove unused file mkversion.c
authorShenghou Ma <minux.ma@gmail.com>
Sun, 9 Jun 2013 14:04:17 +0000 (22:04 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Sun, 9 Jun 2013 14:04:17 +0000 (22:04 +0800)
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/10107044

src/pkg/runtime/mkversion.c [deleted file]

diff --git a/src/pkg/runtime/mkversion.c b/src/pkg/runtime/mkversion.c
deleted file mode 100644 (file)
index 94ad0d9..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright 2009 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build ignore
-
-#include <u.h>
-#include <libc.h>
-
-char *template =
-       "// AUTO-GENERATED by autogen.sh; DO NOT EDIT\n\n"
-       "package runtime\n"
-       "const defaultGoroot = `%s`\n"
-       "const theVersion = \"%s\"\n";
-
-void
-main(void)
-{
-       print(template, getgoroot(), getgoversion());
-       exits(0);
-}