aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-01-10 13:05:26 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-01-10 13:05:26 -0800
commite15e3124743844b8e905b122b8c8c9e864bb2f66 (patch)
tree08d04e996df75d690d562d3ea45db40e84b367c0 /com32
parent393a9402b36c9b1ef866a7230e0e4e46781a1a09 (diff)
downloadsyslinux.git-e15e3124743844b8e905b122b8c8c9e864bb2f66.tar.gz
syslinux.git-e15e3124743844b8e905b122b8c8c9e864bb2f66.tar.xz
syslinux.git-e15e3124743844b8e905b122b8c8c9e864bb2f66.zip
com32/lib: fix external prototype for __vesacon_open()
The external prototype for __vesacon_open() was incorrect; this is a good example of why external prototypes are bad, incidentally. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32')
-rw-r--r--com32/lib/sys/vesaserial_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/sys/vesaserial_write.c b/com32/lib/sys/vesaserial_write.c
index 47527c3a..775ca19e 100644
--- a/com32/lib/sys/vesaserial_write.c
+++ b/com32/lib/sys/vesaserial_write.c
@@ -38,7 +38,7 @@
#include <console.h>
#include "file.h"
-extern int __vesacon_open(void);
+extern int __vesacon_open(struct file_info *);
extern int __vesacon_close(struct file_info *);
extern ssize_t __vesacon_write(struct file_info *, const void *, size_t);
extern ssize_t __xserial_write(struct file_info *, const void *, size_t);