mark functions that LTO breaks on musl

This commit is contained in:
Thomas Batten 2021-01-22 22:48:17 +10:30
parent 85e8af0e0d
commit 0644c074e4
4 changed files with 6 additions and 6 deletions

View File

@ -328,6 +328,6 @@ void ProcessInputEvents(void);
void InitInput( void InitInput(
int /*argc*/, int /*argc*/,
char ** /*argv*/); char ** /*argv*/) XFONT_LTO;
#endif /* INPUT_H */ #endif /* INPUT_H */

View File

@ -231,7 +231,7 @@ void OsCleanup(Bool);
void OsVendorFatalError(void); void OsVendorFatalError(void);
void OsVendorInit(void); void OsVendorInit(void) XFONT_LTO;
void OsBlockSignals (void); void OsBlockSignals (void);
@ -320,9 +320,9 @@ XID GenerateAuthorization(
char ** /* data_return */); char ** /* data_return */);
int ddxProcessArgument(int /*argc*/, char * /*argv*/ [], int /*i*/); XFONT_LTO int ddxProcessArgument(int /*argc*/, char * /*argv*/ [], int /*i*/);
void ddxUseMsg(void); void ddxUseMsg(void) XFONT_LTO;
/* int ReqLen(xReq *req, ClientPtr client) /* int ReqLen(xReq *req, ClientPtr client)
* Given a pointer to a *complete* request, return its length in bytes. * Given a pointer to a *complete* request, return its length in bytes.

View File

@ -527,6 +527,6 @@ extern ScreenInfo screenInfo;
void InitOutput( void InitOutput(
ScreenInfo * /*pScreenInfo*/, ScreenInfo * /*pScreenInfo*/,
int /*argc*/, int /*argc*/,
char ** /*argv*/); char ** /*argv*/) XFONT_LTO;
#endif /* SCREENINTSTRUCT_H */ #endif /* SCREENINTSTRUCT_H */

View File

@ -414,6 +414,6 @@ KdShadowSet(ScreenPtr pScreen, int randr, ShadowUpdateProc update,
void KdShadowUnset(ScreenPtr pScreen); void KdShadowUnset(ScreenPtr pScreen);
/* function prototypes to be implemented by the drivers */ /* function prototypes to be implemented by the drivers */
void InitCard(char *name); void InitCard(char *name) XFONT_LTO;
#endif /* _KDRIVE_H_ */ #endif /* _KDRIVE_H_ */