summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-01-13 16:32:53 +0000
committertb <>2024-01-13 16:32:53 +0000
commita6d1bdcf704cf50d9c3354d47cf947df92d946f1 (patch)
tree3a554578bbbbecb0c9ba5f1321dc1c2f41dacf93 /src
parent5bcc72e26393bd21032185410857fdda375e7397 (diff)
downloadopenbsd-a6d1bdcf704cf50d9c3354d47cf947df92d946f1.tar.gz
openbsd-a6d1bdcf704cf50d9c3354d47cf947df92d946f1.tar.bz2
openbsd-a6d1bdcf704cf50d9c3354d47cf947df92d946f1.zip
Move errno.h inclusion where it belongs
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/stack/stack.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/stack/stack.c b/src/lib/libcrypto/stack/stack.c
index 65bd3217d1..f5c568dc5e 100644
--- a/src/lib/libcrypto/stack/stack.c
+++ b/src/lib/libcrypto/stack/stack.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: stack.c,v 1.23 2023/04/24 15:35:22 beck Exp $ */ 1/* $OpenBSD: stack.c,v 1.24 2024/01/13 16:32:53 tb 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 *
@@ -56,6 +56,7 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#include <errno.h>
59#include <stdio.h> 60#include <stdio.h>
60#include <string.h> 61#include <string.h>
61 62
@@ -65,8 +66,6 @@
65#undef MIN_NODES 66#undef MIN_NODES
66#define MIN_NODES 4 67#define MIN_NODES 4
67 68
68#include <errno.h>
69
70int 69int
71(*sk_set_cmp_func(_STACK *sk, int (*c)(const void *, const void *)))( 70(*sk_set_cmp_func(_STACK *sk, int (*c)(const void *, const void *)))(
72 const void *, const void *) 71 const void *, const void *)