all ifndef replaced with pragma once
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled

This commit is contained in:
wt committed 2025-02-28 23:26:46 +07:00
1 parent 118021fa16
commit 672fdf7aa4
11 files changed
+11 -49

No files matched your search

+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef REBOOT_HPP
#define REBOOT_HPP
#pragma once
#include <httplib.h>
@@ -10,5 +9,3 @@ namespace api
void reboot(const httplib::Request& request, httplib::Response& response);
}
}
#endif // REBOOT_HPP
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef SYSLOG_HPP
#define SYSLOG_HPP
#pragma once
#include <httplib.h>
@@ -10,5 +9,3 @@ namespace api
void get_syslog(const httplib::Request& request, httplib::Response& response);
}
}
#endif // SYSLOG_HPP
+1 -4
View File
@@ -1,10 +1,7 @@
#ifndef SYSTEM_HPP
#define SYSTEM_HPP
#pragma once
#ifdef __linux__
#include <system/uptime/uptime.hpp>
#endif // __linux__
#include <system/syslog/syslog.hpp>
#include <system/reboot/reboot.hpp>
#endif // SYSTEM_HPP
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef UPTIME_HPP
#define UPTIME_HPP
#pragma once
#include <httplib.h>
@@ -10,5 +9,3 @@ namespace api
void get_uptime(const httplib::Request& request, httplib::Response& response);
}
}
#endif // UPTIME_HPP