Change in osmo-gbproxy[master]: gb_proxy.h: Use pragma once instead of ifndef

laforge gerrit-no-reply at lists.osmocom.org
Wed Mar 10 12:11:59 UTC 2021


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

Change subject: gb_proxy.h: Use pragma once instead of ifndef
......................................................................

gb_proxy.h: Use pragma once instead of ifndef

Change-Id: I7eb3b1cbd78c25112abf7d526a2aa42bd952c7c9
---
M include/osmocom/sgsn/gb_proxy.h
1 file changed, 1 insertion(+), 5 deletions(-)

Approvals:
  laforge: Looks good to me, approved; Verified
  osmith: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved



diff --git a/include/osmocom/sgsn/gb_proxy.h b/include/osmocom/sgsn/gb_proxy.h
index 2a800e5..d6bf340 100644
--- a/include/osmocom/sgsn/gb_proxy.h
+++ b/include/osmocom/sgsn/gb_proxy.h
@@ -1,6 +1,4 @@
-#ifndef _GB_PROXY_H
-#define _GB_PROXY_H
-
+#pragma once
 
 #include <osmocom/core/msgb.h>
 #include <osmocom/core/timer.h>
@@ -308,5 +306,3 @@
 struct gbproxy_sgsn *gbproxy_sgsn_by_nri(struct gbproxy_config *cfg, uint16_t nri, bool *null_nri);
 struct gbproxy_sgsn *gbproxy_sgsn_by_tlli(struct gbproxy_config *cfg, struct gbproxy_sgsn *sgsn_avoid,
 					  uint32_t tlli);
-
-#endif

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

Gerrit-Project: osmo-gbproxy
Gerrit-Branch: master
Gerrit-Change-Id: I7eb3b1cbd78c25112abf7d526a2aa42bd952c7c9
Gerrit-Change-Number: 23307
Gerrit-PatchSet: 3
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
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/20210310/a10a5ca8/attachment.htm>


More information about the gerrit-log mailing list