Skip to content

Commit

Permalink
change prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
dl1jbe committed Oct 11, 2024
1 parent fec881e commit 99f24f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lancode.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ static int lan_send(char *lanbuffer) {

/* ----------------- send lan message ----------*/

int send_lan_message(int opcode, char *message) {
void send_lan_message(int opcode, char *message) {
char sendbuffer[102];

sendbuffer[0] = thisnode;
Expand Down Expand Up @@ -323,7 +323,7 @@ int send_lan_message(int opcode, char *message) {
lan_send(sendbuffer);
}

return 0;
return;
}

/* ----------------- send talk message ----------*/
Expand Down
2 changes: 1 addition & 1 deletion src/lancode.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ int lan_recv_close(void);
int lan_recv(void);
int lan_send_init(void);
int lan_send_close(void);
int send_lan_message(int opcode, char *message);
void send_lan_message(int opcode, char *message);
void talk(void);
int send_freq(freq_t freq);
void send_time(void) ;
Expand Down

0 comments on commit 99f24f4

Please sign in to comment.