]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Rename strtoi() to strtoint().
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 23 Apr 2016 20:53:15 +0000 (16:53 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 23 Apr 2016 20:53:15 +0000 (16:53 -0400)
commitbdf7744f7375128be4eae6a72a9c9e3c65043558
tree329ff77f97f3748eba8d2c5ab374f72632e1a9f0
parent3debaa603ffbc3927e263ae3c7c23b0fcfbd8def
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
src/backend/utils/adt/datetime.c
src/interfaces/ecpg/pgtypeslib/interval.c