From d73c757e6daff089ebbe0af8f4fcaf4a50ec2d6c Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 19 Aug 2012 00:31:35 +0200 Subject: 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. --- examples/channel/abis_ipa_client.c | 2 +- examples/channel/abis_ipa_server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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); -- cgit v1.2.3