summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2024-01-20 16:52:31 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2024-01-20 17:28:53 -0800
commitb6ed79b71ccb3df8df05531d473ff9510cf9a39f (patch)
treecea1f448b8e163fc0972b09774f075f9c2277372 /src/buffer.h
parent0a47a5a4bef0a33c012302346685ecab861cc306 (diff)
downloademacs-b6ed79b71ccb3df8df05531d473ff9510cf9a39f.tar.gz
Be more systematic about parens in C source code
Be more systematic about putting space before paren in calls, and in avoiding unnecessary parentheses in macros. This was partly inspired by my wading through gcc -E output while debugging something else, and seeing too many parens. This patch does not change the generated .o files on my platform.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 80edfdcbc22..9e0982f5da7 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -216,7 +216,7 @@ extern ptrdiff_t advance_to_char_boundary (ptrdiff_t byte_pos);
/* Return the byte at byte position N.
Do not check that the position is in range. */
-#define FETCH_BYTE(n) *(BYTE_POS_ADDR ((n)))
+#define FETCH_BYTE(n) (*BYTE_POS_ADDR (n))
/* Define the actual buffer data structures. */