From: Martin Mares Date: Thu, 22 Jan 2004 11:21:36 +0000 (+0000) Subject: Use int instead of pid_t. At the first glance, this looks like a step backward, X-Git-Tag: holmes-import~1130 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=f0af1e57a8e73e6fd11de092f44ed157c190f010;p=libucw.git Use int instead of pid_t. At the first glance, this looks like a step backward, but since we use the variable for printing with a "%d" format-string anyway and there is no way how to get the right format string for pid_t, it's better this way. --- diff --git a/lib/log.c b/lib/log.c index 15938366..2f6e9fd5 100644 --- a/lib/log.c +++ b/lib/log.c @@ -20,7 +20,7 @@ static char log_progname[32], *log_name_patt, *log_name; char *log_title; -static pid_t log_pid; +static int log_pid; static int log_params; static int log_name_size; static int log_switching;