1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

Minor header-file cleanups.

Moved the typedef of BinaryPacketProtocol into defs.h on the general
principle that it's just the kind of thing that ought to go there;
also removed the declaration of pq_base_init from ssh.h on the grounds
that there's never been any such function! (At least, not in public
source control - it existed in an early draft of commit 6e24b7d58.)
This commit is contained in:
Simon Tatham 2018-09-21 16:53:45 +01:00
parent e230751853
commit a19faa4527
2 changed files with 2 additions and 1 deletions

2
defs.h
View File

@ -90,6 +90,8 @@ typedef struct ptrlen {
typedef struct logblank_t logblank_t;
typedef struct BinaryPacketProtocol BinaryPacketProtocol;
/* Do a compile-time type-check of 'to_check' (without evaluating it),
* as a side effect of returning the value 'to_return'. Note that
* although this macro double-*expands* to_return, it always

1
ssh.h
View File

@ -97,7 +97,6 @@ typedef struct PktOutQueue {
PktOut *(*get)(PacketQueueBase *, int pop);
} PktOutQueue;
void pq_base_init(PacketQueueBase *pqb);
void pq_base_push(PacketQueueBase *pqb, PacketQueueNode *node);
void pq_base_push_front(PacketQueueBase *pqb, PacketQueueNode *node);
void pq_base_concatenate(PacketQueueBase *dest,