aboutsummaryrefslogtreecommitdiff
path: root/libiberty/choose-temp.c
AgeCommit message (Collapse)AuthorFilesLines
1999-09-25libiberty.h (make_temp_file): Add a prototype.Kaveh R. Ghazi1-4/+1
include: * libiberty.h (make_temp_file): Add a prototype. libiberty: * choose-temp.c: Remove obsolete comment about gcc. (make_temp_file): Constify a char*. gcc: * collect2.c (make_temp_file): Don't prototype. * gcc.c (make_temp_file): Likewise. * mips.c (mips_make_temp_file): Renamed from `make_temp_file'. From-SVN: r29662
1999-07-14argv.c: Include stdlib.h and string.h instead of prototyping directly.Richard Henderson1-0/+3
* argv.c: Include stdlib.h and string.h instead of prototyping directly. * choose-temp.c: Conditionally include string.h. From-SVN: r28099
1999-04-24* choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.Mumit Khan1-1/+1
From-SVN: r26619
1998-12-22Warning fixes:Kaveh R. Ghazi1-0/+3
* argv.c (buildargv): Cast the result of alloca in assignment. * choose-temp.c: Include stdlib.h. * cplus-dem.c (demangle_arm_pt): Remove unused prototype. (snarf_numeric_literal): Constify first parameter. (code_for_qualifier): Avoid a gcc extension, make the parameter an int, not a char. (demangle_qualifier): Likewise. (demangle_signature): Cast the argument of a ctype function to unsigned char. (arm_pt): Add parens around assignment used as truth value. (demangle_arm_hp_template): Constify variable `args'. (do_hpacc_template_const_value): Cast the argument of a ctype function to unsigned char. (do_hpacc_template_literal): Remove unused variable `i'. (snarf_numeric_literal): Constify parameter `args'. Cast the argument of a ctype function to unsigned char. * floatformat.c (floatformat_to_double): Add explicit braces to avoid ambiguous `else'. * fnmatch.c (fnmatch): Change type of variables `c', `c1', `cstart' and `cend' to unsigned char. Cast the argument of macro `FOLD', which uses ctype functions, to unsigned char. * objalloc.c (free): Add prototype. From-SVN: r24392
1998-12-14choose-temp.c: Don't check IN_GCC anymore.Kaveh R. Ghazi1-17/+8
* choose-temp.c: Don't check IN_GCC anymore. * floatformat.c (floatformat_from_double): Use `const', not `CONST'. * memchr.c (memchr): Likewise. * memcpy.c (memcpy): Likewise. * memmove.c (memmove): Likewise. * mkstemp.c: Don't check IN_GCC anymore. * pexecute.c: Likewise. * splay-tree.c: Likewise. * strchr.c (strchr): Use `const', not `CONST'. * strrchr.c (strrchr): Likewise. * strtol.c (strtol): Likewise. * strtoul.c (strtoul): Likewise. From-SVN: r24307
1998-11-27choose-temp.c: Always include libiberty.h.Kaveh R. Ghazi1-3/+1
* choose-temp.c: Always include libiberty.h. Avoid redundancies. * cplus-dem.c: Likewise. Conform to libiberty.h. * pexecute.c: Likewise. * splay-tree.c: Likewise. From-SVN: r23935
1998-11-07choose-temp.c: Don't include gansidecl.h.Kaveh R. Ghazi1-1/+0
* choose-temp.c: Don't include gansidecl.h. * mkstemp.c: Likewise. * pexecute.c: Likewise. From-SVN: r23560
1998-10-15Warning fixes:Kaveh R. Ghazi1-0/+1
* 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. From-SVN: r23113
1998-09-05pexecute.c: Updates from gcc.Jeffrey A Law1-12/+66
* pexecute.c: Updates from gcc. Copy in gcc has been removed. This is the canonical copy. Define ISSPACE if !IN_GCC. * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c: Similarly. * Makefile.in: Build mkstemp.o From-SVN: r22252
1998-04-02Patched in the gcc directory:Kaveh R. Ghazi1-5/+11
* Makefile.in (choose-temp.o): Depend on system.h. Patched in both the libiberty and gcc directories: * choose-temp.c: Include system.h when IN_GCC. From-SVN: r18952
1998-02-25choose-temp.c: Fix handling of sys/file.h to work in libiberty.Ian Lance Taylor1-3/+8
Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian@cygnus.com> * choose-temp.c: Fix handling of sys/file.h to work in libiberty. From-SVN: r18240
1998-01-17* choose-temp.c: Sync with gcc.Jeffrey A Law1-9/+8
From-SVN: r17394
1997-08-21Initial revisionJason Merrill1-0/+147
From-SVN: r14877