aboutsummaryrefslogtreecommitdiffstats
path: root/apps/speed.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-11-02 22:13:43 +0000
committerNils Larsch <nils@openssl.org>2005-11-02 22:13:43 +0000
commitd86b0f1f5f65ce22e7ed48261270827b63a7ab21 (patch)
treee8a291267004387f5757861e00d9aa7d3270c792 /apps/speed.c
parent998ac55e19feb9ac08c81654bcd1ddf228bf0e34 (diff)
downloadopenssl-d86b0f1f5f65ce22e7ed48261270827b63a7ab21.tar.gz
compile sstrsep only if HAVE_FORK is defined; patch supplied by Johan Gill <johane@lysator.liu.se>
Diffstat (limited to 'apps/speed.c')
-rw-r--r--apps/speed.c2
1 files changed, 1 insertions, 1 deletions
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;