safe-strto.c: Add safe_strtol and generalize the library name
authorW. Trevor King <wking@tremily.us>
Wed, 23 Jan 2013 19:59:03 +0000 (14:59 -0500)
committerW. Trevor King <wking@tremily.us>
Mon, 11 Feb 2013 16:39:03 +0000 (11:39 -0500)
commit2a86b4f845e043f8193ef0589ea23d5c4a386936
treea196d574a293927578a25271077ed2e9058c8b00
parent7093391f3ce217ee1d2af0054c147e758e1b2582
safe-strto.c: Add safe_strtol and generalize the library name

Also fix masking defines to match the library name's pattern.
safe-strto.c [moved from safe-strtod.c with 68% similarity]
safe-strto.h [moved from safe-strtod.h with 80% similarity]