diff options
author | guenther <> | 2016-11-04 18:28:58 +0000 |
---|---|---|
committer | guenther <> | 2016-11-04 18:28:58 +0000 |
commit | 8cc65628c4d521b267ce848806b81a4cf70a662f (patch) | |
tree | a976d8fd54ff6f0b241962b2bdfdd29e113892f7 /src/lib/libssl/pqueue.h | |
parent | e8686503dae1f619d00440b2df8c7bdef857a901 (diff) | |
download | openbsd-8cc65628c4d521b267ce848806b81a4cf70a662f.tar.gz openbsd-8cc65628c4d521b267ce848806b81a4cf70a662f.tar.bz2 openbsd-8cc65628c4d521b267ce848806b81a4cf70a662f.zip |
Add an explict list of exported symbols with just the functions
declared in the public headers, and use __{BEGIN,END}_HIDDEN_DECLS
in the internal headers to optimize internal functions
ok jsing@
Diffstat (limited to 'src/lib/libssl/pqueue.h')
-rw-r--r-- | src/lib/libssl/pqueue.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libssl/pqueue.h b/src/lib/libssl/pqueue.h index 0d7ddc04e2..cdda4a3961 100644 --- a/src/lib/libssl/pqueue.h +++ b/src/lib/libssl/pqueue.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pqueue.h,v 1.3 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: pqueue.h,v 1.4 2016/11/04 18:28:58 guenther Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * DTLS implementation written by Nagendra Modadugu | 4 | * DTLS implementation written by Nagendra Modadugu |
@@ -61,6 +61,8 @@ | |||
61 | #ifndef HEADER_PQUEUE_H | 61 | #ifndef HEADER_PQUEUE_H |
62 | #define HEADER_PQUEUE_H | 62 | #define HEADER_PQUEUE_H |
63 | 63 | ||
64 | __BEGIN_HIDDEN_DECLS | ||
65 | |||
64 | typedef struct _pqueue *pqueue; | 66 | typedef struct _pqueue *pqueue; |
65 | 67 | ||
66 | typedef struct _pitem { | 68 | typedef struct _pitem { |
@@ -86,4 +88,6 @@ pitem *pqueue_next(piterator *iter); | |||
86 | 88 | ||
87 | int pqueue_size(pqueue pq); | 89 | int pqueue_size(pqueue pq); |
88 | 90 | ||
91 | __END_HIDDEN_DECLS | ||
92 | |||
89 | #endif /* ! HEADER_PQUEUE_H */ | 93 | #endif /* ! HEADER_PQUEUE_H */ |