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

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/.

daniel gerrit-no-reply at lists.osmocom.org
Wed Mar 10 09:57:30 UTC 2021


daniel has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gbproxy refs/changes/07/23307/1

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: 1
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210310/3771510e/attachment.htm>


More information about the gerrit-log mailing list