Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libisns remove useless packed attributes



details:   https://anonhg.NetBSD.org/src/rev/775e4ccef71a
branches:  trunk
changeset: 845611:775e4ccef71a
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Oct 08 19:38:38 2019 +0000

description:
remove useless packed attributes

diffstat:

 lib/libisns/isns_pdu.h |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r b59934d1fbd3 -r 775e4ccef71a lib/libisns/isns_pdu.h
--- a/lib/libisns/isns_pdu.h    Tue Oct 08 19:38:27 2019 +0000
+++ b/lib/libisns/isns_pdu.h    Tue Oct 08 19:38:38 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isns_pdu.h,v 1.3 2011/11/28 12:44:18 joerg Exp $       */
+/*     $NetBSD: isns_pdu.h,v 1.4 2019/10/08 19:38:38 christos Exp $    */
 
 /*-
  * Copyright (c) 2004,2009 The NetBSD Foundation, Inc.
@@ -171,12 +171,12 @@
 };
 
 struct isns_pdu_hdr_s {
-       uint16_t isnsp_version  __packed;
-       uint16_t func_id        __packed;
-       uint16_t payload_len    __packed;
-       uint16_t flags          __packed;
-       uint16_t trans_id       __packed;
-       uint16_t seq_id         __packed;
+       uint16_t isnsp_version;
+       uint16_t func_id;
+       uint16_t payload_len;
+       uint16_t flags;
+       uint16_t trans_id;
+       uint16_t seq_id;
 };
 
 struct isns_pdu_s {



Home | Main Index | Thread Index | Old Index