From 5af1177f773fd511a87c147149af933b58d62db2 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 13 Aug 2006 11:43:05 +0200 Subject: [GCC4] fix warnings in drivers/isdn/hisax/hisax.h This patch fixes these warnings with gcc 4 : hisax.h:403: warning: 'packed' attribute ignored for field of type 'u_char' hisax.h:404: warning: 'packed' attribute ignored for field of type 'u_char' hisax.h:405: warning: 'packed' attribute ignored for field of type 'u_char' hisax.h:406: warning: 'packed' attribute ignored for field of type 'u_char' --- drivers/isdn/hisax/hisax.h | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/isdn/hisax/hisax.h b/drivers/isdn/hisax/hisax.h index a2432ca..1b57b71 100644 --- a/drivers/isdn/hisax/hisax.h +++ b/drivers/isdn/hisax/hisax.h @@ -395,15 +395,15 @@ struct isar_hw { struct hdlc_stat_reg { #ifdef __BIG_ENDIAN - u_char fill __attribute__((packed)); - u_char mode __attribute__((packed)); - u_char xml __attribute__((packed)); - u_char cmd __attribute__((packed)); + u_char fill; + u_char mode; + u_char xml; + u_char cmd; #else - u_char cmd __attribute__((packed)); - u_char xml __attribute__((packed)); - u_char mode __attribute__((packed)); - u_char fill __attribute__((packed)); + u_char cmd; + u_char xml; + u_char mode; + u_char fill; #endif }; -- 1.4.2