summaryrefslogtreecommitdiff
path: root/bittest.h
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2002-09-24 19:52:31 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2002-09-24 19:52:31 +0000
commit992cd7bbd4e06be143921ce0293e0ac12acd431a (patch)
tree402fe34d42e96c662ae00e423212c4cc3cfa4f6d /bittest.h
parentcf8509d0cdc292704a9cd9a2673f420672333022 (diff)
Version 0.3.1 from FTP
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@108 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'bittest.h')
-rwxr-xr-xbittest.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bittest.h b/bittest.h
new file mode 100755
index 0000000..ade8b1e
--- /dev/null
+++ b/bittest.h
@@ -0,0 +1,4 @@
+static int bit_next(int prev)
+{
+ return (prev + 1) % 256;
+}