Skip to content
Snippets Groups Projects
Commit 7dc93a67 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Don't retypedef sftpc_state_t for ancient compilers

(ie: gcc 4.4)
parent 929ca606
No related branches found
No related tags found
No related merge requests found
Pipeline #7056 passed
......@@ -5,7 +5,7 @@
#include "sftp.h"
typedef struct sftp_client_state {
struct sftp_client_state {
bool (*send_cb)(uint8_t *buf, size_t len, void *cb_data);
xpevent_t recv_event;
sftp_rx_pkt_t rxp;
......@@ -20,7 +20,7 @@ typedef struct sftp_client_state {
uint32_t err_id;
uint32_t err_code;
bool terminating;
} *sftpc_state_t;
};
#define SFTP_STATIC_TYPE sftpc_state_t
#include "sftp_static.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment