OSDN Git Service

[GCC4] fix warnings in sdla_x25.c and sdla_x25.h
authorWilly Tarreau <w@1wt.eu>
Sun, 13 Aug 2006 13:18:33 +0000 (15:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 13 Aug 2006 15:19:29 +0000 (17:19 +0200)
commit3b45b03a9c17874d9514ad66a0cd9a7b4a8cc609
tree81648d0f237469444ffc7a0b1a16ba531008b7ed
parenta92da3af751202d9e01d809a6a197a0a62362948
[GCC4] fix warnings in sdla_x25.c and sdla_x25.h

Removes most of these warnings with gcc 4 :

In file included from sdla_x25.c:107:
/usr/src/git/linux-2.4/include/linux/sdla_x25.h:59: warning: 'packed' attribute ignored for field of type 'unsigned char'
/usr/src/git/linux-2.4/include/linux/sdla_x25.h:61: warning: 'packed' attribute ignored for field of type 'unsigned char'
(...)
/usr/src/git/linux-2.4/include/linux/sdla_chdlc.h:65: warning: 'packed' attribute ignored for field of type 'unsigned char'
/usr/src/git/linux-2.4/include/linux/sdla_chdlc.h:67: warning: 'packed' attribute ignored for field of type 'unsigned char'
(...)
sdla_x25.c:321: warning: 'packed' attribute ignored for field of type 'char[15u]'
sdla_x25.c:322: warning: 'packed' attribute ignored for field of type 'char[15u]'
(...)
drivers/net/wan/sdla_x25.c
include/linux/sdla_chdlc.h
include/linux/sdla_x25.h