Re: [PATCH 1/2] count: Use consistent coding style

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 06, 2018 at 09:31:04AM +0900, SeongJae Park wrote:
> One code snippet in `Counting` chapter has no space between 'if' keyword
> and its opening brace while other snippets have.  This commit fixes the
> snippet to use consistent coding style.
> 
> Signed-off-by: SeongJae Park <sj38.park@xxxxxxxxx>

Good eyes!  I queued and pushed both patches, thank you!

							Thanx, Paul

> ---
>  count/count.tex | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/count/count.tex b/count/count.tex
> index 752371f..cf79753 100644
> --- a/count/count.tex
> +++ b/count/count.tex
> @@ -1544,7 +1544,7 @@ references only per-thread variables, and should not incur any cache misses.
>  	\begin{minipage}[t]{\columnwidth}
>  	\small
>  	\begin{verbatim}
> -  3 if (counter + delta <= countermax){
> +  3 if (counter + delta <= countermax) {
>    4   counter += delta;
>    5   return 1;
>    6 }
> -- 
> 2.10.0
> 

--
To unsubscribe from this list: send the line "unsubscribe perfbook" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux