Skip to content

Commit 5f491b5

Browse files
committed
all: fix pragma once position
In some files, "pragma once" was called after the includes and not before as required.
1 parent e70e6da commit 5f491b5

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

include/srsran/ran/prach/prach_configuration.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
*
99
*/
1010

11+
#pragma once
12+
1113
#include "srsran/adt/static_vector.h"
1214
#include "srsran/ran/duplex_mode.h"
1315
#include "srsran/ran/frequency_range.h"
1416
#include "srsran/ran/prach/prach_format_type.h"
1517
#include "srsran/ran/slot_point.h"
1618
#include <cstdint>
1719

18-
#pragma once
19-
2020
namespace srsran {
2121

2222
/// Indicates the number of SSBs per RACH occasion (L1 parameter 'SSB-per-rach-occasion'). See TS 38.331, \c

include/srsran/ran/pucch/pucch_mapping.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
*
99
*/
1010

11-
#include <cstdint>
12-
1311
#pragma once
1412

13+
#include <cstdint>
14+
1515
namespace srsran {
1616

1717
/// \brief Configuration of group and sequence hopping as described in TS38.331 PUCCH-ConfigCommon IE.

lib/rlc/rlc_am_interconnect.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
*
99
*/
1010

11-
#include "rlc_am_pdu.h"
12-
1311
#pragma once
1412

13+
#include "rlc_am_pdu.h"
14+
1515
namespace srsran {
1616

1717
/// Provides access to status functions of the RLC RX AM entity.

tests/unittests/sdap/sdap_test.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
*
99
*/
1010

11+
#pragma once
12+
1113
#include "lib/sdap/sdap_entity_impl.h"
1214
#include "srsran/sdap/sdap.h"
1315
#include <gtest/gtest.h>
1416
#include <queue>
1517

16-
#pragma once
17-
1818
namespace srsran {
1919

2020
namespace srs_cu_up {

0 commit comments

Comments
 (0)