diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-11-04 16:40:49 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-11-04 16:40:49 +0000 |
commit | d265ee1dbebb904c51c0a7f519b1bfca40e47e9d (patch) | |
tree | 0c186143f223930457de3f2ad59a6f84ba0fb957 /include/dahdi/kernel.h | |
parent | afcff233045372ea585a86eb805a0c76d3afbcfe (diff) |
dahdi: Constify the dahdi_txlevelnames and return of dahdi_lboname().
Also moves the dahdi_txlevelnames array into the dahdi_lboname function,
which is the only place it it used.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9468 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include/dahdi/kernel.h')
-rw-r--r-- | include/dahdi/kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index e784b34..9a21c63 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -1060,7 +1060,7 @@ int dahdi_transcoder_alert(struct dahdi_transcoder_channel *ztc); int dahdi_unregister(struct dahdi_span *span); /*! \brief Gives a name to an LBO */ -char *dahdi_lboname(int lbo); +const char *dahdi_lboname(int lbo); /*! \brief Tell DAHDI about changes in received rbs bits */ void dahdi_rbsbits(struct dahdi_chan *chan, int bits); |