lkml.org 
[lkml]   [2010]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectCodingStyle Problem
Hi all,
I just read the CodingSyle at Documentation directory in linux-2.6.23 kernel source code.
But a problem happened to me like following.
Functions in linux-2.6.23/fs/fs-writeback.c are "static int" and function name are in different lines.(function name in following line)
I can't find the rule in CodingStyle. That We often program functions are "static int" and function name are in the same line.
When do we do the first or second way? What is different between them?

Any answer is okay.
Best regards.


\
 
 \ /
  Last update: 2010-12-11 06:39    [W:0.041 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site