[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd/fatfs ChangeLog fat.h
From: |
Marcus Brinkmann |
Subject: |
hurd/fatfs ChangeLog fat.h |
Date: |
Sat, 09 Aug 2003 12:40:17 -0400 |
CVSROOT: /cvsroot/hurd
Module name: hurd
Branch:
Changes by: Marcus Brinkmann <address@hidden> 03/08/09 12:40:17
Modified files:
fatfs : ChangeLog fat.h
Log message:
2003-08-09 Marcus Brinkmann <address@hidden>
* fat.h: Include <byteswap.h>.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/fatfs/ChangeLog.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/fatfs/fat.h.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: hurd/fatfs/ChangeLog
diff -u hurd/fatfs/ChangeLog:1.10 hurd/fatfs/ChangeLog:1.11
--- hurd/fatfs/ChangeLog:1.10 Sat Aug 9 12:37:58 2003
+++ hurd/fatfs/ChangeLog Sat Aug 9 12:40:17 2003
@@ -1,7 +1,7 @@
2003-08-09 Marcus Brinkmann <address@hidden>
- * fat.h (read_dword) [BYTE_ORDER == BIG_ENDIAN]: Use bswap_32 to
- swap bytes.
+ * fat.h: Include <byteswap.h>.
+ (read_dword) [BYTE_ORDER == BIG_ENDIAN]: Use bswap_32 to swap bytes.
(write_dword) [BYTE_ORDER == BIG_ENDIAN]: Likewise.
(read_word) [BYTE_ORDER == BIG_ENDIAN]: Use bswap_16 to swap bytes.
(write_word) [BYTE_ORDER == BIG_ENDIAN]: Likewise.
Index: hurd/fatfs/fat.h
diff -u hurd/fatfs/fat.h:1.2 hurd/fatfs/fat.h:1.3
--- hurd/fatfs/fat.h:1.2 Sat Aug 9 12:37:58 2003
+++ hurd/fatfs/fat.h Sat Aug 9 12:40:17 2003
@@ -346,6 +346,7 @@
/* Numeric conversions for these fields. */
#include <endian.h>
+#include <byteswap.h>
static inline unsigned int
read_dword (unsigned char *addr)