]> Savannah Git Hosting - gnulib.git/commit
exclude: port to strict C99
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Apr 2014 05:29:55 +0000 (22:29 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Apr 2014 05:30:25 +0000 (22:30 -0700)
commit3085daefc2ae3bbeb013f689c11d00b8cb6d837c
tree608f56b0ee13fc86d8599ca0440757f42b983aeb
parente1d49ddae46cb80e565f61ba51027b45ddea7b9a
exclude: port to strict C99

Strict C does not allow converting a function pointer to void *
and vice versa.  Pass a pointer to a function pointer instead.
* lib/exclude.c (add_exclude_file):
Pass the address of the function pointer.
(call_addfn): And deference the address here, to match.
ChangeLog
lib/exclude.c