changeset 561:1bca65b6262f

Remove more unused symbols.
author Rob Landley <rob@landley.net>
date Mon, 10 Mar 2008 23:05:10 -0500
parents 0bbaf23acb77
children 93219f707552
files tcc.c
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/tcc.c	Sat Mar 08 12:07:14 2008 -0600
+++ b/tcc.c	Mon Mar 10 23:05:10 2008 -0500
@@ -96,9 +96,6 @@
 static int do_debug = 0;
 
 /* display benchmark infos */
-#if !defined(LIBTCC)
-static int do_bench = 0;
-#endif
 static int total_lines;
 static int total_bytes;
 
@@ -108,9 +105,6 @@
 /* use Tiny C extensions */
 static int tcc_ext = 1;
 
-/* max number of callers shown if error */
-static char **rt_bound_error_msg;
-
 /* XXX: get rid of this ASAP */
 static struct TCCState *tcc_state;
 
@@ -8738,10 +8732,6 @@
     if (do_bounds_check) {
         void (*bound_init)(void);
 
-        /* set error function */
-        rt_bound_error_msg = (void *)tcc_get_symbol_err(s1, 
-                                                        "__bound_error_msg");
-
         /* XXX: use .init section so that it also work in binary ? */
         bound_init = (void *)tcc_get_symbol_err(s1, "__bound_init");
         bound_init();