diff options
author | Shaun Ruffell <sruffell@digium.com> | 2011-06-29 15:32:40 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2011-06-29 15:32:40 +0000 |
commit | 6b759f52c94ea437d2d63384c28a7d67e3f5e334 (patch) | |
tree | dd82bb5e2d560d592f325c316e1aed99e653af13 /include/dahdi/kernel.h | |
parent | 608d6c66bc79ab57d2acf067ec7ed5d40b7d7749 (diff) |
Revert "dahdi: Use enumeration for maintenance modes."
This reverts commit r9879. Asterisk commit r264249 [1], which was committed
after the switch to enumerations, requires the maintenance modes to be
Changing the test in configure.ac from:
AST_C_DEFINE_CHECK([DAHDI], [DAHDI_RESET_COUNTERS], [dahdi/user.h], [230])
to:
AST_C_COMPILE_CHECK([DAHDI], [int foo = DAHDI_RESET_COUNTERS], [dahdi/user.h])
Would allow the maintenance modes to stand as enumerations but the potential
for users to run incompatible versions does not seem worth it at this point.
[1] http://svnview.digium.com/svn/asterisk?view=revision&revision=264249
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10000 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 772a4fe..61484b3 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -906,7 +906,7 @@ struct dahdi_span { int syncsrc; /*!< current sync src (gets copied here) */ struct dahdi_count count; /*!< Performance and Error counters */ - enum dahdi_maint_mode maintstat; /*!< Maintenance state */ + int maintstat; /*!< Maintenance state */ int mainttimer; /*!< Maintenance timer */ int irqmisses; /*!< Interrupt misses */ |