mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-29 23:10:16 +01:00
"privates.h", line 198: warning: void function cannot return value
Providing an argument to return in a function with void return type
is not allowed by the C standard, and makes the Sun compilers unhappy.
(They actually flag it as an error, unless using a new enough version
to be able to downgrade it to a warning with "-features=extensions".)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
(cherry picked from commit bc04065b5c)
This commit is contained in:
parent
5752cc4736
commit
6a16c4c268
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ dixGetScreenPrivate(PrivatePtr *privates, const DevScreenPrivateKey key, ScreenP
|
|||
static inline void
|
||||
dixSetScreenPrivate(PrivatePtr *privates, const DevScreenPrivateKey key, ScreenPtr pScreen, pointer val)
|
||||
{
|
||||
return dixSetPrivate(privates, _dixGetScreenPrivateKey(key, pScreen), val);
|
||||
dixSetPrivate(privates, _dixGetScreenPrivateKey(key, pScreen), val);
|
||||
}
|
||||
|
||||
static inline pointer
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue