Skip to content

Commit

Permalink
Server: remove old includes
Browse files Browse the repository at this point in the history
  • Loading branch information
DvaMishkiLapa committed Dec 7, 2024
1 parent f1eb6ad commit 2a4534a
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 29 deletions.
2 changes: 0 additions & 2 deletions server/include/events.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

#include <psp2/ctrl.h>
#include <psp2/kernel/threadmgr.h>
#include <psp2/net/net.h>
#include <psp2/net/netctl.h>

#include <arpa/inet.h>

Expand Down
1 change: 0 additions & 1 deletion server/include/net.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef NET_HPP
#define NET_HPP

#include <psp2/net/net.h>
#include <psp2/net/netctl.h>

#include <atomic>
Expand Down
7 changes: 0 additions & 7 deletions server/include/status.hpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
#ifndef STATUS_HPP
#define STATUS_HPP

#include <atomic>
#include <mutex>

#include <psp2/kernel/threadmgr.h>
#include <psp2/net/net.h>
#include <psp2/net/netctl.h>

#include <atomic>

#include "events.hpp"
Expand Down
2 changes: 0 additions & 2 deletions server/include/thread_helper.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#include <psp2/kernel/threadmgr.h>
// #include <psp2/kernel/clib.h>
// #include <psp2/kernel/processmgr.h>

#ifndef THREAD_HELPER_HPP
#define THREAD_HELPER_HPP
Expand Down
3 changes: 0 additions & 3 deletions server/src/ctrl.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#include <assert.h>

#include <psp2/ctrl.h>
#include <psp2/libdbg.h>
#include <psp2/motion.h>
#include <psp2/touch.h>
Expand Down
1 change: 0 additions & 1 deletion server/src/draw_helper.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "draw_helper.hpp"
#include "status.hpp"

#include <common.h>

Expand Down
9 changes: 1 addition & 8 deletions server/src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
#include <arpa/inet.h>
#include <chrono>
#include <psp2/appmgr.h>
#include <psp2/ctrl.h>
#include <psp2/kernel/modulemgr.h>
#include <psp2/kernel/threadmgr.h>
#include <psp2/libdbg.h>
#include <psp2/motion.h>
#include <psp2/power.h>
Expand All @@ -12,18 +7,16 @@
#include <psp2/touch.h>
#include <psp2/vshbridge.h>
#include <taihen.h>
#include <vita2d.h>

#include "ctrl.hpp"
#include "draw_helper.hpp"
#include "events.hpp"
#include "net.hpp"
#include "status.hpp"
#include "thread_helper.hpp"

#include "kctrl-kernel.h"

#include <common.h>
// #include <common.h>

#define MOD_PATH "ux0:app/VOXIPAD01/module/kctrl.skprx"

Expand Down
1 change: 0 additions & 1 deletion server/src/net.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <psp2/ctrl.h>
#include <psp2/kernel/processmgr.h>
#include <psp2/motion.h>
#include <psp2/touch.h>
Expand Down
1 change: 0 additions & 1 deletion server/src/status.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#include <psp2/net/netctl.h>
#include <psp2/power.h>

Expand Down
3 changes: 0 additions & 3 deletions server/src/thread_helper.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#include <psp2/kernel/clib.h>
#include <psp2/kernel/processmgr.h>
#include <psp2/kernel/threadmgr.h>
#include <psp2/libdbg.h>

#include "thread_helper.hpp"
Expand Down

0 comments on commit 2a4534a

Please sign in to comment.