]> git.eshelyaron.com Git - emacs.git/commit
Pacify --enable-gcc-warnings with emacs_fdopen
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 7 Aug 2023 16:17:56 +0000 (09:17 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 7 Aug 2023 16:19:42 +0000 (09:19 -0700)
commit7cd8236d35c033fefb7be742e6c3290c63eaf609
tree5989ccab3fb38f6bc46ac55eaf75fc03dcd39269
parenta95253f5cc1105619f6f93585dd41288f93384e4
Pacify --enable-gcc-warnings with emacs_fdopen

* src/lisp.h (emacs_fdopen): Now ATTRIBUTE_MALLOC
ATTRIBUTE_DEALLOC (emacs_fclose, 1), to pacify gcc
-Wsuggest-attribute=malloc on non-Android platforms.
src/lisp.h