diff options
author | 2016-11-04 18:28:57 +0000 | |
---|---|---|
committer | 2016-11-04 18:28:57 +0000 | |
commit | a9f45c63c80b0ab8b60c740ad99abefe7e501cb0 (patch) | |
tree | 8ed9907121f41e90735533ee075f99538296cf76 /lib/libssl/pqueue.h | |
parent | Add an explict list of exported symbols with just the functions declared (diff) | |
download | wireguard-openbsd-a9f45c63c80b0ab8b60c740ad99abefe7e501cb0.tar.xz wireguard-openbsd-a9f45c63c80b0ab8b60c740ad99abefe7e501cb0.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 'lib/libssl/pqueue.h')
-rw-r--r-- | lib/libssl/pqueue.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libssl/pqueue.h b/lib/libssl/pqueue.h index 0d7ddc04e2c..cdda4a39614 100644 --- a/lib/libssl/pqueue.h +++ b/lib/libssl/pqueue.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pqueue.h,v 1.3 2014/06/12 15:49:31 deraadt Exp $ */ +/* $OpenBSD: pqueue.h,v 1.4 2016/11/04 18:28:58 guenther Exp $ */ /* * DTLS implementation written by Nagendra Modadugu @@ -61,6 +61,8 @@ #ifndef HEADER_PQUEUE_H #define HEADER_PQUEUE_H +__BEGIN_HIDDEN_DECLS + typedef struct _pqueue *pqueue; typedef struct _pitem { @@ -86,4 +88,6 @@ pitem *pqueue_next(piterator *iter); int pqueue_size(pqueue pq); +__END_HIDDEN_DECLS + #endif /* ! HEADER_PQUEUE_H */ |