diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-06-02 05:17:46 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-06-02 05:17:46 +0000 |
commit | d4d520a3d491ab749e96cf234b32a723b9272a60 (patch) | |
tree | 35e200a2caf27b33e50583f24cec4a15b44c9ba0 /lib | |
parent | 15c23f310f8a197964063a6223af27f87a3c010d (diff) |
Since pqueue is a private interface and the header defining the struct
isn't even exported, there's no (sane) way for someone else to use the
typedef. Eliminate the typedef and just use "struct _pqueue *".
duplicate typedef pointed out by Brent Cook (busterb (at) gmail.com)
ok miod@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/src/ssl/dtls1.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libssl/src/ssl/dtls1.h b/lib/libssl/src/ssl/dtls1.h index b0cf839b788..5a14ee427b4 100644 --- a/lib/libssl/src/ssl/dtls1.h +++ b/lib/libssl/src/ssl/dtls1.h @@ -144,11 +144,10 @@ struct dtls1_timeout_st { }; struct _pqueue; -typedef struct _pqueue *pqueue; typedef struct record_pqueue_st { unsigned short epoch; - pqueue q; + struct _pqueue *q; } record_pqueue; typedef struct hm_fragment_st { @@ -191,10 +190,10 @@ typedef struct dtls1_state_st { record_pqueue processed_rcds; /* Buffered handshake messages */ - pqueue buffered_messages; + struct _pqueue *buffered_messages; /* Buffered (sent) handshake records */ - pqueue sent_messages; + struct _pqueue *sent_messages; /* Buffered application records. * Only for records between CCS and Finished |