diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-08-19 00:31:35 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-19 00:49:58 +0200 |
commit | d73c757e6daff089ebbe0af8f4fcaf4a50ec2d6c (patch) | |
tree | 0112ea46d15e17720aad6bfb7686ec6c5efa3c59 /include/osmocom/netif | |
parent | c05485c90c17e4fafbf71867e223a6e148c2ca43 (diff) |
channel: rename CHAN_* to OSMO_CHAN_* for correct namespace policy
Just to avoid unlikely possible problems while using this library
with any other that decided to define the CHAN_* constants.
Diffstat (limited to 'include/osmocom/netif')
-rw-r--r-- | include/osmocom/netif/channel.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/osmocom/netif/channel.h b/include/osmocom/netif/channel.h index baeb2c8..6afbed8 100644 --- a/include/osmocom/netif/channel.h +++ b/include/osmocom/netif/channel.h @@ -3,11 +3,12 @@ #include <stdint.h> +/* channel types */ enum { - CHAN_NONE, - CHAN_ABIS_IPA_SRV, - CHAN_ABIS_IPA_CLI, - CHAN_MAX, + OSMO_CHAN_NONE, + OSMO_CHAN_ABIS_IPA_SRV, + OSMO_CHAN_ABIS_IPA_CLI, + OSMO_CHAN_MAX, }; struct osmo_chan; |