2 Commits
Author SHA1 Message Date
zx eead012999 fix for GCC15
Altlinux build / build-alt (push) Successful in 3m50s
Archlinux build / build-arch (push) Successful in 4m39s
Archlinux build / make-test (push) Successful in 2m8s
Debian build / build-ubuntu (push) Successful in 4m6s
2026-03-18 15:54:07 +03:00
zx 981a9aba37 fixed for GCC 15 strict function prototyping on ArchLinux 2026-03-18 15:47:47 +03:00
3 changed files with 8 additions and 8 deletions
View File
+7 -7
View File
@@ -286,9 +286,9 @@ static int sm_tx_waitseq(s_tx_emsidat *d)
static s_states st_tx_emsidat[] = static s_states st_tx_emsidat[] =
{ {
{ "sm_tx_init", sm_tx_init }, { "sm_tx_init", (int (*)(void *))sm_tx_init },
{ "sm_tx_senddat", sm_tx_senddat }, { "sm_tx_senddat", (int (*)(void *))sm_tx_senddat },
{ "sm_tx_waitseq", sm_tx_waitseq } { "sm_tx_waitseq", (int (*)(void *))sm_tx_waitseq }
}; };
int emsi_send_emsidat(s_emsi *local_emsi) int emsi_send_emsidat(s_emsi *local_emsi)
@@ -570,10 +570,10 @@ static int sm_rx_getdat(s_rx_emsidat *d)
static s_states st_rx_emsidat[] = static s_states st_rx_emsidat[] =
{ {
{ "sm_rx_init", sm_rx_init }, { "sm_rx_init", (int (*)(void *))sm_rx_init },
{ "sm_rx_sendnak", sm_rx_sendnak }, { "sm_rx_sendnak", (int (*)(void *))sm_rx_sendnak },
{ "sm_rx_waitseq", sm_rx_waitseq }, { "sm_rx_waitseq", (int (*)(void *))sm_rx_waitseq },
{ "sm_rx_getdat", sm_rx_getdat } { "sm_rx_getdat", (int (*)(void *))sm_rx_getdat }
}; };
int emsi_recv_emsidat(s_emsi *remote_emsi) int emsi_recv_emsidat(s_emsi *remote_emsi)
+1 -1
View File
@@ -72,7 +72,7 @@
struct states struct states
{ {
const char *st_name; const char *st_name;
int (*proc)(); int (*proc)(void *);
}; };
typedef struct states s_states; typedef struct states s_states;