diff options
author | James Booth <boothj5@gmail.com> | 2012-07-24 23:19:48 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-07-24 23:19:48 +0100 |
commit | 279737badaebedccd9ce4f5e0c8baf166a346055 (patch) | |
tree | 5fdcbb41578ecabcba564a9a8fc015feb268a686 /src/log.c | |
parent | 6bbad269db9fbce40676966c745506f6c3a72d7d (diff) | |
download | profani-tty-279737badaebedccd9ce4f5e0c8baf166a346055.tar.gz |
Function signatures across lines
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/log.c b/src/log.c index 6462ca8b..0e48a123 100644 --- a/src/log.c +++ b/src/log.c @@ -30,12 +30,14 @@ extern FILE *logp; -void log_msg(const char * const area, const char * const msg) +void +log_msg(const char * const area, const char * const msg) { fprintf(logp, "%s DEBUG: %s\n", area, msg); } -void log_init(void) +void +log_init(void) { GString *log_file = g_string_new(getenv("HOME")); g_string_append(log_file, "/.profanity/log"); @@ -46,7 +48,8 @@ void log_init(void) log_msg(PROF, "Starting Profanity..."); } -void log_close(void) +void +log_close(void) { fclose(logp); } |