com32/lib: fix external prototype for __vesacon_open()
authorH. Peter Anvin <hpa@zytor.com>
Sun, 10 Jan 2010 21:05:26 +0000 (13:05 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 10 Jan 2010 21:05:26 +0000 (13:05 -0800)
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>
com32/lib/sys/vesaserial_write.c

index 47527c3..775ca19 100644 (file)
@@ -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);