summaryrefslogtreecommitdiffstats
path: root/usr.bin/openssl/errstr.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-08-22 16:36:05 +0000
committerjsing <jsing@openbsd.org>2015-08-22 16:36:05 +0000
commit20c6dab5ef5c8a30bc199e86a177139c92daa8b5 (patch)
tree19d360172daf040f7842985c0a863daea37d2b1b /usr.bin/openssl/errstr.c
parentAdd cwd context to syslog entry. (diff)
downloadwireguard-openbsd-20c6dab5ef5c8a30bc199e86a177139c92daa8b5.tar.xz
wireguard-openbsd-20c6dab5ef5c8a30bc199e86a177139c92daa8b5.zip
Remove all duplicate prototypes for *_main functions (these are already
provided by progs.h). Also, move the FUNCTION type (and flags) into openssl.c since that is the only place of use. Lastly, remove pointless 'extern' from the prototypes and use char **argv instead of char *argv[] (the former is used elsewhere). ok deraadt@ doug@
Diffstat (limited to 'usr.bin/openssl/errstr.c')
-rw-r--r--usr.bin/openssl/errstr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/openssl/errstr.c b/usr.bin/openssl/errstr.c
index 9a9c844c6a2..9cf7bfba4b7 100644
--- a/usr.bin/openssl/errstr.c
+++ b/usr.bin/openssl/errstr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: errstr.c,v 1.3 2015/04/14 10:54:40 jsing Exp $ */
+/* $OpenBSD: errstr.c,v 1.4 2015/08/22 16:36:05 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -89,8 +89,6 @@ errstr_usage()
options_usage(errstr_options);
}
-int errstr_main(int, char **);
-
int
errstr_main(int argc, char **argv)
{