summaryrefslogtreecommitdiff
path: root/ext/-test-/dir
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-30 09:01:36 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-30 09:10:58 +0900
commit12fbdf4d4e52bafaeef6f923b8f357a39a37c02b (patch)
tree1eca222c11629f2959bebad903ebc4311eeee107 /ext/-test-/dir
parentac8647bec12d5d3c0bc4b6a79d09a6a85d6628f1 (diff)
Fix conflicting declaration on SolarisHEADmaster
SunC ``` "cont.c", line 24: identifier redeclared: madvise current : function(pointer to char, unsigned int, int) returning int previous: function(pointer to void, unsigned int, int) returning int : "/usr/include/sys/mman.h", line 232 ``` GCC ``` cont.c:24:12: error: conflicting types for 'madvise' 24 | extern int madvise(caddr_t, size_t, int); | ^~~~~~~ In file included from cont.c:16: /usr/include/sys/mman.h:232:12: note: previous declaration of 'madvise' was here 232 | extern int madvise(void *, size_t, int); | ^~~~~~~ ```
Diffstat (limited to 'ext/-test-/dir')
0 files changed, 0 insertions, 0 deletions