diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-29 17:42:54 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-29 17:42:54 +0000 |
commit | 2bd5037b2a112ea00c21d6cb15b024491afb4812 (patch) | |
tree | c94b2a869151dcadbd829d86a475c5322044156d /gcc/collect2.h | |
parent | ccb7e201577eaad9ccab63b857efbbc48e570069 (diff) | |
download | gcc-2bd5037b2a112ea00c21d6cb15b024491afb4812.tar.gz |
2010-04-29 Jon Grant <04@jguk.org>
* collect2.c (vflag): Change type from int to bool.
(debug): Likewise.
(helpflag): New global bool.
(main): Set vflag and debug with boolean, not integer truth
values. Accept new "--help" option and output usage text if
found.
* collect2.h (vflag): Update prototype.
(debug): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158908 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/collect2.h')
-rw-r--r-- | gcc/collect2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/collect2.h b/gcc/collect2.h index d9ffff1e3a8..e20cc43017a 100644 --- a/gcc/collect2.h +++ b/gcc/collect2.h @@ -39,7 +39,7 @@ extern const char *lderrout; extern const char *c_file_name; extern struct obstack temporary_obstack; extern char *temporary_firstobj; -extern int vflag, debug; +extern bool vflag, debug; extern void error (const char *, ...) ATTRIBUTE_PRINTF_1; extern void notice_translated (const char *, ...) ATTRIBUTE_PRINTF_1; |