summaryrefslogtreecommitdiff
path: root/bittest.h
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-07-29 22:05:03 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-07-29 22:05:03 +0000
commiteaf2adbe3147264be464b844996e98a370db48e6 (patch)
treeaef8e155a87bc4dc00a9c724f1f158038e484f7f /bittest.h
parented5de40105bc87f5efe7c9c83db10c9f265e7acd (diff)
build against the new dahdi/user.h (which is now typedef-free!)
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4629 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'bittest.h')
-rw-r--r--bittest.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bittest.h b/bittest.h
new file mode 100644
index 0000000..ade8b1e
--- /dev/null
+++ b/bittest.h
@@ -0,0 +1,4 @@
+static int bit_next(int prev)
+{
+ return (prev + 1) % 256;
+}