Change in libosmo-netif[master]: Cosmetic: 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/.

Max gerrit-no-reply at lists.osmocom.org
Thu Jan 31 22:26:38 UTC 2019


Max has submitted this change and it was merged. ( https://gerrit.osmocom.org/12766 )

Change subject: Cosmetic: use #pragma once as include guard
......................................................................

Cosmetic: use #pragma once as include guard

Change-Id: I2c1a13252730294597a7a9fb5726aae928f41bfd
---
M include/osmocom/netif/stream.h
1 file changed, 1 insertion(+), 4 deletions(-)

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

Objections:
  osmith: I would prefer this is not merged as is



diff --git a/include/osmocom/netif/stream.h b/include/osmocom/netif/stream.h
index 529d4d7..969d42f 100644
--- a/include/osmocom/netif/stream.h
+++ b/include/osmocom/netif/stream.h
@@ -1,5 +1,4 @@
-#ifndef _OSMO_STREAM_H_
-#define _OSMO_STREAM_H_
+#pragma once
 
 #include <stdbool.h>
 #include <stdint.h>
@@ -77,5 +76,3 @@
 int osmo_stream_cli_recv(struct osmo_stream_cli *conn, struct msgb *msg);
 
 /*! @} */
-
-#endif

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

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I2c1a13252730294597a7a9fb5726aae928f41bfd
Gerrit-Change-Number: 12766
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
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>
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190131/311e36d6/attachment.htm>


More information about the gerrit-log mailing list