]> git.eshelyaron.com Git - emacs.git/commit
Fix GNUstep compilation warnings
authorPo Lu <luangruo@yahoo.com>
Thu, 6 Jan 2022 06:10:52 +0000 (14:10 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 6 Jan 2022 06:10:52 +0000 (14:10 +0800)
commit3b1164de0ed126686977e8688f2e09268cb74e4d
tree5819ef24d85cac330b2f741c3b29296b6b2083e6
parente882dd48e3c3d6aa443383016c36f53683cd3048
Fix GNUstep compilation warnings

* src/Makefile.in (NON_OBJC_CFLAGS): Add `-Wnested-externs'.
* src/emacs.c (load_pdump): Only define exec_bufsize if
!NS_SELF_CONTAINED.
* src/image.c (ARGB_TO_ULONG): Don't define if HAVE_NS.
* src/nsterm.m (ns_destroy_window): Pacify incorrect GCC
warning.
(ns_query_color): Make static.
(ns_run_loop_break): Fix old-style definition.
([EmacsView toggleFullScreen:]): Remove unused variable.
src/Makefile.in
src/emacs.c
src/image.c
src/nsterm.m