From: lon Date: Thu, 5 Oct 2000 19:14:27 +0000 (+0000) Subject: Minor changes - removed param to log_init() since char *name_p is functionally X-Git-Tag: nfs-utils-0-3~28 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=7a12819743f2e7b25c6ec9b3e4cb229496efd676;p=nfs-utils.git Minor changes - removed param to log_init() since char *name_p is functionally equivalent. (See statd.c) --- diff --git a/utils/statd/log.h b/utils/statd/log.h index f00bb63..723e6e3 100644 --- a/utils/statd/log.h +++ b/utils/statd/log.h @@ -1,6 +1,7 @@ /* * Copyright (C) 1995 Olaf Kirch * Modified by Jeffrey A. Uphoff, 1996, 1997, 1999. + * Modified by Lon Hohberger, Oct. 2000 * * NSM for Linux. */ @@ -15,7 +16,7 @@ #include -void log_init(char *name); +void log_init(); void log_background(void); void log_enable(int facility); int log_enabled(int facility); @@ -35,7 +36,7 @@ void die(char *fmt, ...); #ifdef DEBUG #define dprintf log #else -#define dprintf if (0) log +#define dprintf if (run_mode & MODE_LOG_STDERR) log #endif #endif /* _LOCKD_LOG_H_ */