summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/checkdoc.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-11-23 18:48:42 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-11-23 19:01:51 -0800
commitda8c7ca2647d2e111a415f59c6b59053a19bdb61 (patch)
tree04dd13e37031bbee8b6ff6c0365db28b846c5a5c /lisp/emacs-lisp/checkdoc.el
parentceaca7bec6adf5735d51c1ca7efea5a2e05f470e (diff)
downloademacs-da8c7ca2647d2e111a415f59c6b59053a19bdb61.tar.gz
emacs-da8c7ca2647d2e111a415f59c6b59053a19bdb61.tar.bz2
emacs-da8c7ca2647d2e111a415f59c6b59053a19bdb61.zip
Port better to FreeBSD’s dlfunc vs dlsym
This avoids warnings when converting between void * and function pointers, which strict C11 does not allow. * configure.ac (dlfunc): Check for existence. * src/dynlib.c (dlfunc) [!HAVE_DLFUNC]: New macro. (dynlib_func): New function. * src/dynlib.h (dynlib_function_ptr, dynlib_func): New decls. * src/emacs-module.c (Fmodule_load): Use dynlib_func, not dynlib_sym, for function pointers.
Diffstat (limited to 'lisp/emacs-lisp/checkdoc.el')
0 files changed, 0 insertions, 0 deletions