[MERGED] osmo-msc[master]: msc/gsm_04_80.h: use '#pragma once' instead of includes

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
Fri Jan 12 13:31:33 UTC 2018


Vadim Yanitskiy has submitted this change and it was merged.

Change subject: msc/gsm_04_80.h: use '#pragma once' instead of includes
......................................................................


msc/gsm_04_80.h: use '#pragma once' instead of includes

This is a common include guard way for Osmocom projects.

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

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



diff --git a/include/osmocom/msc/gsm_04_80.h b/include/osmocom/msc/gsm_04_80.h
index 52d2f4a..7da45a0 100644
--- a/include/osmocom/msc/gsm_04_80.h
+++ b/include/osmocom/msc/gsm_04_80.h
@@ -1,5 +1,4 @@
-#ifndef _GSM_04_80_H
-#define _GSM_04_80_H
+#pragma once
 
 #include <osmocom/core/msgb.h>
 #include <osmocom/gsm/protocol/gsm_04_80.h>
@@ -17,5 +16,3 @@
 int msc_send_ussd_notify(struct gsm_subscriber_connection *conn, int level,
 			 const char *text);
 int msc_send_ussd_release_complete(struct gsm_subscriber_connection *conn);
-
-#endif

-- 
To view, visit https://gerrit.osmocom.org/5733
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5a12a742719d4deba0b9dfa8bb330c1986a727f6
Gerrit-PatchSet: 2
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>



More information about the gerrit-log mailing list