[syslinux:pathbased] core: remove "Hello, World!" debugging message

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


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

core: remove "Hello, World!" debugging message

Remove "Hello, World!" debugging message -- no longer relevant.

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


---
 core/{hello.c => console.c} |    8 --------
 core/extern.inc             |    3 ---
 core/ui.inc                 |    3 ---
 3 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/core/hello.c b/core/console.c
similarity index 70%
rename from core/hello.c
rename to core/console.c
index a159111..282c57f 100644
--- a/core/hello.c
+++ b/core/console.c
@@ -3,7 +3,6 @@
 #include <stdio.h>
 #include <string.h>
 
-
 void myputchar(int c)
 {
     static com32sys_t ireg;
@@ -21,10 +20,3 @@ void myputs(const char *str)
     while (*str)
 	myputchar(*str++);
 }
-
-void hello(void)
-{
-    static char hello_str[] = "Hello, World!";
-
-    printf("%s from (%s)\n", hello_str, __FILE__);  /* testing */
-}
diff --git a/core/extern.inc b/core/extern.inc
index 301ac0b..6110db0 100644
--- a/core/extern.inc
+++ b/core/extern.inc
@@ -9,9 +9,6 @@
 	; rllpack.c
 	extern rllpack, rllunpack
 
-	; hello.c
-	extern hello
-
 	; fs.c
 	extern fs_init, pm_searchdir, getfssec, pm_mangle_name, load_config
         extern pm_open_file, pm_close_file
diff --git a/core/ui.inc b/core/ui.inc
index 00d2cfd..2d44447 100644
--- a/core/ui.inc
+++ b/core/ui.inc
@@ -45,9 +45,6 @@ no_config_file:
 
 .no_bootonce:
 
-		; *** TEST HACK ***
-		pm_call hello
-
 ;
 ; Check whether or not we are supposed to display the boot prompt.
 ;



More information about the Syslinux-commits mailing list