File: bittest.h

package info (click to toggle)
dahdi-tools 1%3A2.11.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,404 kB
  • ctags: 6,281
  • sloc: ansic: 54,472; sh: 13,747; perl: 4,025; makefile: 568; xml: 26
file content (17 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * See http://www.asterisk.org for more information about
 * the Asterisk project. Please do not directly contact
 * any of the maintainers of this project for assistance;
 * the project provides a web site, mailing lists and IRC
 * channels for your use.
 *
 * This program is free software, distributed under the terms of
 * the GNU General Public License Version 2 as published by the
 * Free Software Foundation. See the LICENSE file included with
 * this program for more details.
 */

static int bit_next(int prev)
{
	return (prev + 1) % 256;
}