diff options
author | Jason Thorpe <thorpej@me.com> | 2021-06-02 20:53:10 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-06-05 17:26:13 -0700 |
commit | 394234f7d7fb737198783ce6340873858aa939f9 (patch) | |
tree | 3d21a052fc5994965cd355afaee9bdcdeacb8528 /printf.c | |
parent | bf0e13698872450164fa7040da36a95d2d4b326f (diff) | |
download | qemu-palcode-394234f7d7fb737198783ce6340873858aa939f9.zip qemu-palcode-394234f7d7fb737198783ce6340873858aa939f9.tar.gz qemu-palcode-394234f7d7fb737198783ce6340873858aa939f9.tar.bz2 |
Make qemu-palcode build environment standalone. NFC.
Don't include system headers. Instead, provide standalone definitions
and declarations of types needed and functions used by the PALcode that
are compatible with the standard Alpha / GCC ABI.
Signed-off-by: Jason Thorpe <thorpej@me.com>
Message-Id: <20210603035317.6814-2-thorpej@me.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'printf.c')
-rw-r--r-- | printf.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -18,10 +18,8 @@ along with this program; see the file COPYING. If not see <http://www.gnu.org/licenses/>. */ -#include <stdarg.h> -#include <stdbool.h> -#include <string.h> #include "console.h" +#include "protos.h" static int print_buf_pad(char *buf, int buflen, char *p, int width, int pad) { |