Date: Mon, 8 Jan 2018 18:47:35 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r327705 - head/stand/mips/beri/common Message-ID: <201801081847.w08IlZ7F033684@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Mon Jan 8 18:47:35 2018 New Revision: 327705 URL: https://svnweb.freebsd.org/changeset/base/327705 Log: Use <stand.h> instead of <inttypes.h> and <stdio.h> 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 <sys/types.h> #include <sys/endian.h> -#include <inttypes.h> -#include <stdio.h> +#include <stand.h> /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801081847.w08IlZ7F033684>