]> git.eshelyaron.com Git - emacs.git/commitdiff
Omit some parens
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jan 2024 00:52:31 +0000 (16:52 -0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 21 Jan 2024 07:31:09 +0000 (08:31 +0100)
* src/lisp.h (XBARE_SYMBOL, XSYMBOL): Omit parentheses that are no
longer needed now that we have symbols with positions and these
symbols are never macros.

(cherry picked from commit 0a47a5a4bef0a33c012302346685ecab861cc306)

src/lisp.h

index d9448f476e731c1eb182ad93e5d212722c20ac2d..e25d990e1e91dc22473af866937e10d01672694a 100644 (file)
@@ -1145,7 +1145,7 @@ XSYMBOL_WITH_POS (Lisp_Object a)
 }
 
 INLINE struct Lisp_Symbol * ATTRIBUTE_NO_SANITIZE_UNDEFINED
-(XBARE_SYMBOL) (Lisp_Object a)
+XBARE_SYMBOL (Lisp_Object a)
 {
   eassert (BARE_SYMBOL_P (a));
   intptr_t i = (intptr_t) XUNTAG (a, Lisp_Symbol, struct Lisp_Symbol);
@@ -1154,7 +1154,7 @@ INLINE struct Lisp_Symbol * ATTRIBUTE_NO_SANITIZE_UNDEFINED
 }
 
 INLINE struct Lisp_Symbol * ATTRIBUTE_NO_SANITIZE_UNDEFINED
-(XSYMBOL) (Lisp_Object a)
+XSYMBOL (Lisp_Object a)
 {
   eassert (SYMBOLP ((a)));
   if (!symbols_with_pos_enabled || BARE_SYMBOL_P (a))