mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-27 00:28:14 +00:00
test(net): use canonical public declarations
This commit is contained in:
1 parent
449a6580dd
commit
7dfb03bdc1
1 file changed
+1
-9
@@ -11,17 +11,9 @@
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <source_location>
|
||||
#include "prx/libc/include/general/VabiMacros.hpp"
|
||||
#include "prx/libSceNet/libSceNet.hpp"
|
||||
#include "prx/libkernel/Socket/include/SocketPoll.hpp"
|
||||
|
||||
extern "C" {
|
||||
int APS5_VABI sceNetInit_nid_postfix();
|
||||
int APS5_VABI sceNetSocket(const char*, int, int, int);
|
||||
int APS5_VABI sceNetSocketClose(int);
|
||||
int APS5_VABI sceNetSetsockopt(int, int, int, const void*, std::uint32_t);
|
||||
int APS5_VABI sceNetGetsockopt(int, int, int, void*, std::uint32_t*);
|
||||
int* APS5_VABI sceNetErrnoLoc();
|
||||
}
|
||||
|
||||
static void Require(bool condition, std::source_location location = std::source_location::current()) {
|
||||
if (!condition) {
|
||||
|
||||
Reference in new issue
Block a user