diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2012-07-20 00:59:20 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-07-25 09:27:11 -0700 |
commit | 83df169538bddcf3a61e2c5e02a4f3e10af93b60 (patch) | |
tree | e6b432e454a53d7f655f4f70375ce17afcb36b62 /include/screenint.h | |
parent | 77de2994774e7be24a0bad521180628feb1027c6 (diff) |
dix: don't use "new" as a parameter name
"new" is a reserved word in C++.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include/screenint.h')
-rw-r--r-- | include/screenint.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/screenint.h b/include/screenint.h index e36b4d8d4..e61cd33ed 100644 --- a/include/screenint.h +++ b/include/screenint.h @@ -72,18 +72,18 @@ extern _X_EXPORT int AddGPUScreen(Bool (*pfnInit) (ScreenPtr /*pScreen */ , extern _X_EXPORT void RemoveGPUScreen(ScreenPtr pScreen); extern _X_EXPORT void -AttachUnboundGPU(ScreenPtr pScreen, ScreenPtr new); +AttachUnboundGPU(ScreenPtr pScreen, ScreenPtr newScreen); extern _X_EXPORT void DetachUnboundGPU(ScreenPtr unbound); extern _X_EXPORT void -AttachOutputGPU(ScreenPtr pScreen, ScreenPtr new); +AttachOutputGPU(ScreenPtr pScreen, ScreenPtr newScreen); extern _X_EXPORT void DetachOutputGPU(ScreenPtr output); extern _X_EXPORT void -AttachOffloadGPU(ScreenPtr pScreen, ScreenPtr new); +AttachOffloadGPU(ScreenPtr pScreen, ScreenPtr newScreen); extern _X_EXPORT void DetachOffloadGPU(ScreenPtr slave); |