summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-05-23 15:55:08 +0000
committerjsing <jsing@openbsd.org>2014-05-23 15:55:08 +0000
commitc4ea874f9d415b34f1eed4f8c32398a4ed31cdc0 (patch)
treef06f30cf269e7113e2502fbd5f8c7df16db6b370 /lib/libssl/src
parentDocument that v?dprintf() is just as safe as v?snprintf(). OK espie@ (diff)
downloadwireguard-openbsd-c4ea874f9d415b34f1eed4f8c32398a4ed31cdc0.tar.xz
wireguard-openbsd-c4ea874f9d415b34f1eed4f8c32398a4ed31cdc0.zip
Move include to the top and nuke pointless comments.
Diffstat (limited to 'lib/libssl/src')
-rw-r--r--lib/libssl/src/apps/apps.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libssl/src/apps/apps.c b/lib/libssl/src/apps/apps.c
index 438af9f6351..6d1faab482e 100644
--- a/lib/libssl/src/apps/apps.c
+++ b/lib/libssl/src/apps/apps.c
@@ -111,6 +111,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/times.h>
#include <ctype.h>
#include <errno.h>
@@ -2215,13 +2216,6 @@ next_protos_parse(unsigned short *outlen, const char *in)
#endif /* !OPENSSL_NO_TLSEXT &&
* !OPENSSL_NO_NEXTPROTONEG */
-/*
- * Platform-specific sections
- */
-
-/* app_tminterval section */
-#include <sys/times.h>
-
double
app_tminterval(int stop, int usertime)
{
@@ -2243,7 +2237,6 @@ app_tminterval(int stop, int usertime)
return (ret);
}
-
int
app_isdir(const char *name)
{