summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/rand.c
diff options
context:
space:
mode:
authorbcook <>2014-10-13 02:46:14 +0000
committerbcook <>2014-10-13 02:46:14 +0000
commit0dcf90d37015e94e560e71431735595427be713b (patch)
treefe844d1b23ff3110f712568be274c93e35fe07c6 /src/usr.bin/openssl/rand.c
parent7b944af97196f9b4b28af3b73db474a465f413a6 (diff)
downloadopenbsd-0dcf90d37015e94e560e71431735595427be713b.tar.gz
openbsd-0dcf90d37015e94e560e71431735595427be713b.tar.bz2
openbsd-0dcf90d37015e94e560e71431735595427be713b.zip
prefer C99 array initialization syntax.
use C99 array initialization syntax for strict C compilers. from kinichiro, found building with HP/UX compiler ok deraadt@, guenther@
Diffstat (limited to 'src/usr.bin/openssl/rand.c')
-rw-r--r--src/usr.bin/openssl/rand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/rand.c b/src/usr.bin/openssl/rand.c
index cfb8d763b0..dcc99e7392 100644
--- a/src/usr.bin/openssl/rand.c
+++ b/src/usr.bin/openssl/rand.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rand.c,v 1.3 2014/08/27 15:54:02 jsing Exp $ */ 1/* $OpenBSD: rand.c,v 1.4 2014/10/13 02:46:14 bcook Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -99,7 +99,7 @@ struct option rand_options[] = {
99 .type = OPTION_ARG, 99 .type = OPTION_ARG,
100 .opt.arg = &rand_config.outfile, 100 .opt.arg = &rand_config.outfile,
101 }, 101 },
102 {}, 102 {NULL},
103}; 103};
104 104
105static void 105static void