From 849b241ffae8bfd4a5478c51068539f29d62ae53 Mon Sep 17 00:00:00 2001 From: Cary R Date: Mon, 30 Nov 2009 19:11:13 -0800 Subject: [PATCH] Remove unneeded definitions in drivers/globals.h There were a bunch of unneeded definitions in drivers/globals.h. All of these were only used in main.c so do not need to be in a header file. --- driver/globals.h | 36 +----------------------------------- 1 file changed, 1 insertion(+), 35 deletions(-) diff --git a/driver/globals.h b/driver/globals.h index e78f00e83..e00dff305 100644 --- a/driver/globals.h +++ b/driver/globals.h @@ -1,7 +1,7 @@ #ifndef __globals_H #define __globals_H /* - * Copyright (c) 2000 Stephen Williams (steve@icarus.com) + * Copyright (c) 2000-2009 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU @@ -21,31 +21,6 @@ # include - /* This is the base (i.e. -B) of the Icarus Verilog files. */ -extern const char*base; - - /* This is the path to the iconfig file sent to ivl. */ -extern char* iconfig_path; -extern char* iconfig_common_path; - - /* This is the optional -M value, if one was supplied. */ -extern const char*depfile; - - /* This is the optional -N value, if one was supplied. */ -extern const char*npath; - - /* This is the name of the output file that the user selected. */ -extern const char*opath; - - /* This pointer is set if there were -s parameters. */ -extern char*start; - - /* This flag is true if the -S flag was used on the command line. */ -extern int synth_flag; - - /* This is the name of the selected target. */ -extern const char*targ; - /* This is the integer-width argument that will be passed to ivl. */ extern unsigned integer_width; @@ -68,14 +43,5 @@ extern void process_define(const char*name); /* Add a new parameter definition */ extern void process_parameter(const char*name); - - /* -v */ -extern int verbose_flag; - -extern char warning_flags[]; - - /* -y and -Y flags from the command line. */ -extern char* library_flags; -extern char* library_flags2; #endif