xpp: style - no more typedef byte

Signed-off-by: Oron Peled <oron.peled@xorcom.com>
Acked-By: Tzafrir Cohen <tzafrir.cohen@xorcom.com>

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10433 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
Oron Peled 2012-01-12 17:11:46 +00:00 committed by Tzafrir Cohen
parent bb5b3a6de4
commit f9fb9622ec
2 changed files with 4 additions and 5 deletions

View File

@ -102,7 +102,6 @@ struct list_head {
#define CHAN_BITS 5 /* 0-31 for E1 */
typedef char *charp;
typedef unsigned char byte;
#ifdef __KERNEL__
/* Kernel versions... */
@ -171,8 +170,8 @@ typedef struct xpd xpd_t;
typedef struct xframe xframe_t;
typedef struct xpacket xpacket_t;
typedef __u32 xpp_line_t; /* at most 31 lines for E1 */
typedef byte lineno_t;
typedef byte xportno_t;
typedef __u8 lineno_t;
typedef __u8 xportno_t;
#define PORT_BROADCAST 255

View File

@ -81,7 +81,7 @@ struct xpacket_header {
#define XPD_TYPE_ECHO 5 // Octasic echo canceller
#define XPD_TYPE_NOMODULE 7
typedef byte xpd_type_t;
typedef __u8 xpd_type_t;
#define XPD_TYPE_PREFIX "xpd-type-"
@ -168,7 +168,7 @@ bool valid_xpd_addr(const struct xpd_addr *addr);
#define MULTIBYTE_MAX_LEN 5 /* FPGA firmware limitation */
typedef struct reg_cmd {
byte bytes:3; /* Length (for Multibyte) */
__u8 bytes:3; /* Length (for Multibyte) */
__u8 eoframe:1; /* For BRI -- end of frame */
__u8 portnum:3; /* For port specific registers */
__u8 is_multibyte:1;