[PATCH RESEND 1/2] fix coding style in log.h

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

 



tgt/scripts/checkpatch.pl reports:
 ERROR: "foo * bar" should be "foo *bar"
 #53: FILE: usr/log.h:65:
 +extern int log_init (char * progname, int size, int daemon, int debug);

 WARNING: space prohibited between function name and open parenthesis '('
 #53: FILE: usr/log.h:65:
 +extern int log_init (char * progname, int size, int daemon, int debug);

Fix coding style for 3 functions.

Signed-off-by: zhenwei pi <pizhenwei@xxxxxxxxxxxxx>
---
 usr/log.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/usr/log.h b/usr/log.h
index 3ec6307..5f8d7bd 100644
--- a/usr/log.h
+++ b/usr/log.h
@@ -62,9 +62,9 @@ struct logarea {
 	union semun semarg;
 };
 
-extern int log_init (char * progname, int size, int daemon, int debug);
-extern void log_close (void);
-extern void dump_logmsg (void *);
+extern int log_init(char *progname, int size, int daemon, int debug);
+extern void log_close(void);
+extern void dump_logmsg(void *);
 extern void log_warning(const char *fmt, ...)
 	__attribute__ ((format (printf, 1, 2)));
 extern void log_error(const char *fmt, ...)
-- 
2.11.0




[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux