X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=daemon.h;h=025b6a5e9ef7b52225af1205bedc0a2b4f4c0400;hb=2225ff7444175650a0613c8d2f19aebbd2007061;hp=fd435577e6258aa24fe2fe1edc9bde2ce50c7d5f;hpb=612be8a0856eb3c58fef8784f77c7f999d4c9e08;p=paraslash.git diff --git a/daemon.h b/daemon.h index fd435577..025b6a5e 100644 --- a/daemon.h +++ b/daemon.h @@ -6,8 +6,7 @@ void daemon_open_log_or_die(void); void daemon_close_log(void); void log_welcome(const char *whoami); void drop_privileges_or_die(const char *username, const char *groupname); -/** used for server_uptime() */ -void set_server_start_time(const struct timeval *startuptime); +void set_server_start_time(void); time_t get_server_uptime(const struct timeval *current_time); __malloc char *get_server_uptime_str(const struct timeval *current_time); void daemon_set_logfile(char *logfile_name);