From e8bf46854a4f213f151667b6ce6240b357eab303 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sun, 7 Jun 2020 03:13:43 -0400 Subject: [PATCH] Remove that; we won't need to expose this --- include/patty/ax25/frame.h | 4 ---- src/frame.c | 10 ---------- 2 files changed, 14 deletions(-) diff --git a/include/patty/ax25/frame.h b/include/patty/ax25/frame.h index 5be08a9..4ca9385 100644 --- a/include/patty/ax25/frame.h +++ b/include/patty/ax25/frame.h @@ -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 */ diff --git a/src/frame.c b/src/frame.c index 3e53a40..f731e75 100644 --- a/src/frame.c +++ b/src/frame.c @@ -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; -} -