aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_spppsubr.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-09-23 06:25:08 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-09-23 06:25:08 +0000
commitebc82cbbf01c9c5686e288b279faf53750347b81 (patch)
treec64473ad2e9302c65a81387cb678dd7c17089662 /sys/net/if_spppsubr.c
parente30c8e45bce0b2eaff40521478d4c25a18209173 (diff)
downloadsrc-ebc82cbbf01c9c5686e288b279faf53750347b81.tar.gz
src-ebc82cbbf01c9c5686e288b279faf53750347b81.zip
s/__attribute__((__packed__))/__packed/g
Notes
Notes: svn path=/head/; revision=103842
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r--sys/net/if_spppsubr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 5a9184b5b782..3709f71289b0 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -212,14 +212,14 @@ struct ppp_header {
u_char address;
u_char control;
u_short protocol;
-} __attribute__((__packed__));
+} __packed;
#define PPP_HEADER_LEN sizeof (struct ppp_header)
struct lcp_header {
u_char type;
u_char ident;
u_short len;
-} __attribute__((__packed__));
+} __packed;
#define LCP_HEADER_LEN sizeof (struct lcp_header)
struct cisco_packet {
@@ -229,7 +229,7 @@ struct cisco_packet {
u_short rel;
u_short time0;
u_short time1;
-} __attribute__((__packed__));
+} __packed;
#define CISCO_PACKET_LEN sizeof (struct cisco_packet)
/*