diff options
author | David 'Digit' Turner <digit@android.com> | 2010-09-22 14:19:28 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2010-09-22 14:19:28 +0200 |
commit | 4e024bb4f5c8aa8b07459f7fbd65c35122127fd1 (patch) | |
tree | ccd5835eef17757d3e1c069e391c415c0135023d /qemu-char-android.c | |
parent | 1d9873b37d2478554d9d678cd410bd3638c8dab3 (diff) | |
download | external_qemu-4e024bb4f5c8aa8b07459f7fbd65c35122127fd1.zip external_qemu-4e024bb4f5c8aa8b07459f7fbd65c35122127fd1.tar.gz external_qemu-4e024bb4f5c8aa8b07459f7fbd65c35122127fd1.tar.bz2 |
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
Diffstat (limited to 'qemu-char-android.c')
-rw-r--r-- | qemu-char-android.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qemu-char-android.c b/qemu-char-android.c index 7753bf9..4074ea6 100644 --- a/qemu-char-android.c +++ b/qemu-char-android.c @@ -546,7 +546,7 @@ int send_all(int fd, const void *buf, int len1) } } return len1 - len; -#endif +#endif } #else @@ -2023,6 +2023,7 @@ static void tcp_chr_process_IAC_bytes(CharDriverState *chr, *size = j; } +#if 0 static int tcp_get_msgfd(CharDriverState *chr) { TCPCharDriver *s = chr->opaque; @@ -2030,6 +2031,7 @@ static int tcp_get_msgfd(CharDriverState *chr) s->msgfd = -1; return fd; } +#endif #ifndef _WIN32 static void unix_process_msgfd(CharDriverState *chr, struct msghdr *msg) |