Rename strtoi() to strtoint().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0ab3595e5bb53a8fc2cd231320b1af1ae3ed68e0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-04-23T20:53:15Z
Releases: 9.6.0
Rename strtoi() to strtoint().

NetBSD has seen fit to invent a libc function named strtoi(), which
conflicts with the long-established static functions of the same name in
datetime.c and ecpg's interval.c.  While muttering darkly about intrusions
on application namespace, we'll rename our functions to avoid the conflict.

Back-patch to all supported branches, since this would affect attempts
to build any of them on recent NetBSD.

Thomas Munro

Files