Omit some parens
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jan 2024 00:52:31 +0000 (16:52 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jan 2024 01:28:53 +0000 (17:28 -0800)
* 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.

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))