From 91871af57d44f462c76b1891b5fe67a804b7e233 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 18 Jul 1995 23:18:26 +0000 Subject: (thread_timeout, server_timeout): New vars. (THREAD_TIMEOUT, SERVER_TIMEOUT): Delete macros. (master_thread_function): Use vars instead of macros. --- libdiskfs/init-first.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libdiskfs/init-first.c b/libdiskfs/init-first.c index fb8345bb..1bbd75ab 100644 --- a/libdiskfs/init-first.c +++ b/libdiskfs/init-first.c @@ -21,10 +21,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "priv.h" -#define THREAD_TIMEOUT 1000 * 60 * 2 /* two minutes */ -#define SERVER_TIMEOUT 1000 * 60 * 10 /* ten minutes */ +static int thread_timeout = 1000 * 60 * 2; /* two minutes */ +static int server_timeout = 1000 * 60 * 10; /* ten minutes */ + -static void master_thread_function (any_t foo __attribute__ ((unused))) { error_t err; @@ -33,8 +33,8 @@ master_thread_function (any_t foo __attribute__ ((unused))) { ports_manage_port_operations_multithread (diskfs_port_bucket, diskfs_demuxer, - THREAD_TIMEOUT, - SERVER_TIMEOUT, + thread_timeout, + server_timeout, 1, MACH_PORT_NULL); err = diskfs_shutdown (0); } -- cgit v1.2.3