From: H. Peter Anvin Date: Sun, 10 Jan 2010 21:05:26 +0000 (-0800) Subject: com32/lib: fix external prototype for __vesacon_open() X-Git-Tag: syslinux-3.85-pre2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e15e3124743844b8e905b122b8c8c9e864bb2f66;p=profile%2Fivi%2Fsyslinux.git 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 --- diff --git a/com32/lib/sys/vesaserial_write.c b/com32/lib/sys/vesaserial_write.c index 47527c3..775ca19 100644 --- a/com32/lib/sys/vesaserial_write.c +++ b/com32/lib/sys/vesaserial_write.c @@ -38,7 +38,7 @@ #include #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);