mirror of
https://github.com/golang/go
synced 2024-11-24 23:07:56 -07:00
build: remove unnecessary pragmas
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5629055
This commit is contained in:
parent
39611ec880
commit
7ac03695f8
@ -10,9 +10,6 @@ enum
|
|||||||
Runemax = 0x10FFFF, /* maximum rune value */
|
Runemax = 0x10FFFF, /* maximum rune value */
|
||||||
};
|
};
|
||||||
|
|
||||||
#pragma src "/sys/src/go/src/lib9"
|
|
||||||
#pragma lib "/sys/src/go/lib/$M/lib9.a"
|
|
||||||
|
|
||||||
char* getgoos(void);
|
char* getgoos(void);
|
||||||
char* getgoarch(void);
|
char* getgoarch(void);
|
||||||
char* getgoroot(void);
|
char* getgoroot(void);
|
||||||
|
@ -2,6 +2,4 @@
|
|||||||
// 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.
|
||||||
|
|
||||||
#pragma src "/sys/src/go/src/libmach"
|
|
||||||
#pragma lib "/sys/src/go/lib/$M/libmach.a"
|
|
||||||
#include "../mach.h"
|
#include "../mach.h"
|
||||||
|
@ -31,8 +31,6 @@
|
|||||||
#include <libc.h>
|
#include <libc.h>
|
||||||
#include <bio.h>
|
#include <bio.h>
|
||||||
|
|
||||||
#pragma lib "../cc/cc.a$O"
|
|
||||||
|
|
||||||
#ifndef EXTERN
|
#ifndef EXTERN
|
||||||
#define EXTERN extern
|
#define EXTERN extern
|
||||||
#endif
|
#endif
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
|
|
||||||
#include <bio.h>
|
#include <bio.h>
|
||||||
|
|
||||||
#pragma lib "../gc/gc.a$O"
|
|
||||||
|
|
||||||
#undef OAPPEND
|
#undef OAPPEND
|
||||||
|
|
||||||
// avoid <ctype.h>
|
// avoid <ctype.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user