Change in osmo-msc[master]: transaction.h: use #pragma once as include guard

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

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Thu Feb 14 22:43:52 UTC 2019


Vadim Yanitskiy has submitted this change and it was merged. ( https://gerrit.osmocom.org/12903 )

Change subject: transaction.h: use #pragma once as include guard
......................................................................

transaction.h: use #pragma once as include guard

Change-Id: I52787120d5ec59897329d28eab28e0fda3d0f44f
---
M include/osmocom/msc/transaction.h
1 file changed, 1 insertion(+), 4 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Max: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved



diff --git a/include/osmocom/msc/transaction.h b/include/osmocom/msc/transaction.h
index 5e8d637..39b09ae 100644
--- a/include/osmocom/msc/transaction.h
+++ b/include/osmocom/msc/transaction.h
@@ -1,5 +1,4 @@
-#ifndef _TRANSACT_H
-#define _TRANSACT_H
+#pragma once
 
 #include <osmocom/msc/gsm_data.h>
 #include <osmocom/msc/gsm_subscriber.h>
@@ -117,5 +116,3 @@
 			  uint8_t protocol);
 struct gsm_trans *trans_has_conn(const struct ran_conn *conn);
 void trans_conn_closed(const struct ran_conn *conn);
-
-#endif

-- 
To view, visit https://gerrit.osmocom.org/12903
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I52787120d5ec59897329d28eab28e0fda3d0f44f
Gerrit-Change-Number: 12903
Gerrit-PatchSet: 4
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190214/f1664c7d/attachment.htm>


More information about the gerrit-log mailing list