aboutsummaryrefslogtreecommitdiff
path: root/gcc/collect2.h
diff options
context:
space:
mode:
authorJon Grant <04@jguk.org>2010-04-29 17:42:54 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2010-04-29 17:42:54 +0000
commit7c6d86cc0701c963b5cc8fd6cac8cd1f1be3992c (patch)
treec94b2a869151dcadbd829d86a475c5322044156d /gcc/collect2.h
parent55040b34cd2888f14e0ae0566d6d193572284341 (diff)
downloadgcc-7c6d86cc0701c963b5cc8fd6cac8cd1f1be3992c.zip
gcc-7c6d86cc0701c963b5cc8fd6cac8cd1f1be3992c.tar.gz
gcc-7c6d86cc0701c963b5cc8fd6cac8cd1f1be3992c.tar.bz2
collect2.c (vflag): Change type from int to bool.
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. From-SVN: r158908
Diffstat (limited to 'gcc/collect2.h')
-rw-r--r--gcc/collect2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/collect2.h b/gcc/collect2.h
index d9ffff1..e20cc43 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;