summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-01 17:23:40 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-01 17:23:40 -0400
commit926f5f5ec7992651d2e0602f4fdb77f8be8a5ae5 (patch)
treec553102887b108822465c485336b161c7cf3be10
parent82eea8b5a759715ba06c13d14c048460f965419a (diff)
TTcpSocket: Make `some_stub()` a member function
Forgot that it's actually a member function.
-rw-r--r--context.h1
-rw-r--r--include/pso/TTcpSocket.h1
-rw-r--r--src/pso/TTcpSocket.cpp2
3 files changed, 3 insertions, 1 deletions
diff --git a/context.h b/context.h
index 8772391..d83ee43 100644
--- a/context.h
+++ b/context.h
@@ -831,6 +831,7 @@ public:
virtual int send(u8 *data, size_t size) override;
short stat();
+ void some_stub();
int test_connection();
static void notify(short size, short sock_fd);
diff --git a/include/pso/TTcpSocket.h b/include/pso/TTcpSocket.h
index 8e8dab9..b6faf56 100644
--- a/include/pso/TTcpSocket.h
+++ b/include/pso/TTcpSocket.h
@@ -29,6 +29,7 @@ public:
virtual int send(u8 *data, size_t size) override;
short stat();
+ void some_stub();
int test_connection();
static void notify(short size, short sock_fd);
diff --git a/src/pso/TTcpSocket.cpp b/src/pso/TTcpSocket.cpp
index 5021fd6..0317f37 100644
--- a/src/pso/TTcpSocket.cpp
+++ b/src/pso/TTcpSocket.cpp
@@ -144,7 +144,7 @@ int TTcpSocket::test_connection() {
}
-void some_stub() {}
+void TTcpSocket::some_stub() {}
short TTcpSocket::stat() {
if (sock_fd() != -1) {