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 15:21:45 UTC 2019


Max has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/66/12766/1

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: newchange
Gerrit-Change-Id: I2c1a13252730294597a7a9fb5726aae928f41bfd
Gerrit-Change-Number: 12766
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190131/49ed27cf/attachment.htm>


More information about the gerrit-log mailing list