summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-02-01 14:12:19 -0500
committerRich Felker <dalias@aerifal.cx>2012-02-01 14:12:19 -0500
commit147f355cb698fc90a07e48048275831de73d0fc4 (patch)
treee72f1e09118f9b31e7b71bdbe3f441081a8c448f /include
parent96e0aca4d544cb646c4f96e23397793995f92ab9 (diff)
downloadmusl-147f355cb698fc90a07e48048275831de73d0fc4.tar.gz
apparently gnu caddr_t is supposed to be char *, not unsigned long
this type should never be used anyway, but some old junk uses it..
Diffstat (limited to 'include')
-rw-r--r--include/sys/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/types.h b/include/sys/types.h
index 72b4c5c1..18433f86 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -59,7 +59,7 @@ typedef __uint32_t u_int32_t;
typedef __uint64_t u_int64_t;
#ifdef _GNU_SOURCE
-typedef unsigned long caddr_t;
+typedef char *caddr_t;
typedef unsigned char u_char;
typedef unsigned short u_short, ushort;
typedef unsigned u_int, uint;