[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Insert space before open-paren in C code fragments.
From: |
Thien-Thi Nguyen |
Subject: |
[PATCH] Insert space before open-paren in C code fragments. |
Date: |
Wed, 17 Feb 2010 03:06:50 +0100 |
Here is a suitable ChangeLog entry:
2010-02-17 Thien-Thi Nguyen <address@hidden> (tiny change)
Insert space before open-paren in C code fragments.
* doc/standards.texi
(Conditional Compilation): Say "if (...)", not "if( ...)".
(Semantics): Say "fd = open (...)", not "fd = open(...)".
diff --git a/doc/standards.texi b/doc/standards.texi
index cbf2f84..7960880 100644
*** a/doc/standards.texi
--- b/doc/standards.texi
***************
*** 509,515 ****
GCC developers many hours, or even days, per year.
In the case of function-like macros like @code{REVERSIBLE_CC_MODE} in
! GCC which cannot be simply used in @code{if( ...)} statements, there is
an easy workaround. Simply introduce another macro
@code{HAS_REVERSIBLE_CC_MODE} as in the following example:
--- 509,515 ----
GCC developers many hours, or even days, per year.
In the case of function-like macros like @code{REVERSIBLE_CC_MODE} in
! GCC which cannot be simply used in @code{if (...)} statements, there is
an easy workaround. Simply introduce another macro
@code{HAS_REVERSIBLE_CC_MODE} as in the following example:
***************
*** 690,696 ****
avoid this problem by creating temporary files in this manner:
@example
! fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0600);
@end example
@noindent
--- 690,696 ----
avoid this problem by creating temporary files in this manner:
@example
! fd = open (filename, O_WRONLY | O_CREAT | O_EXCL, 0600);
@end example
@noindent
- [PATCH] Insert space before open-paren in C code fragments.,
Thien-Thi Nguyen <=