summaryrefslogtreecommitdiff
path: root/libiberty/choose-temp.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-15 15:55:04 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-15 15:55:04 +0000
commit4350e959599ebdedc2eb2ca196d2d6116feaa8cb (patch)
tree368cd8929f4b72dcda6983b75b0625fd2c6962c4 /libiberty/choose-temp.c
parent6528caf7bbf61edc3d848d9a8ff8c02b25116bbd (diff)
downloadgcc-4350e959599ebdedc2eb2ca196d2d6116feaa8cb.tar.gz
Warning fixes:
* choose-temp.c: Prototype mkstemps() when IN_GCC. * cplus-dem.c (consume_count): Cast argument of ctype macro to `unsigned char'. (cplus_demangle_opname): Cast the result of `strlen' to (int) when comparing against one. (cplus_mangle_opname): Likewise. (demangle_integral_value): Cast argument of ctype macro to `unsigned char'. (demangle_template_value_parm): Likewise. (demangle_template): Initialize variable `bindex'. Cast the result of `strlen' to (int) when comparing against one. Remove unused variable `start_of_value_parm'. (demangle_class_name): Cast the result of `strlen' to (int) when comparing against one. (demangle_prefix): Cast argument of ctype macro to `unsigned char'. (gnu_special): Likewise. Cast the result of `strlen' to (int) when comparing against one. (demangle_qualified): Cast argument of ctype macro to `unsigned char'. (get_count): Likewise. (do_type): Likewise. Cast the result of `strlen' to (int) when comparing against one. (demangle_fund_type): Cast argument of ctype macro to `unsigned char'. (demangle_function_name): Cast the result of `strlen' to (int) when comparing against one. * mkstemp.c (mkstemps): Cast variable `len' to (int) when comparing against one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23113 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/choose-temp.c')
-rw-r--r--libiberty/choose-temp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libiberty/choose-temp.c b/libiberty/choose-temp.c
index 46293367613..6f62f8efe83 100644
--- a/libiberty/choose-temp.c
+++ b/libiberty/choose-temp.c
@@ -53,6 +53,7 @@ Boston, MA 02111-1307, USA. */
#ifdef IN_GCC
#include "gansidecl.h"
extern char *xmalloc ();
+extern int mkstemps ();
#else
#include "ansidecl.h"
#include "libiberty.h"