mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +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:
parent
e230751853
commit
a19faa4527
2
defs.h
2
defs.h
@ -90,6 +90,8 @@ typedef struct ptrlen {
|
|||||||
|
|
||||||
typedef struct logblank_t logblank_t;
|
typedef struct logblank_t logblank_t;
|
||||||
|
|
||||||
|
typedef struct BinaryPacketProtocol BinaryPacketProtocol;
|
||||||
|
|
||||||
/* Do a compile-time type-check of 'to_check' (without evaluating it),
|
/* Do a compile-time type-check of 'to_check' (without evaluating it),
|
||||||
* as a side effect of returning the value 'to_return'. Note that
|
* as a side effect of returning the value 'to_return'. Note that
|
||||||
* although this macro double-*expands* to_return, it always
|
* although this macro double-*expands* to_return, it always
|
||||||
|
1
ssh.h
1
ssh.h
@ -97,7 +97,6 @@ typedef struct PktOutQueue {
|
|||||||
PktOut *(*get)(PacketQueueBase *, int pop);
|
PktOut *(*get)(PacketQueueBase *, int pop);
|
||||||
} PktOutQueue;
|
} PktOutQueue;
|
||||||
|
|
||||||
void pq_base_init(PacketQueueBase *pqb);
|
|
||||||
void pq_base_push(PacketQueueBase *pqb, PacketQueueNode *node);
|
void pq_base_push(PacketQueueBase *pqb, PacketQueueNode *node);
|
||||||
void pq_base_push_front(PacketQueueBase *pqb, PacketQueueNode *node);
|
void pq_base_push_front(PacketQueueBase *pqb, PacketQueueNode *node);
|
||||||
void pq_base_concatenate(PacketQueueBase *dest,
|
void pq_base_concatenate(PacketQueueBase *dest,
|
||||||
|
Loading…
Reference in New Issue
Block a user