[MERGED] osmo-msc[master]: ussd.h: cosmetic: use '#pragma once' 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
Mon Apr 9 18:57:34 UTC 2018


Vadim Yanitskiy has submitted this change and it was merged.

Change subject: ussd.h: cosmetic: use '#pragma once' include guard
......................................................................


ussd.h: cosmetic: use '#pragma once' include guard

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

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/msc/ussd.h b/include/osmocom/msc/ussd.h
index 84a3d6a..bc4227b 100644
--- a/include/osmocom/msc/ussd.h
+++ b/include/osmocom/msc/ussd.h
@@ -1,8 +1,5 @@
-#ifndef _USSD_H
-#define _USSD_H
+#pragma once
 
 #include <osmocom/core/msgb.h>
 
 int handle_rcv_ussd(struct gsm_subscriber_connection *conn, struct msgb *msg);
-
-#endif

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0e78aa946b8e6bc7c31534751b2ee5c867bfd490
Gerrit-PatchSet: 3
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: Vadim Yanitskiy <axilirator at gmail.com>



More information about the gerrit-log mailing list