From owner-svn-src-all@freebsd.org Mon Jan 8 19:02:11 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2DD6FE59230 for ; Mon, 8 Jan 2018 19:02:11 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E65EE6D9D7 for ; Mon, 8 Jan 2018 19:02:10 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x235.google.com with SMTP id b77so5483355itd.0 for ; Mon, 08 Jan 2018 11:02:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=RIaf12sFUpJVrwa1KFQE11SGUvvMkEGGgvsWdlkrxqw=; b=SMdqxwXlBlksJychW225RJeHBQjmUqLRzmOKNqvexmKRljMi0qXBvAnzDn+KNTgiC+ 1hAMwY2vF9m4g0AHZAVNFhNBwFR9EXKsWd5RjgW3wVdKFml0txFOjKaV6ERn9JwoIU96 H5+ECPX5asYsn/ACy7ZkNKiVuHPBfkk0II09NeeicoHZ3V1d+c2ZHYBWz9cPUAqqkhP1 wCQsLmagjMRQDfr+unCZfP7hPFVrYSG4PWMy8zs5DiWR451XAvdUNf2iZGSUdJtTWQ8A XI9dS/wvFKI/Csu6/wXQgVZEnXEXN2PyFiCEr3yQtrxs+OqOIjUDK/18pEifYcywgKcW r07g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=RIaf12sFUpJVrwa1KFQE11SGUvvMkEGGgvsWdlkrxqw=; b=DUVhQmCHjllEdR3hOxZBfMGbkvdzdt7MtOu8x9PwA2geDWOmPZeIkJ9HAxnhHuMMth bT/as76vZSSjrboTGqL9JDV7XiUli/dSssHsdCC9lgEcyMGXbQ0+Zvaf+qu7A/u5eKs8 g0ytUp+yejHhDbI8+xiEqyADkf9Gr86vJYQ1wdSk1Mvouahe/1ljIo3opXAZIHrR47xr shXkXzzTDGhTWm7SS9Sq6lPB6749ilrxxN8rTRjpT6rjusCFAMIsX9y76EP4pmOt6TRV sW5dTJE03GtbDWGHXaROQE4s8iiunClNba8gGNQNRzUzhfQ6XSaK3BkIK3DttYcFMdui 8Jog== X-Gm-Message-State: AKGB3mLeVmNx+xmHy0ylxNhAgwwNq29Df/l4zOHTX9/pSLL+RTctAQoU HU7v/8n5lMDCwDzYaGb94+4LF4cSRwkT8Wk7fqLoYQ== X-Google-Smtp-Source: ACJfBovjMjZdTdjyofvO5b2rBPBK6Xo7201Z18c/4/rvXjnhp5nexQpzu4zPjADphOI2hU+VqjpEJwbSf/UHmYDJPUo= X-Received: by 10.36.1.16 with SMTP id 16mr5920178itk.115.1515438130141; Mon, 08 Jan 2018 11:02:10 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.160.217 with HTTP; Mon, 8 Jan 2018 11:02:09 -0800 (PST) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <201801081847.w08IlZ7F033684@repo.freebsd.org> References: <201801081847.w08IlZ7F033684@repo.freebsd.org> From: Warner Losh Date: Mon, 8 Jan 2018 12:02:09 -0700 X-Google-Sender-Auth: G_NiX0Xu7iCpuPdpkPnQQzuty3U Message-ID: Subject: Re: svn commit: r327705 - head/stand/mips/beri/common To: John Baldwin Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jan 2018 19:02:11 -0000 This should have been a nop... libsa specifically creates 'safe' headers for all the standard ones. Ah, libsa creates a perfectly fine stdint.h, but not a inttypes.h... Warner On Mon, Jan 8, 2018 at 11:47 AM, John Baldwin wrote: > Author: jhb > Date: Mon Jan 8 18:47:35 2018 > New Revision: 327705 > URL: https://svnweb.freebsd.org/changeset/base/327705 > > Log: > Use instead of and in boot code. > > In the freestanding boot compile environment, standard headers are not > available. Curiously, only building with clang exposed this as compiles > with external GCC still succeeded. > > Sponsored by: DARPA / AFRL > > Modified: > head/stand/mips/beri/common/sdcard.c > > Modified: head/stand/mips/beri/common/sdcard.c > ============================================================ > ================== > --- head/stand/mips/beri/common/sdcard.c Mon Jan 8 18:46:10 2018 > (r327704) > +++ head/stand/mips/beri/common/sdcard.c Mon Jan 8 18:47:35 2018 > (r327705) > @@ -33,8 +33,7 @@ > #include > #include > > -#include > -#include > +#include > > > /* > >