summaryrefslogtreecommitdiffstats
path: root/console.c
diff options
context:
space:
mode:
authorpbrook2007-11-18 02:44:38 +0100
committerpbrook2007-11-18 02:44:38 +0100
commit9596ebb7012a19a45ca036a200acd617a93a321b (patch)
treedf011db5945e48dc0c86c04daf2c2072f43f2867 /console.c
parentImprove PowerPC instructions set dump. (diff)
downloadqemu-9596ebb7012a19a45ca036a200acd617a93a321b.tar.gz
qemu-9596ebb7012a19a45ca036a200acd617a93a321b.tar.xz
qemu-9596ebb7012a19a45ca036a200acd617a93a321b.zip
Add statics and missing #includes for prototypes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'console.c')
-rw-r--r--console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/console.c b/console.c
index 9778845b7d..e7c00eccb3 100644
--- a/console.c
+++ b/console.c
@@ -61,7 +61,7 @@ typedef struct QEMUFIFO {
int count, wptr, rptr;
} QEMUFIFO;
-int qemu_fifo_write(QEMUFIFO *f, const uint8_t *buf, int len1)
+static int qemu_fifo_write(QEMUFIFO *f, const uint8_t *buf, int len1)
{
int l, len;
@@ -84,7 +84,7 @@ int qemu_fifo_write(QEMUFIFO *f, const uint8_t *buf, int len1)
return len1;
}
-int qemu_fifo_read(QEMUFIFO *f, uint8_t *buf, int len1)
+static int qemu_fifo_read(QEMUFIFO *f, uint8_t *buf, int len1)
{
int l, len;