diff options
author | tb <> | 2024-01-13 16:32:53 +0000 |
---|---|---|
committer | tb <> | 2024-01-13 16:32:53 +0000 |
commit | a6d1bdcf704cf50d9c3354d47cf947df92d946f1 (patch) | |
tree | 3a554578bbbbecb0c9ba5f1321dc1c2f41dacf93 /src | |
parent | 5bcc72e26393bd21032185410857fdda375e7397 (diff) | |
download | openbsd-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.c | 5 |
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 | |||
70 | int | 69 | int |
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 *) |