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 | b19878ce19f873ef5daf9c82a0de49e59442c040 (patch) | |
tree | cc2da610e0be749796928c56abb656978e7fafed /lib/libssl/dtls1.h | |
parent | de2df71f5ba61f19759640a70af2003091b306af (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/libssl/dtls1.h')
-rw-r--r-- | lib/libssl/dtls1.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libssl/dtls1.h b/lib/libssl/dtls1.h index b0cf839b788..5a14ee427b4 100644 --- a/lib/libssl/dtls1.h +++ b/lib/libssl/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 |