summaryrefslogtreecommitdiff
path: root/pattest.c
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 /pattest.c
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 'pattest.c')
-rw-r--r--pattest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pattest.c b/pattest.c
index f41f75f..ccd4007 100644
--- a/pattest.c
+++ b/pattest.c
@@ -28,7 +28,7 @@ int main(int argc, char *argv[])
{
int fd;
int res, x;
- DAHDI_PARAMS tp;
+ struct dahdi_params tp;
int bs = BLOCK_SIZE;
unsigned char c=0;
unsigned char outbuf[BLOCK_SIZE];
@@ -58,7 +58,7 @@ int main(int argc, char *argv[])
res = read(fd, outbuf, res);
if (res < bs) {
int e;
- DAHDI_SPANINFO zi;
+ struct dahdi_spaninfo zi;
res = ioctl(fd,DAHDI_GETEVENT,&e);
if (res == -1)
{