summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-01-23 00:43:54 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-01-23 00:43:54 +0000
commit3e07e736c65db821f0124e9accdacb76810600b4 (patch)
treecf266d6007883489f665f295bbbba031051b3308
parent6a47c9481b07e6688e4a67f60ddc71dabdce4495 (diff)
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 */