Skip to content
Snippets Groups Projects
  • Yury Gribov's avatar
    ea41822a
    Add strtoll and strtoull to libiberty. · ea41822a
    Yury Gribov authored
    2014-10-28  Yury Gribov  <y.gribov@samsung.com>
    
    include/
    	* libiberty.h (strtol, strtoul, strtoll, strtoull): New prototypes.
    
    libiberty/
    	* strtoll.c: New file.
    	* strtoull.c: New file.
    	* configure.ac: Add long long checks.  Add harness for strtoll and
    	strtoull.  Check decls for strtol, strtoul, strtoll, strtoull.
    	* Makefile.in (CFILES, CONFIGURED_OFILES): Add strtoll and strtoull.
    	* config.in: Regenerate.
    	* configure: Regenerate.
    	* functions.texi: Regenerate.
    	* testsuite/Makefile.in (check-strtol): New rule.
    	(test-strtol): Likewise.
    	(mostlyclean): Clean up strtol test.
    	* testsuite/test-strtol.c: New test.
    
    From-SVN: r216772
    ea41822a
    History
    Add strtoll and strtoull to libiberty.
    Yury Gribov authored
    2014-10-28  Yury Gribov  <y.gribov@samsung.com>
    
    include/
    	* libiberty.h (strtol, strtoul, strtoll, strtoull): New prototypes.
    
    libiberty/
    	* strtoll.c: New file.
    	* strtoull.c: New file.
    	* configure.ac: Add long long checks.  Add harness for strtoll and
    	strtoull.  Check decls for strtol, strtoul, strtoll, strtoull.
    	* Makefile.in (CFILES, CONFIGURED_OFILES): Add strtoll and strtoull.
    	* config.in: Regenerate.
    	* configure: Regenerate.
    	* functions.texi: Regenerate.
    	* testsuite/Makefile.in (check-strtol): New rule.
    	(test-strtol): Likewise.
    	(mostlyclean): Clean up strtol test.
    	* testsuite/test-strtol.c: New test.
    
    From-SVN: r216772