cudaPointerGetAttributes api conflicts with standard cuda_runtime_api.h has "const"

OS: Snowleopard
Cuda: version 4.1

In cuda_runtime_api.h:
extern host cudaError_t CUDARTAPI cudaPointerGetAttributes(struct cudaPointerAttributes *attributes, const void *ptr);

but on website:

cudaError_t cudaPointerGetAttributes ( struct cudaPointerAttributes * attributes,
void * ptr

Openmpi 1.5.5 is using the website api, thus giving a conflict at compilation. Please revise the file, or the api standard.

Why is there a const in the file, but not in the declared API?