summaryrefslogtreecommitdiff
blob: 031cb83e05a5c25d3fabc90b1d2d35d19c1e68b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
diff -ur capi4k-utils.orig/capi20/capi20.h capi4k-utils/capi20/capi20.h
--- capi4k-utils.orig/capi20/capi20.h	2007-11-11 14:43:34.000000000 +0100
+++ capi4k-utils/capi20/capi20.h	2007-11-11 14:43:49.000000000 +0100
@@ -62,9 +62,9 @@
 int capi20ext_clr_flags(unsigned ApplID, unsigned flags);
 
 char *capi20ext_get_tty_devname(unsigned applid, unsigned ncci,
-				char *buf, size_t size);
+				char *buf, unsigned int size);
 char *capi20ext_get_raw_devname(unsigned applid, unsigned ncci,
-				char *buf, size_t size);
+				char *buf, unsigned int size);
 
 int capi20ext_ncci_opencount(unsigned applid, unsigned ncci);
 
diff -ur capi4k-utils.orig/capifax/id.h capi4k-utils/capifax/id.h
--- capi4k-utils.orig/capifax/id.h	2007-11-11 14:43:34.000000000 +0100
+++ capi4k-utils/capifax/id.h	2007-11-11 14:44:07.000000000 +0100
@@ -44,12 +44,12 @@
 
 typedef struct {
 	_cbyte length;
-	_cword rate        __attribute__ ((packed));
-	_cword resolution  __attribute__ ((packed));
-	_cword format      __attribute__ ((packed));
-	_cword pages       __attribute__ ((packed));
-	_cbyte idlen       __attribute__ ((packed));
-	_cbyte id[50]      __attribute__ ((packed));
+	_cword rate;
+	_cword resolution;
+	_cword format;
+	_cword pages;
+	_cbyte idlen;
+	_cbyte id[50];
 } faxNCPI_t;
 
 extern const char *ConnectionStateString[7];