diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-01 17:23:40 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-01 17:23:40 -0400 |
commit | 926f5f5ec7992651d2e0602f4fdb77f8be8a5ae5 (patch) | |
tree | c553102887b108822465c485336b161c7cf3be10 | |
parent | 82eea8b5a759715ba06c13d14c048460f965419a (diff) |
TTcpSocket: Make `some_stub()` a member function
Forgot that it's actually a member function.
-rw-r--r-- | context.h | 1 | ||||
-rw-r--r-- | include/pso/TTcpSocket.h | 1 | ||||
-rw-r--r-- | src/pso/TTcpSocket.cpp | 2 |
3 files changed, 3 insertions, 1 deletions
@@ -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) { |