summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-11-04 16:40:49 +0000
committerShaun Ruffell <sruffell@digium.com>2010-11-04 16:40:49 +0000
commit2def674c9f3245826f1abfb274a78bcebad9d8a6 (patch)
tree0c186143f223930457de3f2ad59a6f84ba0fb957 /include
parent399e633479874906beef12c3d1fe46086a890e00 (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')
-rw-r--r--include/dahdi/kernel.h2
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);