From d796e6acb7de9b40e5458d934267fe4cd1662c51 Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Wed, 2 Nov 2005 22:13:23 +0000 Subject: [PATCH] compile sstrsep only if HAVE_FORK is defined; patch supplied by Johan Gill --- apps/speed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/speed.c b/apps/speed.c index 474f20c5a4..7082c37ccc 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -2522,6 +2522,7 @@ static void print_result(int alg,int run_no,int count,double time_used) results[alg][run_no]=((double)count)/time_used*lengths[run_no]; } +#ifdef HAVE_FORK static char *sstrsep(char **string, const char *delim) { char isdelim[256]; @@ -2553,7 +2554,6 @@ static char *sstrsep(char **string, const char *delim) return token; } -#ifdef HAVE_FORK static int do_multi(int multi) { int n; -- 2.25.1