fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmo-gprs/+/29181 )


Change subject: csn1: add CSN_DESCR_EXTERN for extern declarations
......................................................................

csn1: add CSN_DESCR_EXTERN for extern declarations

Change-Id: Ieb721c97c8e9acee5057bb04be73f27b2871687b
---
M include/osmocom/csn1/csn1.h
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-gprs refs/changes/81/29181/1

diff --git a/include/osmocom/csn1/csn1.h b/include/osmocom/csn1/csn1.h
index 0f58895..5e9ee7e 100644
--- a/include/osmocom/csn1/csn1.h
+++ b/include/osmocom/csn1/csn1.h
@@ -225,6 +225,9 @@
 #define CSN_DESCR_END(_STRUCT) \
        {CSN_END, 0, {0}, 0, FALSE, "", 0, NULL} };

+#define CSN_DESCR_EXTERN(_STRUCT) \
+       extern const CSN_DESCR CSNDESCR_##_STRUCT[];
+
 /******************************************************************************
  * CSN_ERROR(Par1, Par2, Par3)
  * May be called at any time when an abort of packing or unpacking of a message

--
To view, visit https://gerrit.osmocom.org/c/libosmo-gprs/+/29181
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-gprs
Gerrit-Branch: master
Gerrit-Change-Id: Ieb721c97c8e9acee5057bb04be73f27b2871687b
Gerrit-Change-Number: 29181
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-MessageType: newchange

Reply via email to