Remove that; we won't need to expose this

This commit is contained in:
XANTRONIX Development 2020-06-07 03:13:43 -04:00 committed by XANTRONIX Industrial
parent 0decdda086
commit e8bf46854a
2 changed files with 0 additions and 14 deletions

View file

@ -44,8 +44,4 @@ ssize_t patty_ax25_frame_decode(patty_ax25_frame *frame,
ssize_t patty_ax25_frame_info(patty_ax25_frame *frame,
void **info);
int patty_ax25_frame_addresed_to(patty_ax25_frame *frame,
const char *callsign,
uint8_t ssid);
#endif /* _PATTY_AX25_FRAME_H */

View file

@ -237,13 +237,3 @@ ssize_t patty_ax25_frame_info(patty_ax25_frame *frame,
error_invalid_args:
return -1;
}
int patty_ax25_frame_addresed_to(patty_ax25_frame *frame,
const char *station,
uint8_t ssid) {
return strncmp(frame->dest.callsign,
station,
PATTY_AX25_CALLSIGN_LEN) == 0
&& frame->dest.ssid == ssid;
}