[syslinux:pathbased] core: remove console.c

syslinux-bot for H. Peter Anvin hpa at linux.intel.com
Mon May 10 12:54:02 PDT 2010


Commit-ID:  6e6e1f8ee2ee91415f18892f0228b600622ff8aa
Gitweb:     http://syslinux.zytor.com/commit/6e6e1f8ee2ee91415f18892f0228b600622ff8aa
Author:     H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Mon, 10 May 2010 12:53:35 -0700
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Mon, 10 May 2010 12:53:35 -0700

core: remove console.c

It turns out the rest of console.c is also completely unused. D'oh!

Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>


---
 core/console.c |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/core/console.c b/core/console.c
deleted file mode 100644
index 282c57f..0000000
--- a/core/console.c
+++ /dev/null
@@ -1,22 +0,0 @@
-#include <stddef.h>
-#include <com32.h>
-#include <stdio.h>
-#include <string.h>
-
-void myputchar(int c)
-{
-    static com32sys_t ireg;
-
-    if (c == '\n')
-	myputchar('\r');
-
-    ireg.eax.b[1] = 0x02;
-    ireg.edx.b[0] = c;
-    __intcall(0x21, &ireg, NULL);
-}
-
-void myputs(const char *str)
-{
-    while (*str)
-	myputchar(*str++);
-}



More information about the Syslinux-commits mailing list