aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2012-08-19 00:31:35 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-08-19 00:49:58 +0200
commitd73c757e6daff089ebbe0af8f4fcaf4a50ec2d6c (patch)
tree0112ea46d15e17720aad6bfb7686ec6c5efa3c59 /examples
parentc05485c90c17e4fafbf71867e223a6e148c2ca43 (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 'examples')
-rw-r--r--examples/channel/abis_ipa_client.c2
-rw-r--r--examples/channel/abis_ipa_server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/channel/abis_ipa_client.c b/examples/channel/abis_ipa_client.c
index 2ddc434..f289a63 100644
--- a/examples/channel/abis_ipa_client.c
+++ b/examples/channel/abis_ipa_client.c
@@ -58,7 +58,7 @@ int main(void)
osmo_chan_init();
/* create channel. */
- chan = osmo_chan_create(tall_example, CHAN_ABIS_IPA_CLI);
+ chan = osmo_chan_create(tall_example, OSMO_CHAN_ABIS_IPA_CLI);
if (chan == NULL) {
LOGP(DEXAMPLE, LOGL_ERROR, "Cannot create A-bis IPA client\n");
exit(EXIT_FAILURE);
diff --git a/examples/channel/abis_ipa_server.c b/examples/channel/abis_ipa_server.c
index 1a9d2ed..7acbc56 100644
--- a/examples/channel/abis_ipa_server.c
+++ b/examples/channel/abis_ipa_server.c
@@ -55,7 +55,7 @@ int main(void)
osmo_chan_init();
/* create channel. */
- chan = osmo_chan_create(tall_example, CHAN_ABIS_IPA_SRV);
+ chan = osmo_chan_create(tall_example, OSMO_CHAN_ABIS_IPA_SRV);
if (chan == NULL) {
LOGP(DEXAMPLE, LOGL_ERROR, "Cannot create A-bis IPA server\n");
exit(EXIT_FAILURE);