diff options
| author | Philipp Stephani | 2019-05-05 01:56:15 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2019-05-05 01:56:15 +0200 |
| commit | b5aeb86a7ef4c5cbfbbd95e72568b4b5e48e9bae (patch) | |
| tree | bcd80bee9ba416dcb3750bf9e43de2df00e3ac16 /src/data.c | |
| parent | a976602066211f8820c0a2976afe81cad691a2c9 (diff) | |
| download | emacs-b5aeb86a7ef4c5cbfbbd95e72568b4b5e48e9bae.tar.gz emacs-b5aeb86a7ef4c5cbfbbd95e72568b4b5e48e9bae.zip | |
Avoid suppressing -Wcast-function-type warning.
GCC special-cases the type ‘void (*)(void)’ to not emit warnings when
cast, see
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcast-function-type.
Make use of this to remove a warning suppression.
* src/dynlib.h: Use void (*)(void) as generic function pointer type.
* src/emacs-module.c: Remove warning suppression.
Diffstat (limited to 'src/data.c')
0 files changed, 0 insertions, 0 deletions