diff options
author | 2014-06-02 05:17:45 +0000 | |
---|---|---|
committer | 2014-06-02 05:17:45 +0000 | |
commit | cb69379254fa614888f6cb2b51a6fab1c0d5a775 (patch) | |
tree | 655515d5c10d682cc731384fb66882a5c99ba7de /lib/libssl/dtls1.h | |
parent | Clean up some of the nightmare of string and pointer arithmatic in (diff) | |
download | wireguard-openbsd-cb69379254fa614888f6cb2b51a6fab1c0d5a775.tar.xz wireguard-openbsd-cb69379254fa614888f6cb2b51a6fab1c0d5a775.zip |
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 |