Merge pull request 'all ifndef replaced with pragma once' (#19) from delete_ifndefs_add_pragma_once into main
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
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
Reviewed-on: https://gitea.home.com:3000/TolaMironcenko/openrouter/pulls/19 #3
This commit was merged in pull request #19.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
#ifndef DNS_HPP
|
||||
#define DNS_HPP
|
||||
|
||||
#pragma once
|
||||
#include <json.hpp>
|
||||
|
||||
namespace api
|
||||
@@ -15,5 +13,3 @@ namespace api
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif // DNS_HPP
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#ifndef FTP_HPP
|
||||
#define FTP_HPP
|
||||
|
||||
#pragma once
|
||||
namespace api
|
||||
{
|
||||
namespace settings
|
||||
@@ -11,5 +9,3 @@ namespace api
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif // FTP_HPP
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#ifndef SETTINGS_HPP
|
||||
#define SETTINGS_HPP
|
||||
|
||||
#pragma once
|
||||
#include <settings/wifi/wifi.hpp>
|
||||
#include <settings/telnet/telnet.hpp>
|
||||
#include <settings/ssh/ssh.hpp>
|
||||
@@ -19,5 +17,3 @@ namespace api
|
||||
void set(const httplib::Request& request, httplib::Response& response);
|
||||
}
|
||||
}
|
||||
|
||||
#endif // SETTINGS_HPP
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#ifndef SSH_HPP
|
||||
#define SSH_HPP
|
||||
|
||||
#pragma once
|
||||
#include <json.hpp>
|
||||
|
||||
#define DROPBEAR_SSH "dropbear"
|
||||
@@ -20,5 +18,3 @@ namespace api
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif // SSH_HPP
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#ifndef SETTINGS_TELNET_HPP
|
||||
#define SETTINGS_TELNET_HPP
|
||||
|
||||
#pragma once
|
||||
namespace api
|
||||
{
|
||||
namespace settings
|
||||
@@ -12,5 +10,3 @@ namespace api
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif // SETTINGS_TELNET_HPP
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#ifndef WIFI_HPP
|
||||
#define WIFI_HPP
|
||||
|
||||
#pragma once
|
||||
#include <httplib.h>
|
||||
|
||||
#define WIFI_SETTINGS_PATH "/etc/hostapd/hostapd.conf"
|
||||
@@ -19,5 +17,3 @@ namespace api
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif // WIFI_HPP
|
||||
|
||||
Reference in New Issue
Block a user