summaryrefslogtreecommitdiff
path: root/src/lib/libssl/pqueue.h
diff options
context:
space:
mode:
authorguenther <>2016-11-04 18:28:58 +0000
committerguenther <>2016-11-04 18:28:58 +0000
commit8cc65628c4d521b267ce848806b81a4cf70a662f (patch)
treea976d8fd54ff6f0b241962b2bdfdd29e113892f7 /src/lib/libssl/pqueue.h
parente8686503dae1f619d00440b2df8c7bdef857a901 (diff)
downloadopenbsd-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.h6
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
64typedef struct _pqueue *pqueue; 66typedef struct _pqueue *pqueue;
65 67
66typedef struct _pitem { 68typedef struct _pitem {
@@ -86,4 +88,6 @@ pitem *pqueue_next(piterator *iter);
86 88
87int pqueue_size(pqueue pq); 89int pqueue_size(pqueue pq);
88 90
91__END_HIDDEN_DECLS
92
89#endif /* ! HEADER_PQUEUE_H */ 93#endif /* ! HEADER_PQUEUE_H */