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
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:
1 parent
f61b5ee2c9
commit
118021fa16
6 files changed
+6
-30
No files matched your search
@@ -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