Remove patty_ax25_sock_mode_set()
This commit is contained in:
parent
754baabf11
commit
8b741cadc8
2 changed files with 0 additions and 14 deletions
|
@ -94,9 +94,6 @@ void patty_ax25_sock_destroy(patty_ax25_sock *sock);
|
||||||
int patty_ax25_sock_params_set(patty_ax25_sock *sock,
|
int patty_ax25_sock_params_set(patty_ax25_sock *sock,
|
||||||
patty_ax25_params *params);
|
patty_ax25_params *params);
|
||||||
|
|
||||||
int patty_ax25_sock_mode_set(patty_ax25_sock *sock,
|
|
||||||
enum patty_ax25_sock_mode mode);
|
|
||||||
|
|
||||||
char *patty_ax25_sock_pty(patty_ax25_sock *sock);
|
char *patty_ax25_sock_pty(patty_ax25_sock *sock);
|
||||||
|
|
||||||
int patty_ax25_sock_bind_if(patty_ax25_sock *sock,
|
int patty_ax25_sock_bind_if(patty_ax25_sock *sock,
|
||||||
|
|
11
src/sock.c
11
src/sock.c
|
@ -239,17 +239,6 @@ error_invalid:
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int patty_ax25_sock_mode_set(patty_ax25_sock *sock,
|
|
||||||
enum patty_ax25_sock_mode mode) {
|
|
||||||
if (sock->mode == mode) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
sock->mode = mode;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
char *patty_ax25_sock_pty(patty_ax25_sock *sock) {
|
char *patty_ax25_sock_pty(patty_ax25_sock *sock) {
|
||||||
return sock->path;
|
return sock->path;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue