diff options
| author | Paul Eggert | 2024-01-20 16:52:31 -0800 |
|---|---|---|
| committer | Paul Eggert | 2024-01-20 17:28:53 -0800 |
| commit | b6ed79b71ccb3df8df05531d473ff9510cf9a39f (patch) | |
| tree | cea1f448b8e163fc0972b09774f075f9c2277372 /test/src | |
| parent | 0a47a5a4bef0a33c012302346685ecab861cc306 (diff) | |
| download | emacs-b6ed79b71ccb3df8df05531d473ff9510cf9a39f.tar.gz emacs-b6ed79b71ccb3df8df05531d473ff9510cf9a39f.zip | |
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 'test/src')
| -rw-r--r-- | test/src/emacs-module-resources/mod-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/emacs-module-resources/mod-test.c b/test/src/emacs-module-resources/mod-test.c index 06049364b1e..3aafae1b896 100644 --- a/test/src/emacs-module-resources/mod-test.c +++ b/test/src/emacs-module-resources/mod-test.c | |||
| @@ -33,9 +33,9 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 33 | #ifdef WINDOWSNT | 33 | #ifdef WINDOWSNT |
| 34 | /* Cannot include <process.h> because of the local header by the same | 34 | /* Cannot include <process.h> because of the local header by the same |
| 35 | name, sigh. */ | 35 | name, sigh. */ |
| 36 | uintptr_t _beginthread (void (__cdecl *)(void *), unsigned, void *); | 36 | uintptr_t _beginthread (void (__cdecl *) (void *), unsigned, void *); |
| 37 | # if !defined __x86_64__ | 37 | # if !defined __x86_64__ |
| 38 | # define ALIGN_STACK __attribute__((force_align_arg_pointer)) | 38 | # define ALIGN_STACK __attribute__ ((force_align_arg_pointer)) |
| 39 | # endif | 39 | # endif |
| 40 | # include <windows.h> /* for Sleep */ | 40 | # include <windows.h> /* for Sleep */ |
| 41 | #else /* !WINDOWSNT */ | 41 | #else /* !WINDOWSNT */ |