tools: Portability fix for gpgparsemail.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 11 Apr 2017 02:23:05 +0000 (11:23 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 11 Apr 2017 02:23:05 +0000 (11:23 +0900)
commita1446163d584cdc3003c7d5b5fc6d74737c1732d
tree6810439b74fbbf7b78872b1d60b8d4f6058aa206
parent1b6adab41d386b587f65e5c6f14a63859ac1226b
tools: Portability fix for gpgparsemail.

* tools/rfc822parse.c (my_stpcpy): Rename from stpcpy.

--

When HAVE_STPCPY is not defined (no definition in libc), still,
compiler may have definition as a built-in function (for some specific
case like second argument is constant).  In that case, having stpcpy
implementation with the same name but different signature ("static"
qualifier) is not good.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
tools/rfc822parse.c