X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=daemon.c;h=7f71017540455d716574ce831cf6b02773b5e71a;hp=0bf2f0ac9e81d72dff8623d7ebc54014007c40e4;hb=8f3b85e2d1bd2b65153014a9c017b12efb28c5a1;hpb=3b447b02e2d74d596ecf6f5f764bf847653d407c diff --git a/daemon.c b/daemon.c index 0bf2f0ac..7f710175 100644 --- a/daemon.c +++ b/daemon.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2011 Andre Noll + * Copyright (C) 1997-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -11,7 +11,6 @@ #include /* getgrnam() */ #include #include -#include #include #include "para.h" @@ -66,8 +65,6 @@ void daemon_set_default_log_colors(void) * \param arg The loglevel/color specifier. * * \a arg must be of the form "ll:[fg [bg]] [attr]". - * - * \return 1 On success, -1 on errors. */ void daemon_set_log_color_or_die(char const *arg) { @@ -357,7 +354,7 @@ __malloc char *get_server_uptime_str(const struct timeval *current_time) * \param ll The log level. * \param fmt The format string describing the log message. */ -__printf_2_3 void para_log(int ll, const char* fmt,...) +__printf_2_3 void daemon_log(int ll, const char* fmt,...) { va_list argp; FILE *fp;