fpending: fix regression on DragonFly BSD
authorEric Blake <eblake@redhat.com>
Fri, 8 Nov 2013 13:33:43 +0000 (06:33 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 8 Nov 2013 13:48:55 +0000 (06:48 -0700)
commit6fea8a94379432b41d19aa2e9701de0af4db244d
treeda24ce5882abe4836434c3d2f7c82497b0ae3f8a
parent9f4d76b6042f8ed87009331f2ca0a5b7492027d5
fpending: fix regression on DragonFly BSD

Commit 3f5bf99e claimed that it is safe to declare __fpending twice,
but in reality this caused a regression on Dragonfly BSD.  Reported by
GW in <https://lists.gnu.org/archive/html/bug-m4/2013-11/msg00000.html>,
<https://lists.gnu.org/archive/html/bug-gnulib/2013-11/msg00022.html>.

* m4/fpending.m4 (gl_FUNC_FPENDING): Check for declaration.
* lib/fpending.h (__fpending): Don't declare twice.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/fpending.h
m4/fpending.m4