From 4e024bb4f5c8aa8b07459f7fbd65c35122127fd1 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Wed, 22 Sep 2010 14:19:28 +0200 Subject: Remove compiler warnings when building the emulator. This forces -Wall during the build. Note that this patch doesn't remove all warnings, but most of the remaining ones are from upstream anyway. Change-Id: I8808d8495e99866e156ce5780d2e3c305eab491f --- osdep.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'osdep.h') diff --git a/osdep.h b/osdep.h index 1cdc7e2..b7e8d51 100644 --- a/osdep.h +++ b/osdep.h @@ -96,6 +96,8 @@ int qemu_create_pidfile(const char *filename); int ffs(int i); int setenv(const char *name, const char *value, int overwrite); +int asprintf(char **sptr, char *fmt, ...); +int vasprintf(char **sptr, char *fmt, va_list args); typedef struct { long tv_sec; -- cgit v1.1