Skip to content
Snippets Groups Projects
  • David Malcolm's avatar
    e39423c0
    libiberty: Expose choose_tmpdir, and fix constness of return type · e39423c0
    David Malcolm authored
    include/ChangeLog:
    	* libiberty.h (choose_tmpdir): New prototype.
    
    libiberty/ChangeLog:
    	* choose-temp.c (choose_tmpdir): Remove now-redundant local
    	copy of prototype.
    	* functions.texi: Regenerate.
    	* make-temp-file.c (choose_tmpdir): Convert return type from
    	char * to const char * - given that this returns a pointer to
    	a memoized allocation, the caller must not touch it.
    
    From-SVN: r216285
    e39423c0
    History
    libiberty: Expose choose_tmpdir, and fix constness of return type
    David Malcolm authored
    include/ChangeLog:
    	* libiberty.h (choose_tmpdir): New prototype.
    
    libiberty/ChangeLog:
    	* choose-temp.c (choose_tmpdir): Remove now-redundant local
    	copy of prototype.
    	* functions.texi: Regenerate.
    	* make-temp-file.c (choose_tmpdir): Convert return type from
    	char * to const char * - given that this returns a pointer to
    	a memoized allocation, the caller must not touch it.
    
    From-SVN: r216285