From 8cc65628c4d521b267ce848806b81a4cf70a662f Mon Sep 17 00:00:00 2001 From: guenther <> Date: Fri, 4 Nov 2016 18:28:58 +0000 Subject: 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@ --- src/lib/libssl/pqueue.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/lib/libssl/pqueue.h') 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 @@ -/* $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 */ -- cgit v1.2.3-55-g6feb