[Sheepdog] [PATCH 6/6] replace foo (bar, baz) with foo(bar, baz) in a couple of places
Chris Webb
chris at arachsys.com
Fri Nov 4 18:08:36 CET 2011
Signed-off-by: Chris Webb <chris at arachsys.com>
---
include/logger.h | 4 ++--
lib/logger.c | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/logger.h b/include/logger.h
index 461f2d9..bcc9c26 100644
--- a/include/logger.h
+++ b/include/logger.h
@@ -47,8 +47,8 @@ struct logarea {
};
extern int log_init(char * progname, int size, int daemon, int level, char *outfile);
-extern void log_close (void);
-extern void dump_logmsg (void *);
+extern void log_close(void);
+extern void dump_logmsg(void *);
extern void log_write(int prio, const char *func, int line, const char *fmt, ...)
__attribute__ ((format (printf, 4, 5)));
diff --git a/lib/logger.c b/lib/logger.c
index 99c68ee..cd02892 100644
--- a/lib/logger.c
+++ b/lib/logger.c
@@ -50,7 +50,7 @@ static int log_level = SDOG_INFO;
static pid_t pid;
static key_t semkey;
-static int logarea_init (int size)
+static int logarea_init(int size)
{
int shmid;
@@ -132,7 +132,7 @@ static int logarea_init (int size)
return 0;
}
-static void free_logarea (void)
+static void free_logarea(void)
{
if (la->fd >= 0)
close(la->fd);
@@ -143,7 +143,7 @@ static void free_logarea (void)
}
#if LOGDBG
-static void dump_logarea (void)
+static void dump_logarea(void)
{
struct logmsg * msg;
@@ -268,7 +268,7 @@ static int log_dequeue(void *buff)
/*
* this one can block under memory pressure
*/
-static void log_syslog (void * buff)
+static void log_syslog(void * buff)
{
struct logmsg * msg = (struct logmsg *)buff;
--
1.7.5.4
More information about the sheepdog
mailing list