]> git.eshelyaron.com Git - emacs.git/commit
Eliminate some GCC warnings
authorMattias Engdegård <mattiase@acm.org>
Wed, 16 Jun 2021 16:05:41 +0000 (18:05 +0200)
committerMattias Engdegård <mattiase@acm.org>
Wed, 16 Jun 2021 16:05:41 +0000 (18:05 +0200)
commit7c22aa36cd622ba2a9176e319ce5fb2b06f87801
tree2e1e577375205d1175e509bb9910893b01f01a4b
parent1f4e919cb2fc81976346aacbef4126753c423724
Eliminate some GCC warnings

* src/doprnt.c (exprintf, evxprintf):
* src/lisp.h (exprintf, evxprintf): Don't use a pointer-to-const type
for the `nonheapbuf` argument: although it is never dereferenced, GCC
will warn when passing a pointer to uninitialised memory otherwise.
* src/fns.c (sort_vector_copy, realize_face, realize_gui_face)
(realize_tty_face): Use the same signatures in the prototypes as in
the actual function definitions.
src/doprnt.c
src/fns.c
src/lisp.h
src/xfaces.c