Change in osmo-bts[master]: scheduler.h: cosmetic: use #pragma once

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue May 18 19:00:55 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/24238 )

Change subject: scheduler.h: cosmetic: use #pragma once
......................................................................

scheduler.h: cosmetic: use #pragma once

Change-Id: I551ce74f8cec8ec8d80768ec6c0559a203a8143c
---
M include/osmo-bts/scheduler.h
1 file changed, 1 insertion(+), 4 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Hoernchen: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/include/osmo-bts/scheduler.h b/include/osmo-bts/scheduler.h
index 10359f1..4b1731a 100644
--- a/include/osmo-bts/scheduler.h
+++ b/include/osmo-bts/scheduler.h
@@ -1,5 +1,4 @@
-#ifndef TRX_SCHEDULER_H
-#define TRX_SCHEDULER_H
+#pragma once
 
 #include <osmocom/core/utils.h>
 #include <osmocom/core/rate_ctr.h>
@@ -312,5 +311,3 @@
 void trx_sched_meas_avg(const struct l1sched_chan_state *chan_state,
 			struct l1sched_meas_set *avg,
 			enum sched_meas_avg_mode mode);
-
-#endif /* TRX_SCHEDULER_H */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/24238
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I551ce74f8cec8ec8d80768ec6c0559a203a8143c
Gerrit-Change-Number: 24238
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210518/8b160262/attachment.htm>


More information about the gerrit-log mailing list