This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH RFA: Don't declare progname in cpplib.h


The file cpplib.h declares progname but nothing in libcpp refers to that
variable.  Bootstrapped on x86_64-unknown-linux-gnu.  OK for mainline?

Ian


2009-06-17  Ian Lance Taylor  <iant@google.com>

	* include/cpplib.h (progname): Don't declare.


Index: include/cpplib.h
===================================================================
--- include/cpplib.h	(revision 148620)
+++ include/cpplib.h	(working copy)
@@ -546,9 +546,6 @@ struct cpp_dir
   dev_t dev;
 };
 
-/* Name under which this program was invoked.  */
-extern const char *progname;
-
 /* The structure of a node in the hash table.  The hash table has
    entries for all identifiers: either macros defined by #define
    commands (type NT_MACRO), assertions created with #assert

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]