Skip to content

Commit

Permalink
[console] Remove never-used putline() method
Browse files Browse the repository at this point in the history
putline() was introduced back in 2007 for a feature that was never
committed.  No console driver implements it and no code calls it, so
remove it from struct console_driver.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Jul 14, 2010
1 parent d15ce77 commit c5d760c
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions src/include/console.h
Expand Up @@ -32,10 +32,10 @@ FILE_LICENCE ( GPL2_OR_LATER );
struct console_driver {
/** Console is disabled.
*
* The console's putchar(), putline(), getchar() and iskey()
* methods will not be called while #disabled==1. Typically
* the console's initialisation functions will set #disabled=0
* upon completion.
* The console's putchar(), getchar() and iskey() methods will
* not be called while #disabled==1. Typically the console's
* initialisation functions will set #disabled=0 upon
* completion.
*
*/
int disabled;
Expand All @@ -49,17 +49,6 @@ struct console_driver {
*/
void ( *putchar ) ( int character );

/** Write an entire line to the console.
* This is intended to be used by line-oriented output media,
* like system logging facilities or line printers.
* Line output will not contain non-printable characters.
*
* @v linebuffer Pointer to the \0-terminated line
* @ret None -
* @err None -
*/
void ( * putline ) ( unsigned char * linebuffer );

/** Read a character from the console.
*
* @v None -
Expand Down

0 comments on commit c5d760c

Please sign in to comment.