summaryrefslogtreecommitdiff
path: root/patgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'patgen.c')
-rw-r--r--patgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/patgen.c b/patgen.c
index d0ab61c..570a2b8 100644
--- a/patgen.c
+++ b/patgen.c
@@ -29,7 +29,7 @@ int main(int argc, char *argv[])
{
int fd;
int res, res1, x;
- DAHDI_PARAMS tp;
+ struct dahdi_params tp;
int bs = BLOCK_SIZE;
unsigned char c=0;
unsigned char outbuf[BLOCK_SIZE];
@@ -65,7 +65,7 @@ int main(int argc, char *argv[])
res1 = write(fd, outbuf, res);
if (res1 < res) {
int e;
- DAHDI_SPANINFO zi;
+ struct dahdi_spaninfo zi;
res = ioctl(fd,DAHDI_GETEVENT,&e);
if (res == -1)
{