diff options
| author | guenther <> | 2016-11-04 18:28:58 +0000 |
|---|---|---|
| committer | guenther <> | 2016-11-04 18:28:58 +0000 |
| commit | ce835f2efa54fde1b0bcb50acb340a01efb19727 (patch) | |
| tree | a976d8fd54ff6f0b241962b2bdfdd29e113892f7 /src/lib/libssl/pqueue.h | |
| parent | 024ec5a1a47931bab0bc1d479eb68c0f9101e447 (diff) | |
| download | openbsd-ce835f2efa54fde1b0bcb50acb340a01efb19727.tar.gz openbsd-ce835f2efa54fde1b0bcb50acb340a01efb19727.tar.bz2 openbsd-ce835f2efa54fde1b0bcb50acb340a01efb19727.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 */ |
