strerror_r: avoid compiler warning
authorEric Blake <eblake@redhat.com>
Thu, 29 Mar 2012 23:02:43 +0000 (17:02 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 29 Mar 2012 23:04:51 +0000 (17:04 -0600)
commitff2219ecb13f22326c5b985fd981cb50e23cdb14
tree8704c069081a0ab8f1fd7663d0dcf2b5a907849e
parentdee31b615239639303d46ded10c61bfec9e92d48
strerror_r: avoid compiler warning

Nested declarations are easy to avoid, and doing so avoids at least
libvirt's choice of compiler warnings.

* lib/strerror_r.c (strerror_r): Hoist extern declaration to top
level.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/strerror_r.c