projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96e0aca
)
apparently gnu caddr_t is supposed to be char *, not unsigned long
author
Rich Felker
<dalias@aerifal.cx>
Wed, 1 Feb 2012 19:12:19 +0000
(14:12 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 1 Feb 2012 19:12:19 +0000
(14:12 -0500)
this type should never be used anyway, but some old junk uses it..
include/sys/types.h
patch
|
blob
|
history
diff --git
a/include/sys/types.h
b/include/sys/types.h
index 72b4c5c12edf2b5980b6333903958b4c2bf88a7e..18433f86dedeadc92f952a63dee241ec0a629711 100644
(file)
--- 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;