Use __printf__ in gcc function attributes to avoid clash with libc wrapper

define, and remove the last bits of the old workaround.
This commit is contained in:
Kristian Høgsberg 2004-12-02 21:58:58 +00:00
commit 30a4202f3d
2 changed files with 1 additions and 11 deletions

View file

@ -226,11 +226,6 @@ void xf86ProcessActionEvent(ActionEvent action, void *arg);
/* xf86Helper.c */
#ifdef printf
#define printf_defined
#undef printf
#endif
void xf86AddDriver(DriverPtr driver, pointer module, int flags);
void xf86DeleteDriver(int drvIndex);
ScrnInfoPtr xf86AllocateScreen(DriverPtr drv, int flags);