diff options
author | Russell Bryant <russell@digium.com> | 2008-08-03 15:42:46 +0000 |
---|---|---|
committer | Russell Bryant <russell@digium.com> | 2008-08-03 15:42:46 +0000 |
commit | 99bb77154edc3511ce751829fcc948de59793dc4 (patch) | |
tree | 295a3ecde4aed3fb7e28470efa4ec8c9f1e85187 /drivers/dahdi/xpp/card_fxo.c | |
parent | 210e1ee25783d7be083220b0690bd37c4a7a99c0 (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/xpp/card_fxo.c')
-rw-r--r-- | drivers/dahdi/xpp/card_fxo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/xpp/card_fxo.c b/drivers/dahdi/xpp/card_fxo.c index 4d9dec5..b7c8154 100644 --- a/drivers/dahdi/xpp/card_fxo.c +++ b/drivers/dahdi/xpp/card_fxo.c @@ -541,7 +541,7 @@ static int FXO_card_dahdi_postregistration(xpd_t *xpd, bool on) return 0; } -static int FXO_card_hooksig(xbus_t *xbus, xpd_t *xpd, int pos, dahdi_txsig_t txsig) +static int FXO_card_hooksig(xbus_t *xbus, xpd_t *xpd, int pos, enum dahdi_txsig txsig) { struct FXO_priv_data *priv; int ret = 0; |