From 3378dd86b91df555680c3a4cb61fdacb2c563221 Mon Sep 17 00:00:00 2001 From: rocky Date: Sun, 18 Jan 2004 02:11:14 +0000 Subject: [PATCH] Move tm struct around so the alignment will be on a word boundary. Do we need GNUC_PACKED here? --- include/cdio/iso9660.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/cdio/iso9660.h b/include/cdio/iso9660.h index 343d202e..f4cc72a4 100644 --- a/include/cdio/iso9660.h +++ b/include/cdio/iso9660.h @@ -1,5 +1,5 @@ /* - $Id: iso9660.h,v 1.36 2004/01/10 03:21:50 rocky Exp $ + $Id: iso9660.h,v 1.37 2004/01/18 02:11:14 rocky Exp $ Copyright (C) 2000 Herbert Valerio Riedel Copyright (C) 2003, 2004 Rocky Bernstein @@ -240,12 +240,12 @@ struct iso9660_dir { @see iso9660_dir */ struct iso9660_stat { /* big endian!! */ - enum { _STAT_FILE = 1, _STAT_DIR = 2 } type; + struct tm tm; /**< time on entry */ lsn_t lsn; /**< start logical sector number */ uint32_t size; /**< total size in bytes */ uint32_t secsize; /**< number of sectors allocated */ iso9660_xa_t xa; /**< XA attributes */ - struct tm tm; /**< time on entry */ + enum { _STAT_FILE = 1, _STAT_DIR = 2 } type; char filename[EMPTY_ARRAY_SIZE]; /**< filename */ } GNUC_PACKED;