include: os: fix return value of OsLookupColor()
The actual implementation uses Bool, but forward declaration is int. For the compiler it's practically the same, but for the programmer these have different semantics. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1313>
This commit is contained in:
parent
a91a862332
commit
fdf483d862
|
@ -304,7 +304,7 @@ LockServer(void);
|
||||||
extern _X_EXPORT void
|
extern _X_EXPORT void
|
||||||
UnlockServer(void);
|
UnlockServer(void);
|
||||||
|
|
||||||
extern _X_EXPORT int
|
extern _X_EXPORT Bool
|
||||||
OsLookupColor(int /*screen */ ,
|
OsLookupColor(int /*screen */ ,
|
||||||
char * /*name */ ,
|
char * /*name */ ,
|
||||||
unsigned /*len */ ,
|
unsigned /*len */ ,
|
||||||
|
|
Loading…
Reference in New Issue