diff -Naur cuda.orig/include/cudaGL.h cuda/include/cudaGL.h --- cuda.orig/include/cudaGL.h 2010-03-21 13:19:57.000000000 +0100 +++ cuda/include/cudaGL.h 2010-03-21 13:46:29.000000000 +0100 @@ -59,7 +59,7 @@ typedef enum CUGLmap_flags_enum { CU_GL_MAP_RESOURCE_FLAGS_NONE = 0x00, CU_GL_MAP_RESOURCE_FLAGS_READ_ONLY = 0x01, - CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 0x02, + CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 0x02 } CUGLmap_flags; CUresult CUDAAPI cuGLInit(void); diff -Naur cuda.orig/include/cuda_gl_interop.h cuda/include/cuda_gl_interop.h --- cuda.orig/include/cuda_gl_interop.h 2010-03-21 13:19:57.000000000 +0100 +++ cuda/include/cuda_gl_interop.h 2010-03-21 13:28:07.000000000 +0100 @@ -82,7 +82,7 @@ { cudaGLMapFlagsNone = 0, ///< Default; Assume resource can be read/written cudaGLMapFlagsReadOnly = 1, ///< CUDA kernels will not write to this resource - cudaGLMapFlagsWriteDiscard = 2, ///< CUDA kernels will only write to and will not read from this resource + cudaGLMapFlagsWriteDiscard = 2 ///< CUDA kernels will only write to and will not read from this resource }; extern __host__ cudaError_t CUDARTAPI cudaGLRegisterBufferObject(GLuint bufObj); diff -Naur cuda.orig/include/driver_types.h cuda/include/driver_types.h --- cuda.orig/include/driver_types.h 2010-03-21 13:19:57.000000000 +0100 +++ cuda/include/driver_types.h 2010-03-21 13:26:09.000000000 +0100 @@ -244,7 +244,7 @@ /*DEVICE_BUILTIN*/ enum cudaGraphicsRegisterFlags { - cudaGraphicsRegisterFlagsNone = 0, ///< Default + cudaGraphicsRegisterFlagsNone = 0 ///< Default }; /** @@ -255,7 +255,7 @@ { cudaGraphicsMapFlagsNone = 0, ///< Default; Assume resource can be read/written cudaGraphicsMapFlagsReadOnly = 1, ///< CUDA will not write to this resource - cudaGraphicsMapFlagsWriteDiscard = 2, ///< CUDA will only write to and will not read from this resource + cudaGraphicsMapFlagsWriteDiscard = 2 ///< CUDA will only write to and will not read from this resource }; /** @@ -268,7 +268,7 @@ cudaGraphicsCubeFacePositiveY = 0x02, ///< Positive Y face of cubemap cudaGraphicsCubeFaceNegativeY = 0x03, ///< Negative Y face of cubemap cudaGraphicsCubeFacePositiveZ = 0x04, ///< Positive Z face of cubemap - cudaGraphicsCubeFaceNegativeZ = 0x05, ///< Negative Z face of cubemap + cudaGraphicsCubeFaceNegativeZ = 0x05 ///< Negative Z face of cubemap }; /**