summaryrefslogtreecommitdiff
path: root/libfat
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-20 04:57:44 +0000
committerhpa <hpa>2004-12-20 04:57:44 +0000
commitd2139276051478c77d6b866fe2217fe9f479826b (patch)
tree44ca1a5b85b9addf1adc80e8759f25ff6e2d6344 /libfat
parent44d32d4cd477a5595debb69bc7154923ac530433 (diff)
downloadsyslinux-d2139276051478c77d6b866fe2217fe9f479826b.tar.gz
More fixes to the extlinux installer; change back to writable types
for ulint.h because of stupid constipational warnings.
Diffstat (limited to 'libfat')
-rw-r--r--libfat/ulint.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libfat/ulint.h b/libfat/ulint.h
index c4cf5b4f..82a46acb 100644
--- a/libfat/ulint.h
+++ b/libfat/ulint.h
@@ -47,7 +47,7 @@ write8(le8_t *_p, uint8_t _v)
/* Littleendian architectures which support unaligned memory accesses */
static inline unsigned short
-read16(const le16_t *_p)
+read16(le16_t *_p)
{
return *((const uint16_t *)_p);
}
@@ -59,7 +59,7 @@ write16(le16_t *_p, unsigned short _v)
}
static inline unsigned int
-read32(const le32_t *_p)
+read32(le32_t *_p)
{
return *((const uint32_t *)_p);
}
@@ -75,7 +75,7 @@ write32(le32_t *_p, uint32_t _v)
/* Generic, mostly portable versions */
static inline unsigned short
-read16(const le16_t *_p)
+read16(le16_t *_p)
{
uint16_t _v;
@@ -92,7 +92,7 @@ write16(le16_t *_p, uint16_t _v)
}
static inline unsigned int
-read32(const le32_t *_p)
+read32(le32_t *_p)
{
_v = _p[0];
_v |= _p[1] << 8;