summaryrefslogtreecommitdiff
path: root/src/libXNVCtrlAttributes/NvCtrlAttributesPrivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libXNVCtrlAttributes/NvCtrlAttributesPrivate.h')
-rw-r--r--src/libXNVCtrlAttributes/NvCtrlAttributesPrivate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libXNVCtrlAttributes/NvCtrlAttributesPrivate.h b/src/libXNVCtrlAttributes/NvCtrlAttributesPrivate.h
index 538f6b2..3e9df16 100644
--- a/src/libXNVCtrlAttributes/NvCtrlAttributesPrivate.h
+++ b/src/libXNVCtrlAttributes/NvCtrlAttributesPrivate.h
@@ -268,7 +268,7 @@ NvCtrlNvControlGetStringAttribute (NvCtrlAttributePrivateHandle *,
ReturnStatus
NvCtrlNvControlSetStringAttribute (NvCtrlAttributePrivateHandle *,
- unsigned int, int, char *, int *);
+ unsigned int, int, const char *, int *);
ReturnStatus
NvCtrlNvControlGetBinaryAttribute(NvCtrlAttributePrivateHandle *h,
@@ -278,7 +278,7 @@ NvCtrlNvControlGetBinaryAttribute(NvCtrlAttributePrivateHandle *h,
ReturnStatus
NvCtrlNvControlStringOperation (NvCtrlAttributePrivateHandle *h,
unsigned int display_mask, int attr,
- char *ptrIn, char **ptrOut);
+ const char *ptrIn, char **ptrOut);
/* helper functions for XV86VidMode and RandR backends */