Bulk replace header guards to use

This commit is contained in:
David Cermak
2021-05-26 15:57:25 +02:00
parent 84b0dcfea4
commit 3332c27978
35 changed files with 38 additions and 140 deletions

View File

@ -7,8 +7,7 @@
CONDITIONS OF ANY KIND, either express or implied.
*/
#ifndef _NETWORK_DCE_H_
#define _NETWORK_DCE_H_
#pragma once
#ifdef __cplusplus
extern "C" {
@ -43,5 +42,3 @@ void modem_stop_network();
#ifdef __cplusplus
}
#endif
#endif //_NETWORK_DCE_H_

View File

@ -7,8 +7,7 @@
CONDITIONS OF ANY KIND, either express or implied.
*/
#ifndef MODEM_CONSOLE_CONSOLE_HELPER_H
#define MODEM_CONSOLE_CONSOLE_HELPER_H
#pragma once
#include <vector>
#include <algorithm>
@ -112,5 +111,3 @@ private:
std::function<bool(ConsoleCommand *)> func;
const static esp_console_cmd_func_t command_func_pts[];
};
#endif //MODEM_CONSOLE_CONSOLE_HELPER_H

View File

@ -7,8 +7,7 @@
CONDITIONS OF ANY KIND, either express or implied.
*/
#ifndef __MY_MODULE_DCE_HPP__
#define __MY_MODULE_DCE_HPP__
#pragma once
#include "cxx_include/esp_modem_dce_factory.hpp"
@ -38,6 +37,3 @@ std::unique_ptr<esp_modem::DCE> create_shiny_dce(const esp_modem::dce_config *co
{
return esp_modem::dce_factory::Factory::build_unique<MyShinyModem>(config, std::move(dte), netif);
}
#endif //__MY_MODULE_DCE_HPP__

View File

@ -6,8 +6,7 @@
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#ifndef _SIMPLE_MQTT_CLIENT_H_
#define _SIMPLE_MQTT_CLIENT_H_
#pragma once
#include <string>
#include <memory>
@ -72,6 +71,3 @@ public:
private:
std::unique_ptr<MqttClientHandle> h;
};
#endif //_SIMPLE_MQTT_CLIENT_H_