[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0a47a5a4bef 2/6: Omit some parens
From: |
Paul Eggert |
Subject: |
master 0a47a5a4bef 2/6: Omit some parens |
Date: |
Sat, 20 Jan 2024 20:29:04 -0500 (EST) |
branch: master
commit 0a47a5a4bef0a33c012302346685ecab861cc306
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>
Omit some parens
* 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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lisp.h b/src/lisp.h
index d9448f476e7..e25d990e1e9 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -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))
- master updated (afc9cd1721c -> 416fad04c26), Paul Eggert, 2024/01/20
- master 973c1b8a183 1/6: Pacify gcc -Wsuggest-attribute=malloc, Paul Eggert, 2024/01/20
- master b6ed79b71cc 3/6: Be more systematic about parens in C source code, Paul Eggert, 2024/01/20
- master 0a47a5a4bef 2/6: Omit some parens,
Paul Eggert <=
- master cf26f573162 4/6: Simplify and tune XSYMBOL, Paul Eggert, 2024/01/20
- master bdcd662a21f 5/6: Speed up make_lisp_symbol when debugging, Paul Eggert, 2024/01/20
- master 416fad04c26 6/6: Omit -DHAVE_CONFIG_H, Paul Eggert, 2024/01/20