Remove _unix suffix from patty_kiss_tnc_fd_unix()
This commit is contained in:
parent
750ab452d2
commit
2e0adee54e
3 changed files with 4 additions and 4 deletions
|
@ -33,7 +33,7 @@ patty_kiss_tnc *patty_kiss_tnc_open_fd(int fd);
|
|||
|
||||
patty_kiss_tnc *patty_kiss_tnc_open(const char *device);
|
||||
|
||||
int patty_kiss_tnc_fd_unix(patty_kiss_tnc *tnc);
|
||||
int patty_kiss_tnc_fd(patty_kiss_tnc *tnc);
|
||||
|
||||
void patty_kiss_tnc_close(patty_kiss_tnc *tnc);
|
||||
|
||||
|
|
4
src/if.c
4
src/if.c
|
@ -238,7 +238,7 @@ error_list_start:
|
|||
int patty_ax25_add_if(patty_ax25 *ax25, patty_ax25_if *iface) {
|
||||
int fd;
|
||||
|
||||
if ((fd = patty_kiss_tnc_fd_unix(iface->tnc)) >= 0) {
|
||||
if ((fd = patty_kiss_tnc_fd(iface->tnc)) >= 0) {
|
||||
FD_SET(fd, &ax25->fds);
|
||||
|
||||
if (ax25->fdmax < fd + 1) {
|
||||
|
@ -279,7 +279,7 @@ int patty_ax25_delete_if(patty_ax25 *ax25, patty_ax25_if *iface) {
|
|||
i++;
|
||||
}
|
||||
|
||||
if ((fd = patty_kiss_tnc_fd_unix(iface->tnc)) >= 0) {
|
||||
if ((fd = patty_kiss_tnc_fd(iface->tnc)) >= 0) {
|
||||
FD_CLR(fd, &ax25->fds);
|
||||
|
||||
if (ax25->fdmax == fd) {
|
||||
|
|
|
@ -82,7 +82,7 @@ error_open:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
int patty_kiss_tnc_fd_unix(patty_kiss_tnc *tnc) {
|
||||
int patty_kiss_tnc_fd(patty_kiss_tnc *tnc) {
|
||||
return tnc->fd;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue