Browse Source

[console] Remove never-used putline() method

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>
tags/v1.20.1
Michael Brown 14 years ago
parent
commit
c5d760c987
1 changed files with 4 additions and 15 deletions
  1. 4
    15
      src/include/console.h

+ 4
- 15
src/include/console.h View File

32
 struct console_driver {
32
 struct console_driver {
33
 	/** Console is disabled.
33
 	/** Console is disabled.
34
 	 *
34
 	 *
35
-	 * The console's putchar(), putline(), getchar() and iskey()
36
-	 * methods will not be called while #disabled==1. Typically
37
-	 * the console's initialisation functions will set #disabled=0
38
-	 * upon completion.
35
+	 * The console's putchar(), getchar() and iskey() methods will
36
+	 * not be called while #disabled==1.  Typically the console's
37
+	 * initialisation functions will set #disabled=0 upon
38
+	 * completion.
39
 	 *
39
 	 *
40
 	 */
40
 	 */
41
 	int disabled;
41
 	int disabled;
49
 	 */
49
 	 */
50
 	void ( *putchar ) ( int character );
50
 	void ( *putchar ) ( int character );
51
 
51
 
52
-	/** Write an entire line to the console.
53
-	 * This is intended to be used by line-oriented output media,
54
-	 * like system logging facilities or line printers.
55
-	 * Line output will not contain non-printable characters.
56
-	 *
57
-	 * @v linebuffer	Pointer to the \0-terminated line
58
-	 * @ret None		-
59
-	 * @err None		-
60
-	 */
61
-	void ( * putline ) ( unsigned char * linebuffer );
62
-
63
 	/** Read a character from the console.
52
 	/** Read a character from the console.
64
 	 *
53
 	 *
65
 	 * @v None		-
54
 	 * @v None		-

Loading…
Cancel
Save