mirror of
https://github.com/golang/go
synced 2024-10-05 12:11:22 -06:00
b0449c50f7
8c/gc.h: . Added <u.h> header. . Added "lD" pragma for "*Adr" to supplement "D". 8c/swt.c: . Removed unreferenced "thestring" arguments in Bprint() calls. cc/acid.c: cc/com.c: cc/com64.c: cc/dcl.c: cc/scon.c: . Added <u.h>, required by "cc.h". cc/bits.c: . Added <u.h>, required by "cc.h". cc/cc.h: . Removed <u.h> and <ctype.h>. . Added "O" pragma to accept "uint" as well as "int". . Added new "U" pragma (char *). cc/cc.y: . Added <u.h> before <stdio.h> (and "cc.h"). cc/dpchk.c: cc/mac.c: . Added <u.h> and <ctype.h>. cc/funct.c: . Added <u.h>, required by "cc.h". cc/godefs.c . Added <u.h>, required by "cc.h". . Dropped unused "t" argument in Bprint(). cc/lex.c: . Added <u.h> and <ctype.h>. . Removed unnecessary incrementation. . Changed exit() invocations with exits(). cc/omachcap.c: . Added <u.h>, required by "cc.h". . USED(n) for unused argument to machcap(). cc/sub.c: . Added <u.h> and <ctype.h>. R=rsc CC=golang-dev https://golang.org/cl/4629070
41 lines
1.8 KiB
C
41 lines
1.8 KiB
C
// Inferno utils/cc/machcap.c
|
|
// http://code.google.com/p/inferno-os/source/browse/utils/cc/machcap.c
|
|
//
|
|
// Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved.
|
|
// Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net)
|
|
// Portions Copyright © 1997-1999 Vita Nuova Limited
|
|
// Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuova.com)
|
|
// Portions Copyright © 2004,2006 Bruce Ellis
|
|
// Portions Copyright © 2005-2007 C H Forsyth (forsyth@terzarima.net)
|
|
// Revisions Copyright © 2000-2007 Lucent Technologies Inc. and others
|
|
// Portions Copyright © 2009 The Go Authors. All rights reserved.
|
|
//
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
// in the Software without restriction, including without limitation the rights
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
// furnished to do so, subject to the following conditions:
|
|
//
|
|
// The above copyright notice and this permission notice shall be included in
|
|
// all copies or substantial portions of the Software.
|
|
//
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
// THE SOFTWARE.
|
|
|
|
#include <u.h>
|
|
#include "cc.h"
|
|
|
|
/* default, like old cc */
|
|
int
|
|
machcap(Node *n)
|
|
{
|
|
USED(n);
|
|
return 0;
|
|
}
|