]> granicus.if.org Git - postgresql/commit
Declare AnonymousShmem pointer as "void *".
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Jun 2012 21:19:46 +0000 (17:19 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Jun 2012 21:19:46 +0000 (17:19 -0400)
commit81e82643837de93909e0c5a8e14e805f3f69f41e
tree91e556248a0038eea5ad94c7f7a93560249efb10
parent541ffa65c32b278da8ab2d19433fa6d37bd15c8d
Declare AnonymousShmem pointer as "void *".

The original coding had it as "PGShmemHeader *", but that doesn't offer any
notational benefit because we don't dereference it.  And it was resulting
in compiler warnings on some platforms, notably buildfarm member
castoroides, where mmap() and munmap() are evidently declared to take and
return "char *".
src/backend/port/sysv_shmem.c