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:
Enrico Weigelt, metux IT consult 2024-02-19 13:40:50 +01:00 committed by Marge Bot
parent a91a862332
commit fdf483d862

View File

@ -304,7 +304,7 @@ LockServer(void);
extern _X_EXPORT void
UnlockServer(void);
extern _X_EXPORT int
extern _X_EXPORT Bool
OsLookupColor(int /*screen */ ,
char * /*name */ ,
unsigned /*len */ ,