gr-fosphor: Use #pragma once instead of old guard style

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2021-01-08 12:12:32 +01:00
parent 76c33d41f7
commit 431afbf8d6
9 changed files with 9 additions and 48 deletions

View File

@ -19,8 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_GR_FOSPHOR_API_H
#define INCLUDED_GR_FOSPHOR_API_H
#pragma once
#include <gnuradio/attributes.h>
@ -29,5 +28,3 @@
#else
# define GR_FOSPHOR_API __GR_ATTR_IMPORT
#endif
#endif /* INCLUDED_GR_FOSPHOR_API_H */

View File

@ -18,9 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_GR_FOSPHOR_BASE_SINK_C_H
#define INCLUDED_GR_FOSPHOR_BASE_SINK_C_H
#pragma once
#include <gnuradio/fosphor/api.h>
@ -73,6 +71,3 @@ namespace gr {
} // namespace fosphor
} // namespace gr
#endif /* INCLUDED_GR_FOSPHOR_BASE_SINK_C_H */

View File

@ -18,9 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_GR_FOSPHOR_GLFW_SINK_C_H
#define INCLUDED_GR_FOSPHOR_GLFW_SINK_C_H
#pragma once
#include <gnuradio/fosphor/api.h>
#include <gnuradio/fosphor/base_sink_c.h>
@ -52,6 +50,3 @@ namespace gr {
} // namespace fosphor
} // namespace gr
#endif /* INCLUDED_GR_FOSPHOR_GLFW_SINK_C_H */

View File

@ -18,9 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_GR_FOSPHOR_QT_SINK_C_H
#define INCLUDED_GR_FOSPHOR_QT_SINK_C_H
#pragma once
#include <gnuradio/fosphor/api.h>
#include <gnuradio/fosphor/base_sink_c.h>
@ -66,6 +64,3 @@ namespace gr {
} // namespace fosphor
} // namespace gr
#endif /* INCLUDED_GR_FOSPHOR_QT_SINK_C_H */

View File

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_GR_FOSPHOR_QGLSURFACE_H
#define INCLUDED_GR_FOSPHOR_QGLSURFACE_H
#pragma once
#include <QGLWidget>
@ -57,5 +56,3 @@ namespace gr {
} // namespace fosphor
} // namespace gr
#endif /* INCLUDED_GR_FOSPHOR_QGLSURFACE_H */

View File

@ -18,9 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_GR_FOSPHOR_BASE_SINK_C_IMPL_H
#define INCLUDED_GR_FOSPHOR_BASE_SINK_C_IMPL_H
#pragma once
#include <stdint.h>
@ -141,6 +139,3 @@ namespace gr {
} // namespace fosphor
} // namespace gr
#endif /* INCLUDED_GR_FOSPHOR_BASE_SINK_C_IMPL_H */

View File

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_GR_FOSPHOR_FIFO_H
#define INCLUDED_GR_FOSPHOR_FIFO_H
#pragma once
#include <gnuradio/fosphor/api.h>
@ -59,5 +58,3 @@ namespace gr {
} // namespace fosphor
} // namespace gr
#endif /* INCLUDED_GR_FOSPHOR_FIFO_H */

View File

@ -18,9 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_GR_FOSPHOR_GLFW_SINK_C_IMPL_H
#define INCLUDED_GR_FOSPHOR_GLFW_SINK_C_IMPL_H
#pragma once
#include <gnuradio/fosphor/glfw_sink_c.h>
@ -64,6 +62,3 @@ namespace gr {
} // namespace fosphor
} // namespace gr
#endif /* INCLUDED_GR_FOSPHOR_GLFW_SINK_C_IMPL_H */

View File

@ -18,9 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_GR_FOSPHOR_QT_SINK_C_IMPL_H
#define INCLUDED_GR_FOSPHOR_QT_SINK_C_IMPL_H
#pragma once
#include <gnuradio/fosphor/qt_sink_c.h>
@ -65,6 +63,3 @@ namespace gr {
} // namespace fosphor
} // namespace gr
#endif /* INCLUDED_GR_FOSPHOR_QT_SINK_C_IMPL_H */