diff options
| author | bcook <> | 2014-10-13 02:46:14 +0000 |
|---|---|---|
| committer | bcook <> | 2014-10-13 02:46:14 +0000 |
| commit | e4f0e4e453aebb92ffad8cf5a9a9107e9bd5c062 (patch) | |
| tree | fe844d1b23ff3110f712568be274c93e35fe07c6 /src/usr.bin/openssl/version.c | |
| parent | e2a3519b1b62c76a0286e3bef886f0b0cde58634 (diff) | |
| download | openbsd-e4f0e4e453aebb92ffad8cf5a9a9107e9bd5c062.tar.gz openbsd-e4f0e4e453aebb92ffad8cf5a9a9107e9bd5c062.tar.bz2 openbsd-e4f0e4e453aebb92ffad8cf5a9a9107e9bd5c062.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 '')
| -rw-r--r-- | src/usr.bin/openssl/version.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/version.c b/src/usr.bin/openssl/version.c index ee4792b249..db9c98e977 100644 --- a/src/usr.bin/openssl/version.c +++ b/src/usr.bin/openssl/version.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: version.c,v 1.2 2014/08/30 15:59:43 jsing Exp $ */ | 1 | /* $OpenBSD: version.c,v 1.3 2014/10/13 02:46:14 bcook Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -200,7 +200,7 @@ static struct option version_options[] = { | |||
| 200 | .type = OPTION_FLAG, | 200 | .type = OPTION_FLAG, |
| 201 | .opt.flag = &version_config.version, | 201 | .opt.flag = &version_config.version, |
| 202 | }, | 202 | }, |
| 203 | {}, | 203 | {NULL}, |
| 204 | }; | 204 | }; |
| 205 | 205 | ||
| 206 | static void | 206 | static void |
