Skip to content

Commit

Permalink
define handle_common_key() in keyer.h and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zcsahok committed Apr 30, 2024
1 parent e309588 commit 96d3814
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/keyer.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#ifndef KEYER_H
#define KEYER_H

int handle_common_key(int key);

void keyer(void);

#endif /* end of include guard: KEYER_H */
1 change: 1 addition & 0 deletions test/test_getexchange.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ void sendmessage(const char *msg) {}
void send_standard_message(int msg) {}
void send_standard_message_prev_qso(int msg) {}
void add_local_spot(void) {}
int handle_common_key(int key) { return 0; }
void keyer(void) {}
void qtc_main_panel(int direction) {}
void rst_recv_up() {}
Expand Down
1 change: 1 addition & 0 deletions test/test_readcalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ int recall_exchange() { return -1; }
void refresh_comment() {}
void time_update() {}
void show_rtty() {}
int handle_common_key(int key) { return 0; }
void keyer() {}
void send_standard_message(int msg) {}
void send_standard_message_prev_qso(int msg) {}
Expand Down

0 comments on commit 96d3814

Please sign in to comment.