summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wctdm.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@digium.com>2008-08-03 15:42:46 +0000
committerRussell Bryant <russell@digium.com>2008-08-03 15:42:46 +0000
commit99bb77154edc3511ce751829fcc948de59793dc4 (patch)
tree295a3ecde4aed3fb7e28470efa4ec8c9f1e85187 /drivers/dahdi/wctdm.c
parent210e1ee25783d7be083220b0690bd37c4a7a99c0 (diff)
Rework the table of signalling bits for signalling types and hook states
in dahdi_rbs_sethook() to a much more readable and less error prone format. In passing, get rid of the dahdi_txsig_t typedef, and fix uses of it throughout the tree. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4679 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm.c')
-rw-r--r--drivers/dahdi/wctdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/wctdm.c b/drivers/dahdi/wctdm.c
index b575b98..ad2cbb1 100644
--- a/drivers/dahdi/wctdm.c
+++ b/drivers/dahdi/wctdm.c
@@ -1945,7 +1945,7 @@ static int wctdm_close(struct dahdi_chan *chan)
return 0;
}
-static int wctdm_hooksig(struct dahdi_chan *chan, dahdi_txsig_t txsig)
+static int wctdm_hooksig(struct dahdi_chan *chan, enum dahdi_txsig txsig)
{
struct wctdm *wc = chan->pvt;
int reg=0;