[PATCH] osmo-bsc[master]: bsc/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
Wed Jan 10 12:26:13 UTC 2018


Review at  https://gerrit.osmocom.org/5731

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

This is a common include guard way for Osmocom projects.

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


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/31/5731/1

diff --git a/include/osmocom/bsc/gsm_04_80.h b/include/osmocom/bsc/gsm_04_80.h
index d65f640..dd699f2 100644
--- a/include/osmocom/bsc/gsm_04_80.h
+++ b/include/osmocom/bsc/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>
@@ -21,5 +20,3 @@
 int bsc_send_ussd_notify(struct gsm_subscriber_connection *conn, int level,
 			 const char *text);
 int bsc_send_ussd_release_complete(struct gsm_subscriber_connection *conn);
-
-#endif

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee73e24a2438b6081a5d569db7d48725b564ee3a
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>



More information about the gerrit-log mailing list