include: Use #pragma once instead of old style guards

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2021-01-08 11:34:15 +01:00
parent f56d917c83
commit 96dd2541e0
3 changed files with 3 additions and 16 deletions

View File

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

View File

@ -18,9 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_IQBALANCE_FIX_CC_H
#define INCLUDED_IQBALANCE_FIX_CC_H
#pragma once
#include <gnuradio/iqbalance/api.h>
#include <gnuradio/sync_block.h>
@ -57,6 +55,3 @@ namespace gr {
} // namespace iqbalance
} // namespace gr
#endif /* INCLUDED_IQBALANCE_FIX_CC_H */

View File

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