mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 17:11:53 -05:00
- do not return a value from a void function
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@165 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
c7938b6db6
commit
fdf09163fe
@ -218,7 +218,7 @@ oss_loop(int *iarg)
|
|||||||
nread = read (data.fd_in, rcv_buf, AUDIOBUFSIZE);
|
nread = read (data.fd_in, rcv_buf, AUDIOBUFSIZE);
|
||||||
if (nread <= 0) {
|
if (nread <= 0) {
|
||||||
fprintf(stderr, "Read error %d\n", nread);
|
fprintf(stderr, "Read error %d\n", nread);
|
||||||
return (-1);
|
return;
|
||||||
}
|
}
|
||||||
if (nread == AUDIOBUFSIZE) {
|
if (nread == AUDIOBUFSIZE) {
|
||||||
/* Get System time */
|
/* Get System time */
|
||||||
@ -285,7 +285,7 @@ oss_loop(int *iarg)
|
|||||||
|
|
||||||
if (write(data.fd_out, tx_buf, AUDIOBUFSIZE) < 0) {
|
if (write(data.fd_out, tx_buf, AUDIOBUFSIZE) < 0) {
|
||||||
fprintf(stderr, "Can't write to soundcard.\n");
|
fprintf(stderr, "Can't write to soundcard.\n");
|
||||||
return (-1);
|
return;
|
||||||
}
|
}
|
||||||
fivehztx_(); /* Call fortran routine */
|
fivehztx_(); /* Call fortran routine */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user