summaryrefslogtreecommitdiff
path: root/randr/randrstr.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@guitar.keithp.com>2006-09-20 12:05:52 -0700
committerKeith Packard <keithp@guitar.keithp.com>2006-09-20 12:05:52 -0700
commitd08718d8fd31477e90f13b9e122504c515b46ee0 (patch)
tree2c65df397d32909eebd8ddedc7196cbce3f37852 /randr/randrstr.h
parentef1f3248cb5fff0a02c0059f865c4d931eba23a6 (diff)
Avoid calling xalloc(0). Change rrScreenSizeSet to rrScreenSetSize.
Diffstat (limited to 'randr/randrstr.h')
-rw-r--r--randr/randrstr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h
index 26c180697..80272623c 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -174,7 +174,7 @@ typedef struct _rrScrPriv {
#endif
RRGetInfoProcPtr rrGetInfo;
#if RANDR_12_INTERFACE
- RRScreenSetSizeProcPtr rrScreenSizeSet;
+ RRScreenSetSizeProcPtr rrScreenSetSize;
RRCrtcSetProcPtr rrCrtcSet;
RRCrtcSetGammaProcPtr rrCrtcSetGamma;
#endif
@@ -521,7 +521,7 @@ RRClientKnowsRates (ClientPtr pClient);
RRModePtr
RRModeGet (ScreenPtr pScreen,
xRRModeInfo *modeInfo,
- char *name);
+ const char *name);
/*
* Destroy a mode.
@@ -555,7 +555,7 @@ ProcRRDeleteOutputMode (ClientPtr client);
RROutputPtr
RROutputCreate (ScreenPtr pScreen,
- char *name,
+ const char *name,
int nameLength,
void *devPrivate);