summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>1999-01-23 00:43:53 +0000
committerespie <espie@openbsd.org>1999-01-23 00:43:53 +0000
commit1bd0326bfd0f614bf11e413eaebf6521c9711156 (patch)
tree0c4adde2cfd6b04d880c7c49341822c4228cf931
parentreplace #pragma pack -> attribute((packed)) (diff)
downloadwireguard-openbsd-1bd0326bfd0f614bf11e413eaebf6521c9711156.tar.xz
wireguard-openbsd-1bd0326bfd0f614bf11e413eaebf6521c9711156.zip
Kill svr4 #pragma pack.
-rw-r--r--sys/compat/ibcs2/ibcs2_timeb.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/compat/ibcs2/ibcs2_timeb.h b/sys/compat/ibcs2/ibcs2_timeb.h
index 6c39650a668..4f4b388a6a4 100644
--- a/sys/compat/ibcs2/ibcs2_timeb.h
+++ b/sys/compat/ibcs2/ibcs2_timeb.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ibcs2_timeb.h,v 1.3 1996/08/02 20:35:16 niklas Exp $ */
+/* $OpenBSD: ibcs2_timeb.h,v 1.4 1999/01/23 00:43:53 espie Exp $ */
/* $NetBSD: ibcs2_timeb.h,v 1.2 1996/05/03 17:05:34 christos Exp $ */
/*
@@ -34,14 +34,12 @@
#ifndef _IBCS2_TIMEB_H
#define _IBCS2_TIMEB_H
-#pragma pack(2)
struct xenix_timeb {
ibcs2_time_t time;
unsigned short millitm;
short timezone;
short dstflag;
-};
-#pragma pack()
+} __attribute((packed));
#define xenix_timeb_len 10 /* packed struct */