Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 8dd8c61

Browse files
committed
Address -Wunneeded-internal-declaration warnings.
1 parent d411af2 commit 8dd8c61

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/test-apps/TestInetLayer.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ static void HandleConnectionComplete(TCPEndPoint *ep, INET_ERROR conErr);
4646
static void HandleConnectionReceived(TCPEndPoint *listeningEP, TCPEndPoint *conEP, const IPAddress &peerAddr,
4747
uint16_t peerPort);
4848
static void HandleConnectionClosed(TCPEndPoint *ep, INET_ERROR err);
49-
static void HandlePeerClose(TCPEndPoint *ep);
5049
static void HandleDataSent(TCPEndPoint *ep, uint16_t len);
5150
static void HandleDataReceived(TCPEndPoint *ep, PacketBuffer *data);
5251
static void HandleAcceptError(TCPEndPoint *endPoint, INET_ERROR err);
@@ -631,12 +630,6 @@ void HandleConnectionClosed(TCPEndPoint *ep, INET_ERROR err)
631630
}
632631
}
633632

634-
void HandlePeerClose(TCPEndPoint *ep)
635-
{
636-
printf("HandlePeerClose\n");
637-
(void)HandlePeerClose;
638-
}
639-
640633
void HandleDataSent(TCPEndPoint *ep, uint16_t len)
641634
{
642635
printf("Data sent: %ld\n", (long) len);

0 commit comments

Comments
 (0)